Announcement

Collapse
No announcement yet.

Drop down on Options

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drop down on Options

    I know i'm really close.. but i dont know what I need to do exactly to have it hide until Choose option is clicked. I kind want it to be like "quantity pricing" but i tried to copy the code and change it around and it doesnt seem like the options would hide until clicked.

    heres my code

    <!--START: PRODUCT_OPTIONS_BLOCK-->
    <div id="divOptionsBlock">
    <!--START: divOptionsBlock-->
    <div class="header">
    <a href="javascript:void(0);" id="divOptionsBlock"><h3>
    <i class="icon-down-open"></i>
    [product_optionheader]</h3></a>
    <div class="clear"></div>
    </div>
    <div id="divOptionsBlock">
    <div class="container">



    //Show/Hide 'Options' Table
    jQuery('#divOptionsBlock').on('click', function() {
    jQuery('.container').slideToggle();
    });
    </script>

    I got it to be a drop down menu but want it to hide until its been click to make my page less bulky. Also, every time the box gets clicked (Line 1 max 15 characters text box) the dropdown automatically closes and i dont want that. I want it to stay open when clicked down kinda thing.

    Sorry total noob at coding.. and i tried to google it and everything before asking for help


Working...
X