Page Detail Scripts - Page 5
These scripts all deal with Page Detail JavaScripts. There are several scripts that do make a site more pleasant to visit. You can write the time a visitor entered the page, how long they've been there, write when the page was last updated, whether it was updated since you last visited, and lots more! They are very difficult to write - just look at the code. General questions about page detail JavaScripts here should be posted to The JavaScript Forum.
-
No Right Click 4
(4.0+ browsers) Ever wanted to prevent users from "borrowing" images from your site through right-clicking them and "save image as..." or right-clicking the page and viewing your page source? This script will (attempt to) disable the right click on your page! As explained, however, this script is not fool-proof !!
-
Page Extension
Displays a message based on the extension (like .html) of the web page. And, it is a breeze to add more file types to the script.
-
Page Scroller
Placing the cursor on the page's up or down arrows located in the bottom right corner of the browser window will automatically scrolls the page. Cool!
-
Page Up For
JavaScript can even display how long your web page has been online. Just enter the date, the script does the calculations, and prints out the time. It has a very nice readout and looks very professional!
-
Page Variable
Not exactly the most used script, but this one allows you to reference the page name in a variable. Instead of yourdomain.com/index.html, you can use this script to create a variable that stores index.html for your use! You can use it with alerts, document.write, etc. Take a look!
-
Page Viewed Date
I think it's always interesting to see some information about the page itself. This JavaScript will write out when the page was viewed, according to the visitor's clock.
-
Preload Page
Displays a loading message as the page, including images and sound elements, are loaded in the background. When the page finishes loading the screen is shown, similar to how Macromedia's Flash plugin works. Easy!
-
Protect Images
(4.0+ browsers) Keep visitors from stealing your site images by right-clicking and then selecting "Save Image As..." This script will disable the right click on all the images on your site. Not foolproof, but helpful!
-
Reload on Resize
Useful for situations when a page resize moves the page elements improperly or causes JavaScript errors, which has been known to occasionally occur on pages with layers. As a solution, this script reloads the web page when the user resizes the page.
-
Resizable Viewer
Displays a small 'image loading' picture while the main image is loading. When the image completes, the viewer window is appropriately resized, centered on the screen, and 'image loaded' is displayed. Neat!
-
Restore Focus
Sends the focus to a window by putting it on top of the other open windows. Useful if you need to open a window but keep another window on top! It can even send the focus once every certain number of seconds, neat!
-
Right Click Menu
(Internet Explorer Only) Displays a menu when the visitor right click's on the page. You can easily use style sheets to modify the menu 'skins', or write your own. Awesome!
-
Roman Numerals
This script helps you write the copyright statements on your page. It outputs the correct Roman Numerals for any year you want, including the current year. Clever!
-
Share A Page
If you would like to have several sites sharing one 'contact us' page, you can! Each site can link to the same page (but each with a unique string) and the appropriate site's information will be highlighted yellow in the contact table. For example, If they clicked on the 'contact us' link on the real estate page, the table cell with the real estate contact email address will be highlighted yellow instead of white on the contact us page. Clever!
-
Thumbnail Viewer
Save page space by opening a new window to display larger images on your site when a thumbnail image or a picture text link is clicked. The same window is re-used when the images are the same size. Cool!
-
Time Box
This is a neat little script that makes your web page look a whole lot more 'professional'. This JavaScript will display a small box with the time the visitor loaded the page.
-
Time Greeting
Don't just welcome your visitors anymore, JavaScript can write good morning, good evening, or good afternoon based on the time the page was loaded, according to the user's system clock. Neat!
-
Time On Page (Alert)
If you want to show your visitors how long they have been on your page but don't exactly like those clock displays, then you might like this script. When the visitor leaves or clicks the button, they are alerted to the time they have been on your page. Many times, they won't even expect it!
-
Time On Page (Clock)
Occassionally, it might be interesting to show the visitor how long they have been on your page. So, you can use this script to write a clock to the screen that will tell them exactly that!
-
Time on Page (OnUnload)
When someone visits your web page, JavaScript will start the clock. When the leave that page, they will be alerted with the time they have been viewing the page! Cool!
-
Time On Page (Seconds)
If the other time on page scripts seem too impersonal for you, this could be your solution. Instead of the 00:00 readout, it displays 'X Secs'. Just another wonder of JavaScript....
-
Top Window
Use this JavaScript to keep a window 'on top' of the rest of your other windows. Not sure what I mean? Try it out and see!
-
Week Day Image
Displays a new image every day of the week. For example, it displays monday.jpg on Monday, tuesday.jpg on Tuesday, etc. You can also change what image is shown each day. Easy!
-
loader_frame.html

