If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
jumpmenu  XML
Forum Index » Support Forum
Author Message
Anonymous



where can I find the source for the jump menu(drop down). in the body template it just shows that it is loaded but I want to edit the source. thanx
Jam'n
Graduate
[Avatar]

Joined: 07/01/2003 17:31:39
Messages: 166
Location: Netherlands
Offline

If you mean from the guestbook, I think it was in

lib/gb.class.php and somewhere between line 60 and 120

Jam'n


------------------------------------------------

Only the man who's truly educated
understands that he knows very little...

------------------------------------------------
[WWW]
Anonymous



How do you know which text to edit? I see the jump menu code, but it's hard to distinguish where to put the url info to make it go back to my homepage.....instead of "remain".

Thanks for any help.
Anonymous



I guess how I should have asked that question is -

I would like to add jump points (URLs) into the jumpmenu.....
how would I go about doing this?

Thanks for any help.
Jam'n
Graduate
[Avatar]

Joined: 07/01/2003 17:31:39
Messages: 166
Location: Netherlands
Offline

Here is what you have to do:

1.) open /guestbook/lib/gb.class.php in your favorite ascii editor
and look for the Jumpmenu code. It starts around line 73



Replace http://www.mydomain.com/ with your homepage URL

2.) Now to add a javascript function to the guestbook header
go to your templates folder and find header.php and add this between the <head>Put below code somewhere between these</head> tags



It works, I have tried it. for the other links though, you will not be using the "Go" button, as it is an auto-jump select type

I don't use it on my site, because I don't need it.
---------------------------------------------------------
ps. The Java code is there for when you select Back To Home you don’t have to press the go button, it automaticly jumps.

Jam'n


------------------------------------------------

Only the man who's truly educated
understands that he knows very little...

------------------------------------------------
[WWW]
Anonymous



Thank you very much!

I will add this and try it out.
*crosses fingers*

Thanks again.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum