Accessing the name attribute of a DIV





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

10
Date Submitted Fri. Aug. 18th, 2006 1:13 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 0 comments
This will convert the time from number of seconds to HH:MM format
9
Date Submitted Thu. Dec. 21st, 2006 4:09 AM
Revision 1
Scripter shachi
Tags JavaScript | Number | times
Comments 3 comments
This script lets you do any action the number of times specified.
9
Date Submitted Fri. Feb. 23rd, 2007 1:16 AM
Revision 1
Scripter Casper42
Tags CSS | JavaScript
Comments 2 comments
There seems to be so many hide/show scripts out there, so here's the functions I wrote and use on a regular basis - there are 7 functions, hide, show and toggle by id or class - and the getElementByClass function that does not exist as a built in Javascript function...

This is in response to the flurry of visibility scripts that just don't have all the pieces needed to make them totally useful.
9
Date Submitted Sun. Nov. 20th, 2005 8:56 AM
Revision 1
Helper poncho
Tags Hide | JavaScript | Show
Comments 0 comments
Unobtrusive Show/Hide
9
Date Submitted Wed. Nov. 23rd, 2005 6:03 PM
Revision 1
Helper poncho
Tags Convert | JavaScript | Kilometer | Mile
Comments 0 comments
Unobtrusive Kilometer/Mile Converte
9
Date Submitted Mon. Jul. 24th, 2006 9:45 PM
Revision 1
Helper svachon
Tags JavaScript | String
Comments 0 comments
Gets the rightmost substring, of the specified length, from a String object.
9
Date Submitted Thu. Feb. 8th, 2007 10:05 AM
Revision 1
Helper dohpaz
Tags "web safe colors" | JavaScript
Comments 0 comments
I had searched high and low for a way to generate a palette of web-safe colors. Despite Google's best efforts, what I had found was lacking for my needs. So, I decided to write a library that would generate all 216 web safe colors, and then allow me to manipulate those colors in any way that I chose.

If anybody is curious as to why I would want to do something so... simple, it is because I needed a very light-weight color picker, and didn't want to mess with any fancy options.
9
Date Submitted Sat. Mar. 10th, 2007 6:44 PM
Revision 1
Helper albud
Tags JavaScript | strings
Comments 0 comments
Rather than have standalone functions rtrim, ltrim, and trim (as in http://www.bytemycode.com/snippets/snippet/397/) why not have them as methods of all string objects?
9
Date Submitted Thu. Aug. 24th, 2006 8:31 AM
Revision 1
Helper axsaxs
Tags Attribute | CSharp | read-only
Comments 0 comments
Set the read-only attribute of a file to true or false.
9
Date Submitted Tue. Oct. 18th, 2005 11:12 AM
Revision 1
Beginner zero
Tags "Pop Up" | Center | JavaScript | Screen
Comments 0 comments
Center Pop-up