Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter doco

    (@doco)

    just did it….
    I saw the typo I made 🙂

    Thread Starter doco

    (@doco)

    I did some search online for different coding and just trying to put 2 and 2 together.
    I did find this which works with external links but not with internal ones.
    here…
    <script>
    <!–
    function land(ref, target)
    {
    lowtarget=target.toLowerCase();
    if (lowtarget==”_self”) {window.location=loc;}
    else {if (lowtarget==”_top”) {top.location=loc;}
    else {if (lowtarget==”_blank”) {window.open(loc);}
    else {if (lowtarget==”_parent”) {parent.location=loc;}
    else {parent.frames[target].location=loc;};
    }}}
    }
    function jump(menu)
    {
    ref=menu.choice.options[menu.choice.selectedIndex].value;
    splitc=ref.lastIndexOf(“*”);
    target=””;
    if (splitc!=-1)
    {loc=ref.substring(0,splitc);
    target=ref.substring(splitc+1,1000);}
    else {loc=ref; target=”_self”;};
    if (ref != “”) {land(loc,target);}
    }
    //–>
    </script>

    <form action=”dummy” method=”post”><select name=”choice” size=”1″ onChange=”jump(this.form)”><option value=””>SELECT THE YEAR</option><option value=”http//:risticar.com/159-0″>2013</option><option value=”http//:risticar.com/160-0″>2012</option><option value=”http//:risticar.com/161-0″>2011</option></select></form>

    …I’m stuck 🙁

Viewing 2 replies - 1 through 2 (of 2 total)