Page Detail Scripts - Page 3 | JavaScriptSource

Page Detail Scripts - Page 3

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.

  • Web Cam Time
    Chris Herrod Jun 1, 2001

    Set your Web Cam for a Online viewing time and an Offline viewing time. This is very useful if you do not have you cam online 24/7. It will display the updated web cam image while during the online time, and an offline image during you offline time.

  • Closing Windows
    David Sosnowski May 29, 2001

    This set of short, easy scripts shows six different ways to close a window from JavaScript, including closing windows from a clicked link, a clicked image, or a clicked form button.

  • Dynamic Title Bar
    David Sosnowski May 17, 2001

    Displays changing text in a multi-message display in the browser title bar. Any number of message lines may be used, and a moving, attention-getting slide box draws the eye to the messages.

  • Go Behind Popup
    David Sosnowski May 8, 2001

    Launches a frameless "go-behind" popup banner window that cannot be closed unless the banner ad is clicked on. The frameless banner window persists, even if the launching browser window is closed. The banner window closes once the banner is clicked.

  • Hexadecimal Color Wheel
    May 2, 2001

    A dynamic color wheel displaying 4096 colors in a chromatic scale utilizing cross browser mouse event capture from a layer to display the hexadecimal codes of each color. Easily find that elusive color code you were looking for and learn how to manage layers and mouse events.

  • Determined Popup
    Feb 23, 2001

    This short, easy script set launches a window that continually re-opens itself and cannot be permanently closed unless the visitor clicks on a link that you provide. Compatible Browsers: NS6 and IE4-6.

  • Smart Popup
    Nannette Thacker Feb 20, 2001

    Create popup windows that will center on your screen or popup near your link without popping off the edge of the screen. Also shows how to create a clickable popup or a popup that displays when you hover over the link with your mouse. Cool!

  • Mouse Bubbles
    Kurt Grigg Feb 13, 2001

    Bubbles float up from mouse giving the effect that the mouse is under water. The bubbles even expand in Internet Explorer.

  • Scrollbar Color
    Feb 9, 2001

    (IE 5.5+) Changes the color of the scrollbars in a page dynamically. Awesome!

  • Floating Link
    Richard Cleaver Feb 8, 2001

    This link will float in the upper right corner of the browser window and return you to the top of the window when clicked. Easily modified to include floating text or image!

  • Frameless Popup
    Jan 18, 2001

    (IE4+) Launches a popup window without the Windows frame or titlebar. In other browsers, it launches a standard popup window. Position, width, and height are settable. Automatic closing of the window on leaving the page may also be optionally set.

  • Mouse Coordinates
    Jan 11, 2001

    Capture mouse X - Y positions with this easy script. Works much like our Mouse Tracker script, but much simpler! Compatible in Internet Explorer and Netscape versions 4+. Great!

  • Frame Print
    Li Weidong Dec 4, 2000

    Control which frame is printed simply by using this short script. Easy!

  • Source Viewer
    Alfie Pugh Oct 16, 2000

    View the source of any web page. This will bypass any 'No right click' scripts on the page. Clever!

  • Move Window
    Aaron Clinger Oct 13, 2000

    Move the browser window by simply clicking the buttons on the page. Neat!

  • Resize Link
    Kevin Ebert Oct 9, 2000

    Useful for webmasters, this script lets you view any web page at different resolutions by simply clicking the link and entering the height and width values. Tip: You can drag the link to your "Links" toolbar, and use it on any page you are viewing.

  • Mouse Tracker
    Randy Bennett Sep 9, 2000

    An ingenious little JavaScript to track the movement of the user's mouse and the location of mouse "events" (click, double-click, etc.) Works in both Netscape and Internet Explorer!

  • No Right Click 4
    Martin Webb Sep 9, 2000

    (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
    Sep 9, 2000

    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
    Brian Gosselin Sep 9, 2000

    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
    Sep 9, 2000

    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
    Sep 9, 2000

    Not exactly the most used script, but this one allows you to reference the page name in a variable. Instead of, 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!

  • Preload Page
    Gilbert Davis Sep 9, 2000

    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
    Sep 9, 2000

    (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
    Sep 9, 2000

    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.