Floating menu in the guestbook page

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
jonmac65nl
Posts: 7
Joined: Fri Nov 30, 2007 8:45 am

Floating menu in the guestbook page

Post 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 :roll: and would appreciate any help with this. retired in the Netherlands, John
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

I've just seen that you solved it by using an Iframe.

Greetings,
Henrie
Post Reply