Guest Posted March 29, 2006 Share Posted March 29, 2006 Okay, on the new version of one of my sites I'm working on (http://mysticconvergence.majesticdragonfly.com), I want to put a "Shop by Theme" drop box for some categories. I'm going to manually do my categories box (which is no problem), but its not working and not sure what I'm doing wrong. I tried: <div class="boxTitleLeft">Shop by Theme</div> <div class="boxContentLeft"> <select name="lang" class="dropDown" onchange="jumpMenu('parent',this,0)"> <!-- BEGIN: option --> <option value="index.php?act=viewCat&catId=20">Angels</option> <option value="index.php?act=viewCat&catId=saleItems">Sale Items</option> <!-- END: option --> </select> </div> But the selection box is showing blank (see the site). What am I missing? Probably something simple I know since I haven't coded a drop box in a while :D Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2006 Share Posted March 29, 2006 Hi Try removing the <!-- BEGIN: option --> & <!-- END: option --> tags. A Quote Link to comment Share on other sites More sharing options...
convict Posted March 29, 2006 Share Posted March 29, 2006 Remove <!-- BEGIN: option --> and <!-- END: option --> Template section OPTION is not parsed. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2006 Share Posted March 29, 2006 Thanks! I knew it was something simple! I added <option selected value="index.php">Choose</option> in the first line too so it would force a change without using a "go" button. Just FYI in case someone else wants to do this Will work well on some of my sites. Thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.