Note that there are some explanatory texts on larger screens.

plurals
  1. POissue with jquery tabs in IE versus Firefox
    primarykey
    data
    text
    <p>I'm a newbie at this so if any way you could shed some light on it for me I would be very appreciative:</p> <p>I am using a simple jquery tabs construct I found on a site that gives nice examples. I got them working on my site, and they work great under FireFox and under IE8. But IE9, Chrome and Safari -- the divisions that the tabs are supposed to switch to remain set at display=hidden. I believe that the jquery code is supposed to modify the DOM object to set the currently-selected division to be display=block.</p> <p>My call to jquery is this:</p> <pre><code>&lt;script type="text/javascript"&gt; $(function() { $("ul.css-tabs").tabs("&gt; .css-panes"); }); &lt;/script&gt; </code></pre> <p>And my HTML markup is correct (I believe!). It seems like in IE9 that jquery can't "find" the division to change its visibility, yet in Firefox it is able to.</p> <p>Any hints of anything at all to look at to try to fix this would be appreciated...I'm driving myself nuts trying to fix it...</p> <p>EDIT: Here is the basic construct of my markup:</p> <pre><code>&lt;div class="prodtabs"&gt; &lt;ul class="css-tabs"&gt; &lt;li&gt;&lt;a href="#"&gt;Specs&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Contents&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Images&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Warranty&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div class="css-panes"&gt; &lt;p&gt;stuff on tab 1&lt;/p&gt;&lt;br /&gt; &lt;/div&gt; &lt;!-- css-panes --&gt; &lt;div class="css-panes"&gt; &lt;p&gt;stuff on tab 2&lt;/p&gt;&lt;br /&gt; &lt;/div&gt; &lt;!-- css-panes --&gt; &lt;div class="css-panes"&gt; &lt;p&gt;stuff on tab 3&lt;/p&gt;&lt;br /&gt; &lt;/div&gt; &lt;!-- css-panes --&gt; &lt;div class="css-panes"&gt; &lt;p&gt;stuff on tab 4&lt;/p&gt;&lt;br /&gt; &lt;/div&gt; &lt;!-- css-panes --&gt; &lt;/div&gt; &lt;!-- prodtabs --&gt; </code></pre> <p>Now, this is wrapped pretty deeply in other stuff (I am using a slightly-modified version of WordPress to serve up these pages) -- so I can't tell what is breaking this jquery call when I'm in IE9 or Chrome, versus it working fine in FireFox...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload