Jump to content

subCutaneas

New Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by subCutaneas

  1. Hi. I have just downloaded a WordPress theme which has a pre-installed horizontal accordion on the homepage. The .css is: .haccordion{ padding: 0; } .haccordion ul{ margin: 0; padding: 0; list-style: none; overflow: hidden; /*leave as is*/ } .haccordion li{ margin: 0; padding: 0; display: block; /*leave as is*/ width: 100%; /*For users with JS disabled: Width of each content*/ height: 200px; /*For users with JS disabled: Height of each content*/ overflow: hidden; /*leave as is*/ float: left; /*leave as is*/ } .haccordion li .hpanel{ width: 100%; /*For users with JS disabled: Width of each content*/ height: 200px; /*For users with JS disabled: Height of each content*/ } <script type="text/javascript"> haccordion.setup({ accordionid: 'hc1', //main accordion div id paneldimensions: {peekw:'50px', fullw:'786px', h:'786px'}, selectedli: [0, true], //[selectedli_index, persiststate_bool] collapsecurrent: false //<- No comma following very last setting! }) haccordion.setup({ accordionid: 'hc2', //main accordion div id paneldimensions: {peekw:'30px', fullw:'786px', h:'786px'}, selectedli: [-1, true], //[selectedli_index, persiststate_bool] collapsecurrent: false //<- No comma following very last setting! }) </script> ...which all seems pretty straightforward... The .js is: <script type="text/javascript"> haccordion.setup({ accordionid: 'hc1', //main accordion div id paneldimensions: {peekw:'50px', fullw:'786px', h:'430px'}, selectedli: [0, true], //[selectedli_index, persiststate_bool] collapsecurrent: false //collapse current expanded li when mouseout into general space? }) </script> ...again, fairly straightforward... The problem is that, when I go to the homepage, the first panel of the accordion is open with the other accordion 'tabs' visible on the right - all good so far - but the second I roll over, the accordion collapses and won't re-open...the hyperlinks still work off the 'tabs', but each layer / panel of the accordion refuses to open, roleed over, clicked on, whatever... Any suggestions?
  2. I wish I had ovaries and a uterus because, DavidAM, I want your babies! You have just helped end literally WEEKS of frustration and anguish! I love you.
  3. Hi. So I have an online form that's pretty extensive. I'm having no issues with dropdowns, radios, text fields and single checkboxes, but a have a large list of options (checkboxes) for clients to check: <input type="checkbox" name="i_have[]" value="value1" />value1<br /> <input type="checkbox" name="i_have[]" value="value2" />value2<br /> <input type="checkbox" name="i_have[]" value="value3" />value3<br /> <input type="checkbox" name="i_have[]" value="value4" />value4<br /> <input type="checkbox" name="i_have[]" value="value5" />value5<br /> <input type="checkbox" name="i_have[]" value="value6" />value6<br /> ...and so on As you can see, I want this to be an array. I want it emailed to me - everything else emails fine, but this is proving a real problem. PHP side, I have tried: print_r($_POST['i_have']); with: Present Issues & Prior Illnesses: $i_haveField As the responder. All this does is posts the checked options on the "thanks for signing" page after the client hits the SUBMIT button, but it doesn't send anything in the email. I have also tried: if (isset($_POST['i_have'])) { $i_haveField = $_POST['i_have']; } This is one step closer, printing "ARRAY" in the appropriate area in the email responder, with nothing printed on the "thanks for signing" page, but no checked options are included in the email. Where am I going wrong?! I know it's something simple, but as a PHP newbie, I just can't see it. Please could you offer assistance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.