Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    246
    Plugin Contributions
    0

    Default css hide problem in Internet Explorer

    I'm messing about with attributes on a test site
    Most of the attributes are hidden until a tick box is checked which calls a bit of javascript to show the hidden part.

    It's working fine in Firefox but not at all in IE.
    How can I get this to display correctly

    Code in html_header.php looks like this

    <style type="text/css"<!--
    .show{display: block;}
    .hide{display :none;}

    --></style>
    <script language="javascript" type="text/javascript">
    //<![CDATA[
    function showHidediv(strDivId, boolshowhide){
    var styleSwitch;
    if(boolshowhide) styleSwitch = "show";
    else styleSwitch = "hide";
    document.getElementById(strDivId).className = styleSwitch;
    }
    //]]>
    </script>


    Test it out here

    http://westcountryfudge.co.uk/shop/i...&products_id=1

    I would be greatfull for any solution

    I've also tried visibility: hidden and collapse but that did not work either
    UK based Zen Cart Web Designer here www.handcoded.co.uk

  2. #2
    Join Date
    Jul 2004
    Posts
    246
    Plugin Contributions
    0

    Default Re: css hide problem in Internet Explorer

    I've downloaded the scriptaculous javascript library but can't figure out how to get it to do what I want

    I want to use a blind down effect on a checkbox set to onclick that when clicked will show a hidden part of the page

    Can anyone help me out ?
    UK based Zen Cart Web Designer here www.handcoded.co.uk

 

 

Similar Threads

  1. Internet Explorer and CSS categories
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Oct 2011, 04:00 PM
  2. Internet Explorer Problem with CSS
    By DebiWebi in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Aug 2009, 11:02 PM
  3. CSS problem with Firefox/Internet Explorer
    By ourcollegetown in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Jan 2009, 05:53 AM
  4. Internet Explorer + CSS issues
    By johnblaze94 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Oct 2008, 02:22 PM
  5. Internet Explorer changes css to Xs
    By TATIANA in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Sep 2006, 10:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg