editing header.txt with javascript problem
Posted: Thu Nov 26, 2009 7:39 pm
Script URL: http://www.alete.com.ar/guestbook/gbook.php
Version of script: 1.7
Hosting company: 000webhost.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: header
Write your message below: ok, thanks XD
Hi there everyone, i'm trying to add some code on the header but there is a .swf embedded that uses javascript, and is not working at all. actually don't see nothing on the header. May you help me?
The code I want to add: (I know i got to copy only from <head> to </head> but I show you all just in case.)(and know too that i got to change the reffers from relative to absolute)
<!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" lang="en" xml:lang="en">
<head>
<title>GalerĂa de Fotos</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/sw ... "></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "/galeria/gallery.xml";
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = "always";
params.bgcolor = "222222";
swfobject.embedSWF("/galeria/simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
</script>
<style type="text/css" media="screen">
html, body { height:100%; }
body {
margin:0;
padding:0;
overflow:auto;
background-color: #222;
color:#666;
font-family:sans-serif;
font-size:20px;
}
a {
color:#ff0000;
}
</style>
</head><body><div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://get.adobe.com/flashplayer/">Get Flash</a></div></body>
</html>
PS: I'm sorry for my bad english, I'm from Argentina.
Thanks!
Version of script: 1.7
Hosting company: 000webhost.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: header
Write your message below: ok, thanks XD
Hi there everyone, i'm trying to add some code on the header but there is a .swf embedded that uses javascript, and is not working at all. actually don't see nothing on the header. May you help me?
The code I want to add: (I know i got to copy only from <head> to </head> but I show you all just in case.)(and know too that i got to change the reffers from relative to absolute)
<!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" lang="en" xml:lang="en">
<head>
<title>GalerĂa de Fotos</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/sw ... "></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "/galeria/gallery.xml";
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = "always";
params.bgcolor = "222222";
swfobject.embedSWF("/galeria/simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
</script>
<style type="text/css" media="screen">
html, body { height:100%; }
body {
margin:0;
padding:0;
overflow:auto;
background-color: #222;
color:#666;
font-family:sans-serif;
font-size:20px;
}
a {
color:#ff0000;
}
</style>
</head><body><div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://get.adobe.com/flashplayer/">Get Flash</a></div></body>
</html>
PS: I'm sorry for my bad english, I'm from Argentina.
Thanks!