SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Threaded View

  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2000
    0 Post(s)
    0 Thread(s)

    Simple Java Script Help Please


    I'm using this bit of Javascript for a jump menu:

    onChange="top.window.location.href = '/'+this.options[this.selectedIndex].value+''">

    However (I'm terrible at JS by the way) I cant get it to do what I what as I require it to jump a combination of full URLs like, and relative urls like /forum.html . How can I get this to work?

    What I really need is it to jump to exactly what is written in the value tags like this:
    <option value="humour/">Humour</option>
    <option value="">link</option>

    Any ideas???

    Last edited by ChilliBoy; Aug 16, 2001 at 12:44.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts