neal_grosskopf


Member since 12/07/2007

Website: http://neal.grosskopf.name

10 snippets

3978 profile views

7 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

neal_grosskopf's Recent ASP Snippets



« Prev 1 Next »
Learn how to emulate ASP.NET's AppendFormat method in Classic ASP. AppendFormat is essentially a simple form of concatenation in ASP.NET.
1 725 posted 14 years ago by neal_grosskopf
A quick and easy function that will output table column names and loop through your SQL recordset results outputting it into a HTML table.
2 960 posted 15 years ago by neal_grosskopf
Learn how to create a 301 redirect for domain or home variations to improve your websites' search engine optimization.
2 1013 posted 15 years ago by neal_grosskopf
YouTube offers a method for users and developers to embed video on their web pages. Unfortunately the code that they use doesn't validate. Use this function to make YouTube's embed code validate.
2 797 posted 15 years ago by neal_grosskopf
Use this function to create a unique class name based on the page's url. It makes for a great way to drill down with specificity in CSS later by placing this on the ID or as a Class on the body tag.
1 724 posted 15 years ago by neal_grosskopf
One thing that always bothered me about Classic ASP is that there isn't an easy way to get the entire url. So I devised a function that will get the full path including the query string.
2 3952 posted 15 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 931 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 848 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 937 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 1022 posted 16 years ago by neal_grosskopf
« Prev 1 Next »