May 19, 2003
Hawkee.com Admin

Javascript Code Snippets

Hawkee created a Page  -  Dec 10, 2014
1 778 

I saw WOW.js on Product Hunt today and thought, "neat, that looks like fun." I'd also had the thought to play around with the Hacker News FireBase API so why not merge the two?

Hawkee created a Page  -  Oct 20, 2014
2 308 

One of our more advanced features here at Hawkee is our markdown page editor. What sets it apart is fluid integration with CodeMirror to quickly and easily add code to a page. There's no fumbling with tabs and no need to paste between fences. This article gives a general overview of how it works.

Hawkee created a Page  -  Oct 03, 2014

This will show you how to handle form errors with Node.js and AngularJS when server-side validation is necessary. It highlights the erroneous field and displays an error message below indicating the problem. This example uses Node.js, Express, Express Validator, AngularJS and Bootstrap 3.

 Respond   HTML5   Javascript  
Hawkee created a Page  -  Oct 18, 2008

This is a simple Javascript snippet that lets you toggle a group of checkboxes on or off at the same time. This is the format for your HTML form:

Hawkee created a Page  -  Sep 10, 2008

This is a very simple Javascript toggle that'll show or hide a div depending on its current state. Here is the HTML code:

Hawkee created a Page  -  Mar 24, 2007

This was used in our product review section. It hides the end of a review that is too long to display. If the user wants to read the entire review they can click the "Full Review" button.

Hawkee created a Page  -  Mar 24, 2007

This will copy the text in a given field to the clipboard. Unfortunately it only works in IE, so Firefox users will still need to do the actual copy. But it'll at least select the text for Firefox users.

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.