Profile
Achievement
neal_grosskopf's Recent Snippets
- All /
Slim down the size of your javascript by using these custom functions.
2
754
posted 16 years ago by neal_grosskopf
ASP does not have a built in function to reverse or sort array like other languages. Find out how to do it.
1
1198
posted 16 years ago by neal_grosskopf
Flash sucks, embedding it sucks more, find out how to make it not suck.
2
1080
posted 16 years ago by neal_grosskopf
Consolidate all your various stylesheets into one and cut down on requests to your server by placing your screen, print & handheld stylesheets into one stylesheet
1
818
posted 16 years ago by neal_grosskopf
I notice that a lot of database driven websites make easy mistakes by not checking for plural words. An example might be "2 vote" or "1 votes". Here is an example of a function using ASP to check for plurals.
1
1054
posted 16 years ago by neal_grosskopf
Often times it is nice to add some text after a link on your website to let your users know whether the link goes to a PDF and how large that PDF file is. I've found that manually doing this works but after awhile when that PDF file get updated, the...
2
1152
posted 16 years ago by neal_grosskopf
Serve your xhtml pages correctly with this script and xsl file. Most websites serve their xhtml pages as text and not xml to Internet Explorer. With this it will serve to IE as xml. Your sites will be more valid because they will validate against the...
1
1233
posted 16 years ago by neal_grosskopf
Change selection color using CSS. Works in most modern browsers except for IE.
3
1012
posted 16 years ago by neal_grosskopf
Style External, PDF, and Mailto links using CSS and a background image. For a great set of icons to choose from visit http://www.famfamfam.com/lab/icons/silk/.
3
1274
posted 16 years ago by neal_grosskopf
If you've ever used a strict doctype and used the target attribute on links you'll notice that it doesn't validate. Here is an easy solution.
4
1857
posted 16 years ago by neal_grosskopf
Find depreciated elements and attributes using CSS . Simply add the CSS below to the end of your style sheet and it will highlight bad code.
5
1015
posted 16 years ago by neal_grosskopf
A better more accessible method to make buttons appear to be disabled upon click via css (with no javascript) Doesn't work in IE but does in other browsers.
3
1013
posted 17 years ago by neal_grosskopf
Change the color and background color of selected text using only css. Compatible with Firefox and Safari, but not Internet Explorer
4
1125
posted 17 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11
993
posted 17 years ago by neal_grosskopf