Transparent HTML nodes without affecting content





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

« Previous 1 2  ...  6 7 8 9 10 11 12 13 14 Next »
11
Date Submitted Thu. Aug. 10th, 2006 2:38 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 0 comments
Find and replace a string or character(s) inside another string
11
Date Submitted Mon. Aug. 21st, 2006 9:44 PM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 3 comments
check if your browser/javascript supports Ajax.
For this we can use prototype's getTransport method.
12
Date Submitted Wed. Nov. 15th, 2006 7:29 AM
Revision 1
Scripter Casper42
Tags JavaScript
Comments 2 comments
I found this to be a neat little trick for hiding(somewhat) source javacscript code from peering eyes...

This function will unload all linked javascript files so that when you view source - you see no javascript files! (Especially helpful when using FF and using web-developer tools - no linked js files are displayed) The files remain resident in memory - allowing for the functions to work.

Just call the function in the tag
12
Date Submitted Tue. Oct. 3rd, 2006 5:51 AM
Revision 1
Helper Thomas
Tags Email | JavaScript | spam
Comments 1 comments
Here's a simple JavaScript solution to hide your e-mail from many spam scripts while still providing clickable hyperlinks to your visitors.

Web crawlers and visitors with JavaScript disabled will see: me [at] mydomain [dot] com. I've seen a lot of people that just leave it at this, but it seems a bit unprofessional in my opinion. With the following code, we can replace that with a fully functional hyperlink.
12
Date Submitted Wed. Aug. 30th, 2006 5:06 AM
Revision 1
Helper dohpaz
Tags entities | HTML | PHP
Comments 2 comments
This function is useful in helping to deter spam bots by obfuscating things such as e-mail addresses and URLs that are displayed on a web page. While it's not 100% fool proof, it does offer some protection.

Example:
$email = html_entitize('foo@baz.org');
/*
Outputs foo@baz.com
*/
12
Date Submitted Sun. Sep. 24th, 2006 5:43 PM
Revision 1
Helper kahotep
Tags HTML | PHP
Comments 6 comments
Generates select boxes, text boxes, check boxes and radio buttons. Via a handful of functions.
12
Date Submitted Thu. Jul. 20th, 2006 11:57 AM
Revision 1
Beginner toddersbud
Tags cascade | CSS | firefox | HTML | JavaScript | Styles
Comments 0 comments
This shows how the computed style of each node differs from the computed style of its parent. The root element, which has no parent, is instead compared against the root of a blank HTML document.

* create a new bookmark called "compute styles" in your firefox toolbar. Place the snippet code in the location field of your "compute styles". click the compute styles bookmark, then click an element on the page with the crosshairs.
12
Date Submitted Fri. Jul. 28th, 2006 5:48 AM
Revision 1
Beginner delook
Tags google | JavaScript | map
Comments 0 comments
A simple demo of the google maps API
12
Date Submitted Tue. Sep. 12th, 2006 1:34 AM
Revision 1
Beginner Headzoo
Tags Array | JavaScript | PHP
Comments 3 comments
Given a PHP array (even a deep nested array), returns a string representation of that array as JavaScript array. Useful when using PHP to output JavaScript.
12
Date Submitted Mon. Oct. 2nd, 2006 11:59 AM
Revision 1
Beginner drench
Tags escape | HTML | JavaScript | String
Comments 0 comments
Similar to Perl's CGI::escapeHTML(), though (because we can!) this adds it as a method to all String objects.
« Previous 1 2  ...  6 7 8 9 10 11 12 13 14 Next »