Below are the top ranked snippets.

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

« Previous 1 2 3 4 5 6 7 8 9  ...  55 56 Next »
8
Date Submitted Thu. Dec. 7th, 2006 9:27 AM
Revision 1
Scripter Casper42
Tags CSS | MySpace
Comments 14 comments
This one may get me in trouble or kicked off MySpace altogether, but I thought it would be a fun bit of CSS magic to post.

As some of you may already know, MySpace does a REALLY good job of preventing images, script and some other tags from being used to customize your space. They have even gone to the extent of using tables without ID's to do the layout.

Pretty ingenious, allowing some customization, but still keeping those annoying ads for single women available to me and my youth groups kids, my family, etc..

Well no more - I want my friends to visit My Site, not just MySpace - so I have a clever method of getting them to go there, instead of posting comments on MySpace...

Check out my space to see this code in action!
www.myspace.com/casper619
7
Date Submitted Thu. Jan. 11th, 2007 8:47 AM
Revision 1
Scripter Casper42
Tags ASPX | C | CSharp
Comments 3 comments
This little number will allow the contents of other pages to be included or embedded into the rendered HTML of an aspx page. Using the WebClient class from the .NET framework, you can conditionally load pages, even manipulate the HTML before it is rendered and in this example, fill in forms and execute javascript actions.

The following example shows how to auto-login to an Exchange Server - this was something requested for inclusion into our portal, but I left out the logic that pulls/decrypts the real password - for obvious reasons.

Enjoy!
~Jeremy
7
Date Submitted Thu. Jan. 11th, 2007 9:12 AM
Revision 1
Scripter Casper42
Tags ActiveDirectory | AD | ADAM | vbs
Comments 0 comments
I wrote this script to ease installation of LDIF files into ADAM (Active Directory Application Mode). Some .NET portal vendors choose a hybrid of SQL and ADAM for their applications, ours did just that. When developing portlets, they must be registered in ADAM to be made available to the portal.

In the course or portlet development it was a pain to locate the directory the LDIF file (description file) lived and then to execute the LDIF installer - so I made it easy - a generic LDIF installer script. It uses the common OpenDialog to allow for searching for the file and then installing it once the file is selected - a real time-saver.

I will have more AD type goodies for you soon...(LDIFs are also used for creating or manipulating User and Computer accounts in AD)
8
Date Submitted Thu. Jan. 11th, 2007 9:47 AM
Revision 1
Scripter Casper42
Tags ASPX | SQL | VB.NET
Comments 2 comments
This routine will get an image stored in a SQL database (IBM Informix shown here) as a BLOB and return it to the screen.

To place this on an HTML page simply add

I have an MD5 hashed version as well, but can't share that...(So you can have encrypted id's passed)

Have fun,
Jeremy
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 Thu. Nov. 16th, 2006 5:30 AM
Revision 1
Beginner Celebhir
Tags characters | PHP | split | String
Comments 0 comments
Function that splits a given string into sections based on the allowed length for a section. Does not split words up. Splits string on Space character (can be set to another character)
5
Date Submitted Mon. Dec. 18th, 2006 8:30 AM
Revision 1
Beginner cfDavid
Tags CF_NoJunk
Comments 2 comments
A sipmle tag that masks email addresses from spambots or email harvesters.
4
Date Submitted Sat. Aug. 26th, 2006 10:17 PM
Revision 1
Beginner cf_ernie
Tags "SQL Server" | ColdFusion | SQL
Comments 1 comments
This is a little script I wrote that copies your database through a cfquery statement

Enjoy,
Ernie
ernest.breau@gmail.com
6
Date Submitted Sun. Aug. 27th, 2006 11:03 AM
Revision 1
Beginner cf_ernie
Tags cfhttp | ColdFusion
Comments 0 comments
Scriptname: WhatsUpCF.cfm
Author: Ernest Breau Jr.
StartDate: 08/02/2006
EndDate: 08/02/2006
Description: This script returns the status of a web page
Dependancies: CFHTTP

Usage:
cf_WhatsUpCF
url="http://#qry_detail.DomainName#"
timeout="1"
SendMail="yes"
MailTo=""
MailFrom=""
MailServer="localhost"
var="WhatsUpCF"
3
Date Submitted Tue. Sep. 25th, 2007 10:50 AM
Revision 1
Helper chaos
Tags "form input" | "input focus" | autofocus | JavaScript
Comments 0 comments
This script performs reliable, cross-browser input autofocus that often can be used simply by dropping it in, with no modifications to the form or HTML body. It refuses to switch focus if it detects that the user has interacted with the form (avoiding a major source of annoyance with autofocus scripts) and correctly handles Firefox tabs opened "in the background", which most autofocus scripts fail on. Official home is on the Lost Souls MUD Grimoire.
« Previous 1 2 3 4 5 6 7 8 9  ...  55 56 Next »