Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-22-2004, 08:09 PM
darthmonkey9206 darthmonkey9206 is offline
Junior Coders
 
Join Date: Oct 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Any link drop down menu problem

script: Any Link Drop Down Menu


I was having some problems with this, i was making a menu4 drop down and when i finished none of my drop downs came up i made sure everything was right and it still didnt work?

Last edited by darthmonkey9206; 10-22-2004 at 08:15 PM.
Reply With Quote
  #2  
Old 10-23-2004, 07:27 AM
cr3ative's Avatar
cr3ative cr3ative is offline
Elite Coders
 
Join Date: Aug 2004
Location: Brighton
Posts: 1,564
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please provide an online example or a lot more details

cr3ative
__________________
Mostly retired member, PM me if you have a specific query to make sure I recieve it :)
cr3ation | cr3ation hosting | cr3ation web design | read the stickies
Reply With Quote
  #3  
Old 10-23-2004, 04:24 PM
darthmonkey9206 darthmonkey9206 is offline
Junior Coders
 
Join Date: Oct 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, heres an example,


//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a><br>'
menu1[1]='<a href="http://www.freewarejava.com">Freewarejava.com</a><br>'
menu1[2]='<a href="http://codingforums.com">Coding Forums</a><br>'
menu1[3]='<a href="http://builder.com">Builder.com</a><br>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="http://cnn.com">CNN</a><br>'
menu2[1]='<a href="http://msnbc.com">MSNBC</a><br>'
menu2[2]='<a href="http://news.bbc.co.uk">BBC News</a><br>'


//Contents for menu 3, and so on
var menu3=new Array()
menu3[0]='<a href="http://cnn.com">CNN</a><br>'
menu3[1]='<a href="http://msnbc.com">MSNBC</a><br>'
menu3[2]='<a href="http://news.bbc.co.uk">BBC News</a><br>'


This one doesnt work

//Contents for menu 4, and so on
var menu4=new Array()
menu4[0]='<a href="http://cnn.com">CNN</a><br>'
menu4[1]='<a href="http://msnbc.com">MSNBC</a><br>'
menu4[2]='<a href="http://news.bbc.co.uk">BBC News</a><br>'

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


<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a> |


<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '150px')" onMouseout="delayhidemenu()">Web Design</a> |


<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '150px')" onMouseout="delayhidemenu()">Web Design</a> |



This doesnt work

<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu4, '150px')" onMouseout="delayhidemenu()">Web Design</a> |

----------------------------------------
When i do a fourth one it wont show up?
Reply With Quote
  #4  
Old 10-27-2004, 01:55 AM
darthmonkey9206 darthmonkey9206 is offline
Junior Coders
 
Join Date: Oct 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

bumpy
Reply With Quote
  #5  
Old 10-27-2004, 07:30 AM
cr3ative's Avatar
cr3ative cr3ative is offline
Elite Coders
 
Join Date: Aug 2004
Location: Brighton
Posts: 1,564
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Attach your HTML and any other required files so that I can run the script successfully.

cr3ative
__________________
Mostly retired member, PM me if you have a specific query to make sure I recieve it :)
cr3ation | cr3ation hosting | cr3ation web design | read the stickies
Reply With Quote
  #6  
Old 12-31-2004, 08:28 PM
darthmonkey9206 darthmonkey9206 is offline
Junior Coders
 
Join Date: Oct 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry for the long wait, could you possibly just tell me how to run it?

thanks
Reply With Quote
  #7  
Old 12-31-2004, 08:39 PM
cr3ative's Avatar
cr3ative cr3ative is offline
Elite Coders
 
Join Date: Aug 2004
Location: Brighton
Posts: 1,564
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The code you posted looks valid - I can't help further until you either link to the problematic page or post all your HTML with [code] [/code] tags.

cr3ative
__________________
Mostly retired member, PM me if you have a specific query to make sure I recieve it :)
cr3ation | cr3ation hosting | cr3ation web design | read the stickies
Reply With Quote
  #8  
Old 12-31-2004, 08:53 PM
darthmonkey9206 darthmonkey9206 is offline
Junior Coders
 
Join Date: Oct 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey, i actually went back and tried it again and it worked! Thanks for your time.
Reply With Quote
  #9  
Old 01-01-2005, 07:00 PM
dragot dragot is offline
Junior Coders
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Any Link drop down menu and IE 5.2.3 MAC

Hi folks,

The script seems to work fine in Windows and in Safari, however it doesn't work in IE 5.2.3 for the Mac. (OS X) It works the first time you activate the drop down. After that, when clicking or mousing over, it creates a huge blank block above the mouse over. Anybody have this issue??

Tom
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:06 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.