Apparently there is no direct method to determine the length of an array in VBScript. The best way I could find is to use UBound(ArrayName). This will return the upper limit of the array. Unfortunately, it doesn’t account for empty items in the array. In the example below Length will be equal to 10, not 1.
Dim NewArray(10) NewArray(0) = "Apple" Length = UBound(NewArray) ‘Length is equal to 10, not 1
I have in the past wanted to have the cursor look like it was hovering over a link when it was not in fact over an link. As you know, when the cursor is over a link it shows up as a hand. Well, what if you want them to click something that isn’t a link - how do you communicate that it is clickable.
The answer is cursor:hand for Internet Explorer (IE) and cursor:pointer for Mozilla and Netscape (NS).
Google Adsense analyzes the content of your page, matches it to their existing advertisers and then displays the advertisements that your visitor might actually be interested in. All you have to do is copy/paste a piece of javascript code into your template. You’ll probably have noticed adsense on this blog underneath certain posts.
To sign up for Google Adsense, use the link below:
Microsoft is celebrating the launch of Visual Studio Express by offering it for free for the first year. This includes their Visual Web Developer 2005 Express Edition. This is a great light-weight tool for .NET 2.0 development. I’ve been using the beta version of it for the past couple of months.