SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    Non-Member
    Join Date
    Jan 2000
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My knowledge of JavaScript is not great, and I've discovered that I can't put some things in those .JS files. But I'm gradually feeling my way and am working out ways of incorporating affiliate links into them. Would be great if I could add search boxes to those .JS files, but the codes provided by affiliate programs are not in pure Javascript.

    One thing: is it possible to add a drop-down menu to a .JS file?
    I've tried the following, which works normally, but not via a .JS call:

    <FORM NAME="nav"><SELECT NAME="SelectURL" onChange="window.open (document.nav.SelectURL.options[document.nav.SelectURL.selectedIndex].value,'newwindow')">

    <OPTION VALUE="http://www.freefind.cjb.net"SELECTED>
    Please select site to visit:
    <OPTION VALUE="http://CDUK.Best.CD">
    CD UK - Discount Music
    <OPTION VALUE="http://Nutrel.cjb.net">
    Nutrel - Health
    <OPTION VALUE="http://TopSitesUK.cjb.net">
    UK Top - Best of British
    </SELECT></FORM>

    Spent ages trying to work this one out. Been scouring all the JS sites, but no luck.

    Thanks
    Last edited by nazam; Mar 19, 2001 at 14:48.


Bookmarks

Posting Permissions

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