Permalink
Browse files

Replaced javascript:void(false) href values with #nogo

  • Loading branch information...
1 parent e54c989 commit 019dae38f6d8092fde75b863879b629e3a8a30d0 @necolas necolas committed Mar 1, 2011
Showing with 37 additions and 37 deletions.
  1. +37 −37 demo.html
View
@@ -37,7 +37,7 @@ <h1 id="title">CSS3 Buttons</h1>
<h3>Result:</h3>
<div class="result">
- <a href="javascript:void(false)" class="button">This is a Button</a>
+ <a href="#nogo" class="button">This is a Button</a>
</div>
</article>
@@ -50,7 +50,7 @@ <h1 id="title">CSS3 Buttons</h1>
<h3>Result:</h3>
<div class="result">
- <a href="javascript:void(false)" class="pill button">This is a Pill Button</a>
+ <a href="#nogo" class="pill button">This is a Pill Button</a>
</div>
</article>
@@ -67,7 +67,7 @@ <h1 id="title">CSS3 Buttons</h1>
<h3>Result:</h3>
<div class="result">
- <a href="javascript:void(false)" class="primary button">Publish Post</a> or <a href="javascript:void(false)" class="button">Save as Draft</a>
+ <a href="#nogo" class="primary button">Publish Post</a> or <a href="#nogo" class="button">Save as Draft</a>
</div>
</article>
</section>
@@ -109,7 +109,7 @@ <h1 id="title">CSS3 Buttons</h1>
</pre>
<h3>Result:</h3>
- <a href="javascript:void(false)" class="left primary button">Archive</a><a href="javascript:void(false)" class="middle button">Report Spam</a><a href="javascript:void(false)" class="right negative button">Delete</a>
+ <a href="#nogo" class="left primary button">Archive</a><a href="#nogo" class="middle button">Report Spam</a><a href="#nogo" class="right negative button">Delete</a>
</article>
<p>
@@ -124,7 +124,7 @@ <h1 id="title">CSS3 Buttons</h1>
</pre>
<h3>Result:</h3>
- <a href="javascript:void(false)" class="left primary pill button">Archive</a><a href="javascript:void(false)" class="middle pill button">Report Spam</a><a href="javascript:void(false)" class="right negative pill button">Delete</a>
+ <a href="#nogo" class="left primary pill button">Archive</a><a href="#nogo" class="middle pill button">Report Spam</a><a href="#nogo" class="right negative pill button">Delete</a>
</article>
</section>
@@ -142,7 +142,7 @@ <h1 id="title">CSS3 Buttons</h1>
</pre>
<h3>Result:</h3>
- <a href="javascript:void(false)" class="button"><span class="magnifier icon"></span>Search</a>
+ <a href="#nogo" class="button"><span class="magnifier icon"></span>Search</a>
</article>
<p>Here is a list of all the supported icon classes:</p>
@@ -157,123 +157,123 @@ <h1 id="title">CSS3 Buttons</h1>
</thead>
<tr>
<td><code>.book</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="book icon"></span>View Log</a></td>
+ <td><a href="#nogo" class="button"><span class="book icon"></span>View Log</a></td>
</tr>
<tr>
<td><code>.calendar</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="calendar icon"></span>Add to Calendar</a></td>
+ <td><a href="#nogo" class="button"><span class="calendar icon"></span>Add to Calendar</a></td>
</tr>
<tr>
<td><code>.chat</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="chat icon"></span>Start Chat</a></td>
+ <td><a href="#nogo" class="button"><span class="chat icon"></span>Start Chat</a></td>
</tr>
<tr>
<td><code>.check</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="check icon"></span>Approve Registration</a></td>
+ <td><a href="#nogo" class="button"><span class="check icon"></span>Approve Registration</a></td>
</tr>
<tr>
<td><code>.clock</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="clock icon"></span>Register Work Time</a></td>
+ <td><a href="#nogo" class="button"><span class="clock icon"></span>Register Work Time</a></td>
</tr>
<tr>
<td><code>.cog</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="cog icon"></span>Settings</a></td>
+ <td><a href="#nogo" class="button"><span class="cog icon"></span>Settings</a></td>
</tr>
<tr>
<td><code>.comment</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="comment icon"></span>Add Comment</a></td>
+ <td><a href="#nogo" class="button"><span class="comment icon"></span>Add Comment</a></td>
</tr>
<tr>
<td><code>.cross</code></td>
- <td><a href="javascript:void(false)" class="negative button"><span class="cross icon"></span>Remove Item</a></td>
+ <td><a href="#nogo" class="negative button"><span class="cross icon"></span>Remove Item</a></td>
</tr>
<tr>
<td><code>.downarrow</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="downarrow icon"></span>Move Down</a></td>
+ <td><a href="#nogo" class="button"><span class="downarrow icon"></span>Move Down</a></td>
</tr>
<tr>
<td><code>.fork</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="fork icon"></span>Create Branch</a></td>
+ <td><a href="#nogo" class="button"><span class="fork icon"></span>Create Branch</a></td>
</tr>
<tr>
<td><code>.heart</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="heart icon"></span>Add to Favorites</a></td>
+ <td><a href="#nogo" class="button"><span class="heart icon"></span>Add to Favorites</a></td>
</tr>
<tr>
<td><code>.home</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="home icon"></span>Back to Frontpage</a></td>
+ <td><a href="#nogo" class="button"><span class="home icon"></span>Back to Frontpage</a></td>
</tr>
<tr>
<td><code>.key</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="key icon"></span>Password Protect</a></td>
+ <td><a href="#nogo" class="button"><span class="key icon"></span>Password Protect</a></td>
</tr>
<tr>
<td><code>.leftarrow</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="leftarrow icon"></span>Move Left</a></td>
+ <td><a href="#nogo" class="button"><span class="leftarrow icon"></span>Move Left</a></td>
</tr>
<tr>
<td><code>.lock</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="lock icon"></span>Lock Article</a></td>
+ <td><a href="#nogo" class="button"><span class="lock icon"></span>Lock Article</a></td>
</tr>
<tr>
<td><code>.loop</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="loop icon"></span>Resend Message</a></td>
+ <td><a href="#nogo" class="button"><span class="loop icon"></span>Resend Message</a></td>
</tr>
<tr>
<td><code>.magnifier</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="magnifier icon"></span>Search</a></td>
+ <td><a href="#nogo" class="button"><span class="magnifier icon"></span>Search</a></td>
</tr>
<tr>
<td><code>.mail</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="mail icon"></span>Send Newsletter</a></td>
+ <td><a href="#nogo" class="button"><span class="mail icon"></span>Send Newsletter</a></td>
</tr>
<tr>
<td><code>.move</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="move icon"></span>Move</a></td>
+ <td><a href="#nogo" class="button"><span class="move icon"></span>Move</a></td>
</tr>
<tr>
<td><code>.pen</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="pen icon"></span>Edit Post</a></td>
+ <td><a href="#nogo" class="button"><span class="pen icon"></span>Edit Post</a></td>
</tr>
<tr>
<td><code>.pin</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="pin icon"></span>Pin to Map</a></td>
+ <td><a href="#nogo" class="button"><span class="pin icon"></span>Pin to Map</a></td>
</tr>
<tr>
<td><code>.plus</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="plus icon"></span>Add Post</a></td>
+ <td><a href="#nogo" class="button"><span class="plus icon"></span>Add Post</a></td>
</tr>
<tr>
<td><code>.reload</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="reload icon"></span>Reload Page</a></td>
+ <td><a href="#nogo" class="button"><span class="reload icon"></span>Reload Page</a></td>
</tr>
<tr>
<td><code>.rightarrow</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="rightarrow icon"></span>Move Right</a></td>
+ <td><a href="#nogo" class="button"><span class="rightarrow icon"></span>Move Right</a></td>
</tr>
<tr>
<td><code>.rss</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="rss icon"></span>Subscribe to RSS Feed</a></td>
+ <td><a href="#nogo" class="button"><span class="rss icon"></span>Subscribe to RSS Feed</a></td>
</tr>
<tr>
<td><code>.tag</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="tag icon"></span>Add Tag</a></td>
+ <td><a href="#nogo" class="button"><span class="tag icon"></span>Add Tag</a></td>
</tr>
<tr>
<td><code>.trash</code></td>
- <td><a href="javascript:void(false)" class="negative button"><span class="trash icon"></span>Delete Post</a></td>
+ <td><a href="#nogo" class="negative button"><span class="trash icon"></span>Delete Post</a></td>
</tr>
<tr>
<td><code>.unlock</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="unlock icon"></span>Unlock Article</a></td>
+ <td><a href="#nogo" class="button"><span class="unlock icon"></span>Unlock Article</a></td>
</tr>
<tr>
<td><code>.uparrow</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="uparrow icon"></span>Move Up</a></td>
+ <td><a href="#nogo" class="button"><span class="uparrow icon"></span>Move Up</a></td>
</tr>
<tr>
<td><code>.user</code></td>
- <td><a href="javascript:void(false)" class="button"><span class="user icon"></span>Add New User</a></td>
+ <td><a href="#nogo" class="button"><span class="user icon"></span>Add New User</a></td>
</tr>
</table>
</article>
@@ -293,7 +293,7 @@ <h1 id="title">CSS3 Buttons</h1>
</pre>
<h3>Result:</h3>
- <a href="javascript:void(false)" class="big button">Create Project</a>
+ <a href="#nogo" class="big button">Create Project</a>
</article>
</section>

0 comments on commit 019dae3

Please sign in to comment.