We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4429
    • 429 Posts
    Does anyone have any experience with input boxes not working in IE7?

    I have a simple dropdown box to select colour/sizes on my store. It works in Firefox, Safari and IE6 but in IE7 the list does not dropdown.

    The link is:
    http://tinyurl.com/yazpfyo

    The code is:
    <form class="foxycart" action="https://mysubdomain.foxycart.com/cart" method="post" accept-charset="utf-8">
    <input type="hidden" name="name" value="[*pagetitle*]" />
    <input type="hidden" name="price" value="[*product_price*]" />
    <input type="hidden" name="code" value="[*product_code*]" />
    <input type="hidden" name="weight" value="[*product_weight*]" />
    
    
    
    <label class="label_left">Size</label>
    <select name="size">
    	<option value="mini_pony">Mini Pony (pair) £24.99</option>
    	<option value="pony">Pony (pair) £24.99</option>
    	<option value="cob{p+5}">Cob (pair) £29.99</option>
    	<option value="horse{p+5}">Horse (pair) £29.99</option>
    	<option value="mini_pony_set{p+20.99}">Mini Pony (set) £45.98</option>
    	<option value="pony_set">Pony (set) £45.98</option>
    	<option value="cob{p+24.99}">Cob (set) £49.98</option>
    	<option value="Cob_Horse_Mixed_Set{p+24.99}">Cob + Horse (set) £49.98</option>
    	<option value="Horse_Set{p+24.99}">Horse (set) £49.98</option>
    </select>
    
    
    <label class="label_left">Colour</label>
    <select name="colour">
    	<option value="yellow">Yellow</option>
    	<option value="orange">Orange</option>
    	<option value="pink">Pink</option>
    	<option value="black">Black</option>
    </select>
    
    
    
    <input type="submit" name="Add to Cart" value="Add to Cart" class="submit" />
    </form>



    EDIT:- Had a couple of others test it in IE8 compatability mode and IE7 and it worked correctly. Must be a problem with my test rig.
      • 29635
      • 361 Posts
      Out of curiosity, was it a "real" IE7 install or was it a standalone version or something? I’ve always had issues with the standalone types of test setups, so I’m still running one VM per IE version I need to test in. Kind of stupid, but at least we have virtualization now.
        Need MODx Ecommerce? Try FoxyCart!
        • 4429
        • 429 Posts
        It was a stand alone version, as i need i 7 and 6 installed side by side.

        I work on a mac and although i have a test PC its not really up to it.
          • 3749
          • 24,544 Posts
          Quote from: x0149128 at Jan 21, 2010, 02:00 AM

          It was a stand alone version, as i need i 7 and 6 installed side by side.

          I work on a mac and although i have a test PC its not really up to it.

          My experience with these is that they often report themselves to the server incorrectly. That is, you’ll be running IE6 and it will look like IE6 but it’s telling the remote server that it’s IE7 so IE conditional comments will deliver the wrong CSS.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 3749
            • 24,544 Posts
            Quote from: x0149128 at Jan 21, 2010, 02:00 AM

            It was a stand alone version, as i need i 7 and 6 installed side by side.

            I work on a mac and although i have a test PC its not really up to it.

            My experience with these is that they often report themselves to the server incorrectly. That is, you’ll be running IE6 and it will look like IE6 but it’s telling the remote server that it’s IE7 so IE conditional comments will deliver the wrong CSS.

            Try writing a snippet with just this code to report the browser and make sure they’re identifying themselves correctly:

            return '<br />Browser: ' .$_SERVER['HTTP_USER_AGENT'];

              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting