Top

Javascript Code Snippets by Hawkee

  (4)  
Sort by 
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: You can use this in multiple groups on the same..
+ 0 likes
2 comment(s)    Score: 0.0    Platform: Javascript    Posted by Hawkee on Oct 18, 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:
+ 1 likes
14 comment(s)    Score: 0.0    Platform: Javascript    Posted by Hawkee on Sep 10, 2008
This was used in our The display is either "none" if we don't need to show the "Full Review" link or "inline" which will make the dots appear after the cut-off text.
Tags: css  cut  end  long  php  string 
+ 0 likes
2 comment(s)    Score: 8.5    Platform: Javascript    Posted by Hawkee on 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. Here..
Tags: clipboard  copy 
+ 0 likes
5 comment(s)    Score: 7.0    Platform: Javascript    Posted by Hawkee on Mar 24, 2007
Bottom