Re: OT: JavaScript question

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38716
interpreted = N
texte = >I have this script which I got off some scripts site. It is a pop-up menu >that automatically takes you to the URL specified in the option tag of the >menu. I want to make a change to this code so that I can use it for MULTIPLE >pop-up menu's on the same page. At this point, to get it to work the select >must be named 'site'. How do I change this to have that part of the script >be passed from the pop-up so that it is a more 'generic' function?Don't use a function. Just use this in your popup menu:onChange=location.href=this.options[this.selectedIndex].value; -- ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. OT: JavaScript Question (well... Using WebCat with it too) (Charles Kline 2001)
  2. Re: OT: JavaScript question (Charles Kline 2001)
  3. Re: OT: JavaScript question (Christer Olsson 2001)
  4. OT: JavaScript question (Charles Kline 2001)
  5. Re: OT: JavaScript question (Sam Lewis 2001)
  6. Re: OT: JavaScript question (Charles Kline 2001)
  7. Re: OT: JavaScript question (Charles Kline 2001)
  8. Re: OT: JavaScript question (Sam Lewis 2001)
  9. Re: OT: JavaScript question (Charles Kline 2001)
  10. Re: OT: JavaScript question (Clint Davis 2001)
  11. Re: OT: JavaScript question (Charles Kline 2001)
  12. Re: OT: JavaScript question (Sam Lewis 2001)
  13. OT: JavaScript question (Charles Kline 2001)
>I have this script which I got off some scripts site. It is a pop-up menu >that automatically takes you to the URL specified in the option tag of the >menu. I want to make a change to this code so that I can use it for MULTIPLE >pop-up menu's on the same page. At this point, to get it to work the select >must be named 'site'. How do I change this to have that part of the script >be passed from the pop-up so that it is a more 'generic' function?Don't use a function. Just use this in your popup menu:onChange=location.href=this.options[this.selectedIndex].value; -- ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Christer Olsson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2 Append problem (B14Macacgi) (1997) [WebDNA] How to test email validity? (2011) [WebDNA] fastcgi 7+ & [cart]? (2010) 2.0 Beta (1997) Summing fields (1997) WebCat & Liststar (1997) The beginning (1997) Forms Search Questions (1997) SiteEdit Pro Update Announcement (1997) Looking for 5 to 12 shops with 3 URLs & statements (1997) Hiccup ***** (1998) WebCatalog can't find database (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) RE: Sorting error (1997) Download URL & access on the fly ? (1997) [WebDNA] IIS 7.5 (2015) Multiple catalog databases and showcart (1997) [username] [password] Not shown! HELP! (1999) Secure server question (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997)