Skip to content

Commit

Permalink
data-attributes need values to be picked up by jquery in ie8 and belo…
Browse files Browse the repository at this point in the history
…w :/
  • Loading branch information
fat committed Sep 12, 2011
1 parent dcf9aab commit 02d668f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ <h1>Navigation</h1>
</div>
<h2>Fixed topbar</h2>
<div class="topbar-wrapper" style="z-index: 5;">
<div class="topbar" data-dropdown>
<div class="topbar" data-dropdown="pls" >
<div class="topbar-inner">
<div class="container">
<h3><a href="#">Project Name</a></h3>
Expand Down Expand Up @@ -1331,7 +1331,7 @@ <h2>Tabs and pills</h2>
<li><a href="#">Messages</a></li>
<li><a href="#">Settings</a></li>
<li><a href="#">Contact</a></li>
<li class="dropdown" data-dropdown>
<li class="dropdown" data-dropdown="pls">
<a href="#" class="dropdown-toggle">Dropdown</a>
<ul class="dropdown-menu">
<li><a href="#">Secondary link</a></li>
Expand Down
12 changes: 6 additions & 6 deletions docs/javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<!-- Topbar
================================================== -->
<div class="topbar" data-scrollspy>
<div class="topbar" data-scrollspy="pls">
<div class="fill">
<div class="container">
<h3><a href="#">Bootstrap JS</a></h3>
Expand Down Expand Up @@ -247,7 +247,7 @@ <h4>$().dropdown()</h4>
</p>
<h3>Demo</h3>
<div class="topbar-wrapper">
<div id="topbar-example" class="topbar" data-dropdown>
<div id="topbar-example" class="topbar" data-dropdown="pls">
<div class="topbar-inner">
<div class="container">
<h3><a href="#">Project Name</a></h3>
Expand Down Expand Up @@ -338,7 +338,7 @@ <h3>Using boostrap-tabs.js</h3>
<pre class="prettyprint linenums">$('.tabs').tabs()</pre>
<h3>Markup</h3>
<p>You can activate a tab or pill navigation without writing any javascript by simply giving them a <code>data-tabs</code> or <code>data-pills</code> attribute.</p>
<pre class="prettyprint linenums"> &lt;ul class="tabs" data-tabs &gt;...&lt;/ul&gt;</pre>
<pre class="prettyprint linenums"> &lt;ul class="tabs" data-tabs="pls" &gt;...&lt;/ul&gt;</pre>
<h3>Methods</h3>
<h4>$().tabs or $().pills</h4>
<p>
Expand Down Expand Up @@ -366,7 +366,7 @@ <h4>$().tabs or $().pills</h4>
&lt;/script&gt;</pre>
</p>
<h3>Demo</h3>
<ul class="tabs" data-tabs >
<ul class="tabs" data-tabs="pls" >
<li class="active"><a href="#home">Home</a></li>
<li><a href="#profile">Profile</a></li>
<li><a href="#messages">Messages</a></li>
Expand Down Expand Up @@ -648,11 +648,11 @@ <h4>.alert('close')</h4>
<p>Closes an alert.</p>
<pre class="prettyprint linenums">$(".alert-message").alert('close')</pre>
<h3>Demo</h3>
<div class="alert-message warning fade in" data-alert >
<div class="alert-message warning fade in" data-alert="pls" >
<a class="close" href="#">&times;</a>
<p><strong>Holy guacamole!</strong> Best check yo self, you’re not looking too good.</p>
</div>
<div class="alert-message block-message error fade in" data-alert >
<div class="alert-message block-message error fade in" data-alert="pls" >
<a class="close" href="#">&times;</a>
<p><strong>Oh snap! You got an error!</strong> Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
<div class="alert-actions">
Expand Down

0 comments on commit 02d668f

Please sign in to comment.