PHP gevorderde |
|
Citaat: Ehm ... heb jij fire fox want daar werkt het wel hoor
jah idd maar in IE doet hij het niet.
Citaat: als je iets include moet je maar in 1 vd twee pagina's dat hele html gedoe zetten
en
Ja als je index.html include zet je gewoon in index.html geen <html>,<head> en <body> tags je begint direct met je code...
dat heb ik dus gedaan in http://www.zelda4ever.com/jor/vraag/index3.php
maar nu blijft het vaag dat het niet werkt in IE
weet iemand hier meer van?
edit1:
oke oke dit zijn de scripts en hoe ik ze heb ingevoegt.
index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel="StyleSheet" href="cssfile.css" type="text/css" />
<meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" />
<title>Zelda4ever.com</title>
</head>
<body>
<div id="container">
<div id="top">
<div class="advertentie">
</div>
</div>
<table class="main" cellspacing="0" cellpadding="0">
<tr>
<td class="helemaallinks">
</td>
<td class="ietsminderlinks">
</td>
<td class="midden">
</td>
<td class="ietsminderrechts">
</td>
<td class="helemaalrechts">
</td>
</tr>
</table>
<div id="footer">
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <link rel="StyleSheet" href="cssfile.css" type="text/css" /> <meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" /> <title>Zelda4ever.com</title> </head> <body> <div id="container"> <div id="top"> <div class="advertentie"> </div> </div> <table class="main" cellspacing="0" cellpadding="0"> <tr> <td class="helemaallinks"> </td> <td class="ietsminderlinks"> </td> <td class="midden"> </td> <td class="ietsminderrechts"> </td> <td class="helemaalrechts"> </td> </tr> </table> <div id="footer"> </div> </div> </body> </html>
index.html (waar de flash staat)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>www.zelda4ever.com</title>
<!-- FlashObject embed by Geoff Stearns geoff@choppingblock.com http://choppingblock.com/ -->
<script type="text/javascript" src="flashobject.js"></script>
<script type="text/javascript">
window.onload = function() {
if ((window.document.getElementById) && (window.document.getElementById('gallery').focus)) {
window.document.getElementById('gallery').focus();
}
}
</script>
<style type="text/css">
#flashcontent {
height: 100%;
}
</style>
</head>
<body>
<div id="flashcontent">
<script type="text/javascript">
// <![CDATA[
var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff");
myFlashObject.addParam("scale", "noscale");
myFlashObject.addVariable("request", getQueryParamValue("image"));
myFlashObject.addVariable("photosXmlFile", "photos.xml");
myFlashObject.addVariable("configXmlFile", "galleryconfig.xml");
myFlashObject.write();
// ]]>
</script>
<noscript>
You must enable Javascript to view this content.
</noscript>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>www.zelda4ever.com</title> <!-- FlashObject embed by Geoff Stearns geoff@choppingblock.com http://choppingblock.com/ --> <script type="text/javascript" src="flashobject.js"></script> <script type="text/javascript"> window.onload = function() { if ((window.document.getElementById) && (window.document.getElementById('gallery').focus)) { window.document.getElementById('gallery').focus(); } } </script> <style type="text/css"> #flashcontent { height: 100%; } </style> </head> <body> <div id="flashcontent"> <script type="text/javascript"> // <![CDATA[ var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff"); myFlashObject.addParam("scale", "noscale"); myFlashObject.addVariable("request", getQueryParamValue("image")); myFlashObject.addVariable("photosXmlFile", "photos.xml"); myFlashObject.addVariable("configXmlFile", "galleryconfig.xml"); myFlashObject.write(); // ]]> </script> <noscript> You must enable Javascript to view this content. </noscript> </div> </body> </html>
mijn samenvoeging:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel="StyleSheet" href="cssfile.css" type="text/css" />
<meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" />
<title>Zelda4ever.com</title>
<script type="text/javascript" src="flashobject.js"></script>
<script type="text/javascript">
window.onload = function() {
if ((window.document.getElementById) && (window.document.getElementById('gallery').focus)) {
window.document.getElementById('gallery').focus();
}
}
</script>
<style type="text/css">
#flashcontent {
height: 100%;
}
</style>
</head>
<body>
<div id="container">
<div id="top">
<div class="advertentie">
</div>
</div>
<table class="main" cellspacing="0" cellpadding="0">
<tr>
<td class="helemaallinks">
</td>
<td class="ietsminderlinks">
</td>
<td class="midden">
<div id="flashcontent">
<script type="text/javascript">
// <![CDATA[
var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff");
myFlashObject.addParam("scale", "noscale");
myFlashObject.addVariable("request", getQueryParamValue("image"));
myFlashObject.addVariable("photosXmlFile", "photos.xml");
myFlashObject.addVariable("configXmlFile", "galleryconfig.xml");
myFlashObject.write();
// ]]>
</script>
<noscript>
You must enable Javascript to view this content.
</noscript>
</div>
</td>
<td class="ietsminderrechts">
</td>
<td class="helemaalrechts">
</td>
</tr>
</table>
<div id="footer">
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <link rel="StyleSheet" href="cssfile.css" type="text/css" /> <meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" /> <title>Zelda4ever.com</title> <script type="text/javascript" src="flashobject.js"></script> <script type="text/javascript"> window.onload = function() { if ((window.document.getElementById) && (window.document.getElementById('gallery').focus)) { window.document.getElementById('gallery').focus(); } } </script> <style type="text/css"> #flashcontent { height: 100%; } </style> </head> <body> <div id="container"> <div id="top"> <div class="advertentie"> </div> </div> <table class="main" cellspacing="0" cellpadding="0"> <tr> <td class="helemaallinks"> </td> <td class="ietsminderlinks"> </td> <td class="midden"> <div id="flashcontent"> <script type="text/javascript"> // <![CDATA[ var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff"); myFlashObject.addParam("scale", "noscale"); myFlashObject.addVariable("request", getQueryParamValue("image")); myFlashObject.addVariable("photosXmlFile", "photos.xml"); myFlashObject.addVariable("configXmlFile", "galleryconfig.xml"); myFlashObject.write(); // ]]> </script> <noscript> You must enable Javascript to view this content. </noscript> </div> </td> <td class="ietsminderrechts"> </td> <td class="helemaalrechts"> </td> </tr> </table> <div id="footer"> </div> </div> </body> </html>
het resultaat is te zien op
http://www.zelda4ever.com/jor/vraag/index7.php
het doet het niet op IE en wel op FF
edit2:
ohw mense laat maar thx 4 ya help maar ik heb het *%(_#*%^@#*!^(*@_$^*(*^@$*(@^*()@_*)$&^_)^@_)(_)%^!@#( (geen vertaling mogelijk) probleem gevonde.
hier zat de fout
var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff");
var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff");
IE snapt natuurlijk weer niet de lengte van die gallery aan te nemen met zijn 100% dus heb ik waardes in px gegeven en nu doet hij het wel.
iedereen bedankt die de moeite heeft genomen mij te helpe.
edit: btw srry voor de spam maar dat was om het nog een beetje overzichtelijk te houwe XD
nemesiskoen edit: spam opgekuist:D |