Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combining scripts on a page

Status
Not open for further replies.

Hrimthurs

Programmer
Jan 10, 2008
1
GB
Hi all,
I was wondering if anyone could help me with an issue I'm having when I use 2 scripts on 1 page.

On the page I'm using a script on the 'Tell me more' links to bring up a javascript window.

On the page I'm using a script on the drop-down options to call in a different image in the lower left(only the edwardian options have images at the moment)

However, when I try to use both scripts on 1 page, like I am shown all of the drop down options at once.

Basically what I'm asking is if anyone is able to help me to correct this problem with the drop-down menu's showing.

Thanks.
(ps. sorry about the links, it's my first post so I can't put in the http)
 
Add a display:none style to all the select elements that you don't want to initially show.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top