Log in

View Full Version : Jim's DHTML Menu V5.7



MEANXE
08-26-2005, 08:51 AM
Script: DD Tab Menu
http://www.dynamicdrive.com/dynamicindex1/jimmenu/index.htm

Hi, I was just wondering how I go about saving the menu to other pages.
I've managed to make extra menus which I wanted, but when i try save the example page (that works when I change the config.js file) to a new page it doesnt work. When I preview it it always says some sort of error.

Do I have to upload all files to my server to make it work, when I mean work, I mean preview it through frontpage ?

What am I doing wrong
Thanks :)

MEANXE
08-26-2005, 09:20 AM
I think Ive worked out part of the problem. I can save the menu as different pages as long as i dont copy it into sub folders on my directory.

Is there a way to fix this ? ( hope I havent confused anyone) :D

Twey
08-26-2005, 09:58 AM
Frontpage does unpleasant things to scripts.

MEANXE
08-26-2005, 10:19 AM
What would be the best thing to use then ?

MEANXE
08-26-2005, 01:47 PM
If anyone can help me out can u send me a private message as I'm still having trouble with it

I have a link here on how the page is http://www.myefl.org/example.htm

I want my menu to somehow go in the grey table up the top :D

I'm also still having trouble on how to to make the menu appear in new pages, I've added another test page but u cant see anything the link is http://www.myefl.org/afl/testing.htm not that you can see alot LOL it just says error?

I have tried using the tutorial pages but that hasnt helped me :mad:

help will be very appreciated :)

jscheuer1
08-26-2005, 04:42 PM
This is a complicated third party script and as such usually not thoroughly, if at all, supported in these forums. I suggest that you read the full documentation. Especially as regards using it in a table as found near the middle of config.htm where it talks about using the TargetLoc variable.

As to your other problem, try setting this:

//---- Set this variable only! ----
var buildDir = "includes/";
//---------------------------------at the top of browser.js to:

//---- Set this variable only! ----
var buildDir = "http://www.myefl.org/includes/";
//---------------------------------

MEANXE
08-28-2005, 12:21 AM
thanks heaps that worked, but I have a little problem the main menu isnt working right, the arrows on the page dont work ? http://www.myefl.org/example.htm

Thanks

jscheuer1
08-28-2005, 01:20 AM
In config.js, where you have:

"rollover:images/tri-down1.gif:images/tri-down2.gif"That's ok for files where the images are in that directory but, once you leave the root, it is no longer the case. This should work:

"rollover:/images/tri-down1.gif:/images/tri-down2.gif"If not, I have seen this work:

"rollover://www.myefl.org/images/tri-down1.gif://www.myefl.org/images/tri-down2.gif"Ideally, you would use the absolute path:

http://www.myefl.org/images/tri-down1.gif

but, that confuses the script.

MEANXE
08-28-2005, 02:29 AM
Thanks John, that worked :D

MEANXE
08-28-2005, 03:13 AM
I got it to work, but it doesnt work if i view it in microsoft frontpage, yet it does when i go to the actuall site, but thats ok.

Twey said earlier that microsoft frontpage does unpleasant things to scripts. Can I use something else ? I only use microsoft as its pretty easy to use.

jscheuer1
08-28-2005, 03:40 AM
Well, you might be able to configure FP so as to allow you to insert code like this without it mangling it so much. Read the manual or Google for help on that. Another alternative, and what I recommend in all cases like this, is to get your page looking like you want using FP but without any scripts. Save a copy of that somewhere to work on later if the need arises. Next open the page in notepad or simple text and add the scripts in according to the installation instructions, including any customization you've added. Never load this version of the page into FP ever again. To preview it locally, use the browser. To upload it, use FTP (preferred) or your host's online uploading tool.

MEANXE
08-28-2005, 07:20 AM
I think i will scrap the whole thing, its seems way too complicated :mad:

Everytime I fix one problem, another arises grrrrrr

Thanks anyway for all ya help John, greatfully appreciated.

I guess I will have to stick to basic stuff lol