Page 1 of 1
Floating menu in the guestbook page
Posted: Tue Apr 22, 2008 8:53 pm
by jonmac65nl
Script URL:
http://www.jonmac.nl
Version of script:1.6
Hosting company:one.com web hosting
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
My guestbook is working great but I decided to get rid of frames on my site and now have a floating menu from
http://www.milonic.com/ - ideally I would like to have this floating menu pop up on the guestbook page like the other pages of my site. I am at the bottom end of amature at Web Site building

and would appreciate any help with this. retired in the Netherlands, John
Posted: Tue Apr 22, 2008 11:25 pm
by Henrie
Hello John,
I think you will have to add the javascript code to your header.txt file
The next code is in your normal pages:
Code: Select all
<script style="font-family: Helvetica,Arial,sans-serif;" language="JavaScript" src="milonic_src.js" type="text/javascript"></script>
<script style="font-family: Helvetica,Arial,sans-serif;" language="JavaScript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>"); </script>
<script style="font-family: Helvetica,Arial,sans-serif;" language="JavaScript" src="menu_data.js" type="text/javascript"></script><br>
But you will have to change the paths because the gbook.php file is not in the root of your site. New code will look lik
Code: Select all
<script style="font-family: Helvetica,Arial,sans-serif;" language="JavaScript" src="../milonic_src.js" type="text/javascript"></script>
<script style="font-family: Helvetica,Arial,sans-serif;" language="JavaScript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=../mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=../mmenudom.js><\/scr"+"ipt>"); </script>
<script style="font-family: Helvetica,Arial,sans-serif;" language="JavaScript" src="../menu_data.js" type="text/javascript"></script><br>
Maybe you will also have to change menu_data.js
If in gbook page the links are broken you will have to change the paths to the files to absolute paths because gbook.php is not in the root directory.
For example:
Code: Select all
aI("text=What's New;url=/new.html");
aI("text=Guest Book;url=/GBook/gbook.php;");
changed to absolute paths is
Code: Select all
aI("text=What's New;url=http://www.jonmac.nl/new.html");
aI("text=Guest Book;url=http://www.jonmac.nl/GBook/gbook.php;");
Greetings,
Henrie
Posted: Wed Apr 30, 2008 12:27 am
by Henrie
I've just seen that you solved it by using an Iframe.
Greetings,
Henrie