It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

ONLOAD and a simple menu

ONLOAD and a simple menu

Postby gyonis on Tue Sep 20, 2005 12:21 pm

Hi,

Can I have two ONLOAD functions on the body tags, I already have one for image preloading, and I want to add another for menu script, I tried adding to ONLOAD (ONLOAD="preloadImages()"; ONLOAD="menu()";), but non of them worked.
And does any body have a simple, easy to install menu script that does not conflict with the preloading script, I have and image buttons, I want when mouse over a menu will appear containing links, that simple.


Ghassan
gyonis
 
Posts: 11
Joined: Sun Sep 18, 2005 12:19 pm

Postby silentb on Tue Sep 20, 2005 2:39 pm

well you could just make a function that executes both functions and just put that one in. or i believe you can do this: onload="preloadImages();menu()".
silentb
 
Posts: 24
Joined: Wed Aug 18, 2004 2:52 pm

Postby gyonis on Tue Sep 20, 2005 2:46 pm

I did that, now the preloader work, but the menu script doesn't, and the page is all screwed up, the text alignment, the table width ..., you can see the code here:
http://www.digitalmedia-sol.com/jedco/
the menu should be on the about button
gyonis
 
Posts: 11
Joined: Sun Sep 18, 2005 12:19 pm

Postby gyonis on Tue Sep 20, 2005 3:18 pm

And this what happens if I only keep the menu script:

http://www.digitalmedia-sol.com/jedco/index2.html

Can somebody help me please, I've been searching and trying different menu script for three days and nothing works, keep in mind that I don't want a script that create menu from scratch, I already have an image buttons that I want a menu to appear when mouse over them.

If you can help please ASAP, the deadline only one day away.

Ghassan
gyonis
 
Posts: 11
Joined: Sun Sep 18, 2005 12:19 pm

Postby silentb on Tue Sep 20, 2005 3:24 pm

I'll take a look when I get back from lunch.
silentb
 
Posts: 24
Joined: Wed Aug 18, 2004 2:52 pm

Postby gyonis on Wed Sep 21, 2005 10:38 am

Can some one please point me to a good simple menu script. All the script I found searching do menus from scratch, including the titles not just the sub-titles, as you can see from the link, I have a vertical navigation bar made of images as button, what I need is simply, when a mouse is over an image (like the about button), a menu with the sub-titles appear. Thats all I need! :cry:

Ghassan
gyonis
 
Posts: 11
Joined: Sun Sep 18, 2005 12:19 pm


Who is online

Users browsing this forum: No registered users and 5 guests