Note that there are some explanatory texts on larger screens.

plurals
  1. POJquery Tabs Help
    primarykey
    data
    text
    <p>So I am trying to make a tabs in a menu but cant make the whole width of each of the tabs 219px. it only allows me to make the li 219 but I wanna make the li a 219px. I cant seem to figure it out. Also is there a way to make a next button or would the best way to go to each tab and literally put in the next tab in a type of way?</p> <p>any help would be greatly appreciated </p> <p>Css</p> <pre><code>.servicesNavigation li { float: left; list-style: none; width: 219px; } ul.servicesNavigation li a { padding: 3px 5px; background-color: #ccc; color: #000; text-decoration: none; width: 219px; } ul.servicesNavigation li a.selected, ul.tabNavigation li a:hover { background-color: #333; color: #fff; padding-top: 7px; } ul.servicesNavigation li a:focus { outline: 0; } </code></pre> <p>HTML</p> <pre><code>&lt;ul class="servicesNavigation"&gt; &lt;li&gt;&lt;a href="#Web"&gt;Web&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#Print"&gt;Print&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#DynamicContent"&gt;Dynamic Content&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#Hosting"&gt;Hosting&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>Jquery</p> <pre><code>var tabContainers = $('div.servicesInfo &gt; div'); tabContainers.hide().filter(':first').show(); $('div.servicesInfo ul.servicesNavigation a').click(function () { tabContainers.hide(); tabContainers.filter(this.hash).show(); $('div.servicesInfo ul.servicesNavigation a').removeClass('selected'); $(this).addClass('selected'); return false; }).filter(':first').click(); </code></pre>
    singulars
    1. This table or related slice is empty.
    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.
    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