• Can anyone help me adapt my templates to rid the need for the ‘go!’ button next to the ‘Categories’ dropdown list on my site – so it jumps to the page automatically after selecting? I found some code on these forums which let me do this with the ‘Archives’ dropdown.
    The site is here:
    https://www.alittlepoison.com
    Cheers : )

Viewing 5 replies - 1 through 5 (of 5 total)
  • 5 minutes at google turned up this. I remember doing something similar on a website I had ages ago.

    Thread Starter robotdan

    (@robotdan)

    Thanks for looking into it for me, but I think that solution uses FrontPage forms… I’ve tried it out with no success.
    Can this be done by change the form code below, or would it need other code?
    <?php dropdown_cats(1, ‘CATEGORIES’, ‘name’, ‘asc’, 0, 0, 0); ?>

    Just tinker the JS from that Archives form.
    <form name="catform" onchange="window.location = (document.forms.catform.cat[document.forms.catform.cat.selectedIndex].value);">

    Whoops, missed that. But glad you got it working. ??

    dylan

    (@dylan)

    I tried sunshine’s suggestion there, and it almost works, however the addresses led to by the form, they aren’t correct. suggestions anyone?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Category dropdown list – no go! button?’ is closed to new replies.