Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Website coding
show user profile  zeefusion
Just wondering if anyone here can help.

I have some code which creates a drop down list from a line of text once clicked. In my coding the event calls for the java script when clicked. See below.

a href="javascript:changeOpenMenu('ul_three');"

Then once clicked a drop down list appears which has the option for links to other pages. My issue is that i would like the origional link to go to another page. So as well as doing a "a href" for the java script i would also like it to do a "a href" for another page.

How would i write the code so that it can work?


read 548 times
2/21/2009 5:16:47 PM (last edit: 2/21/2009 5:20:02 PM)
show user profile  Toen
I haven't tested this but I would try just making the normal line of text be a normal html link and attach a 'onmouseover' event to that link to cause the menu to appear.

Like this:

... <a href="someweblink" onMouseOver="changeOpenMenu('ul_three')" >adf asdf asdf asd </a>..
read 516 times
2/21/2009 8:49:30 PM (last edit: 2/21/2009 8:51:19 PM)
#Maxforums IRC
Open chat window