Advertisement

Results for "Category: Internet/ Browsers/ HTML"

C_Volume2 #82889
Count How Many Visitors Are On Your Website

This short code keeps track of the number of people currently on your site - just like Dev-Center. Put this in a file called global.asa and upload it to the root web. [http://www.yourdomain.com/global.asa] Use the following in an ASP page to display the number of visitors: or

C_Volume2 #82893
Hack... er, uh... verify ISP/website security

My purpose for this was educational. I was trying to learn the Scripting.FileSystemObjects which were not documented well at the time. You can use it for educational purposes, or to test the security and see how well your server's NT user permissions are locked down (for instance, if your anonymous user can browse and download files from your WinNt directory (which is usually the case!), your permissions are probably not quite up to snuff)

C_Volume2 #82894
Random Refresh

This ASP page is randomly refreshed. The refreshing time is from 5 up to 20 seconds. You can use it with displaying a commercial banners.

C_Volume2 #82900
Simple Search

Search in the site for any word

C_Volume2 #82901
Send Mail using ActiveX DLL

You can send e-mail whom ever you want from who ever you want, using wich ever server you want This program uses my own control Active X, in the zip you can find the source code.

C_Volume2 #82902
Controlling the Height of HTML Tables that Contain Forms

When working with HTML forms and ASP the order of the tags CAN and WILL make a difference! This article details some traps that HTML newbies can run into when designing ASP pages.

C_Volume2 #82903
Writing a COM Object in Visual Basic

This a tutorial I wrote because I had so much trouble learning how to write a COM object, I wanted to put it in simple terms for anyone else who might want to get into it.

C_Volume2 #82908
PSC Newest Submission Grabber

This Script will go out to planetsourcecode.com and retrieve the newest submissions. It saves the data it got in a text file so we don't get the info every time the page loads. It will get the submissions from ALL Worlds on PSC. After it gathers the data it strips All the HTML from it. Then it will out put the submission in a table for easy display. See Screen Shot for Output. Ive Uploaded it in zip format now for eazy download.

C_Volume2 #82910
Resize and move browser window after opening

Resize and position the browser window

C_Volume2 #82920
VBScript Tutorial: Chapter 2--Introduction to the IE Object Model

Since you are using VBScript, that should mean that either you have separate versions for Netscape and Internet Explorer users, make pages which tailor themselves to the client's browser, use VBScript only for non-essential page features, or are developing only for people using Internet Explorer. I have provided an example of a forwarding page which separates users capable of VBScript from others, and also a script which calls extra features if the client is using Internet Explorer. Note that they both use JavaScript, so that they will function in either NN of IE.

C_Volume2 #82928
Force a Save File Dialog

This piece of code FORCES the user to save known file types (ie: *.mpg, *.gif, *.jpg, *.htm... you get the idea). Normally these (known file types) are opened in the browser, if you wish to bypass this feature in the browsers and allow the user to save a copy to their local computer without telling them to "right click" on the file and select "save target", this is the way. This code is REAL SIMPLE. I commented EVERY line so you know exacly what purpose it serves. If you have any enhancements to make to it, please let me know I'd love to see them. Please vote good or bad, 'cause I'd like to know.

C_Volume2 #82941
Client/Visitor Information

The code uses a combination of ASP and Javascript to bring together in one page the ability to grab as much useful information about your site visitors as possible

C_Volume2 #82945
Polls Admin v2.02

Polls Admin is back. Custom number of questions, customizable layout, emailing, printing.

C_Volume2 #83014
Parse Metadata from URLs

This class demonstrates how you can request the HTML of a URL from another website using the XMLHTTP object to spider the web page. (Simular to the methods of the ASPHttp object). The data is parsed and made available through a class object. This code is great if you are thinking about creating a Search Engine - or you just want to verify that URLs exist that users may place in there profiles. Also handy for finding broken links. If your server has IE5, or XML objects from Microsoft installed on it, then you should be able to use this demonstration without any problems.

C_Volume2 #83015
Client Bandwidth Recorder

Measures the bandwidth in kbps (kilobits per second) that the client is viewing your website at. Works with modems, dsl, cable modems, network cards and any other means of connecting to the internet.

C_Volume2 #83023
Spell Checker

Use Microsoft word spell checker utility

C_Volume2 #83047
Detect if Cookies are Enabled with 1 (that's one!) line of code

In looking for an easy way to detect the client browser's cookie settings, everything I've found has been complex. Each example I've found requires a page refresh or redirect to itself. This severely hampers true application development as the Request.Form collection is then cleared. This code is something simple I stumbled on and it works (see explanations).

C_Volume2 #83073
ASP Refresh

Instead of using a META refresh, use an ASP refresh to insure you have the most current copy of the web page.

C_Volume2 #83074
Format Date

Format the current data (off the server) in the following format, for example, Tuesday, June 19, 2001.

C_Volume2 #83075
Add to Favorites - Dynamically!

After searching throughout the web for a JavaScript function that would add a web page to a users favorites folder, I grew increasingly impatient with the laziness of others code, (hey why re-create the wheel?) because others code only lets you add one page to a users favorites folder. Therefore, I created a DYNAMIC “Add to Favorites” function, that for example will add the web page where the code is located to the users favorites. Just create an include virtual, (for script) and insert the include onto all of your pages, or preferably if you have a header page include, just copy the code into that – and Voila! As long as you have the TITLE tags on your page, you’re set!

Languages
Top Categories
Global Discovery