stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


How to Create a JavaScript Web Page Screen Saver







How to Create a JavaScript Web Page
Screen Saver

How to Create a JavaScript Web Page
Screen Saver
06/08/2004 12:29 PM

This JavaScript tutorial shows you how to implement a screen saver on a web page. It activates after a timeout, hides the current content of the page, creates an attractive display and more. By Guyon Roche. 0608




This is a GrokNews Entry: (what is grok?)





Similar Items

How to Create a JavaScript Web Page Screen Saver

Grok Headline matches for How to Create a JavaScript Web Page Screen Saver

GraFX Saver Pro 4.0 Released - Create
Professional Screen Savers in Minutes


GraFX Saver Pro 4.0 Released - Create
Professional Screen Savers in Minutes
02/01/2005 09:28 PM
Create professional screen savers using images, video, and audio in record time. GraFX Saver Pro supports over 20 image and video formats, as well as all popular audio formats (MP3, WMA, WAV, MIDI, etc) for background sound. Advanced features for created screen savers include 120+ special effects; complete control over behavior and functionality; trial version screen savers to sell; end user installations for quick and easy setup; and much more. [PRWEB Jan 27, 2005]

Movie Screen Saver 1.2


Movie Screen Saver 1.2 04/04/2005 10:38 AM
Use movies, Flash animation as screensaver.

DSW Screen Saver Builder v5.0


DSW Screen Saver Builder v5.0 08/19/2004 05:00 PM
Screen Saver Builder is a screen saver program showing pictures from the folder you select. It is your own screen saver slide show! It can also play sound files (MP3, WAV, MID). The program has options like pictures size scaling, withhold time, random picture choosing, background color set , clock, password protect, 10 image transition effects, image preview, text messages. [Shareware $14.50 1.5 MB]

Mac Tip: Screen Saver Wallpaper


Mac Tip: Screen Saver Wallpaper 08/07/2004 10:40 PM
G4 Tech TV Aug 8 2004 2:12AM GMT

RSS Screen Saver for Libraries!


RSS Screen Saver for Libraries! 08/27/2004 01:54 PM

C# Express RSS Screen Saver Starter Kit 

"One of my favorite features of C# Express is the built-in RSS Screen saver Starter Kit. If you’ve never built a screensaver before, or if you have never written code that uses RSS, then you’ll find the RSS Screen saver a great way to start programming.

In a nutshell, the RSS Screen saver is a screen saver that lets you select and validate an RSS feed, select a background directory for images to loop through, and the screensaver will loop through the items in the RSS feed." [Dan Fernandez's Blog, via del.icio.us/tag/rss]

I'm not enough of a programmer to run with this one, but this could be a very cool tool for libraries. Imagine being able to display your current news on your workstations via the screensaver in real-time without any manual intervention. Just update your "what's new" blog and it magically appears on all of your workstations. Major, major woot with a happy dance thrown in for good measure!

 


Windows XP Tip: Personal Screen Saver


Windows XP Tip: Personal Screen Saver 09/09/2004 10:05 PM
G4 Tech TV Sep 10 2004 2:36AM GMT

Use iTunes visuals as a screen saver


Use iTunes visuals as a screen saver 02/11/2004 11:04 AM
I have never been one for screen savers, however I've recently found one that I like quite a bit. Using a little thing called ScriptSaver (previously used in this hint), which runs an AppleScript of your choice when your scre...

Digital FireworX Screen Saver 2.1


Digital FireworX Screen Saver 2.1 05/27/2004 04:59 PM
Realistic fireworks bursting across your screen!

The Convention Blog Inline Screen Saver.


The Convention Blog Inline Screen Saver. 07/27/2004 06:16 AM
Pete's been working with me on various stuff for the last few weeks and his help has been invaluable. So, for fun, (and because Shellen made us) he whipped up a page that refreshes convention blog posts every few seconds or so. It's neat and TiVo-like. You can pause it by pressing "P " or move back and forth among posts by pressing the bracket keys "[" or "]". It live ...

.Mac members get Freefall screen saver,
new tutorials


.Mac members get Freefall screen saver,
new tutorials
02/01/2005 09:21 PM
Apple is now offering .Mac members a free screen saver from XtremeMac's Freefall satellite simulator and a 30 percent discount on the software...

Matrix Reloaded GL Screen Saver ported
to Mac OS X


Matrix Reloaded GL Screen Saver ported
to Mac OS X
09/06/2004 02:48 PM
A very funky rendition of the Matrix code green rain effect has been produced in this Screen Saver that has been ported to Mac OS X. It not only produces the streams of green code, but seemly wraps them over pictures from the films.

Synchronize Domain and Windows 9x Screen
Saver Passwords


Synchronize Domain and Windows 9x Screen
Saver Passwords
04/09/2004 04:09 PM

PDC 2003 Avalon Screen Saver Contest
Winners


PDC 2003 Avalon Screen Saver Contest
Winners
12/11/2003 06:09 AM
Download the source code for the PDC 2003 Avalon Screen Saver Contest Winners.
  • Required: Windows "Longhorn" PDC Release
  • Recommended: Visual Studio .NET "Whidbey" PDC Release

Imagine Cancun & the Riviera Maya Screen
Saver 3.2.7


Imagine Cancun & the Riviera Maya Screen
Saver 3.2.7
01/04/2005 11:24 PM
A screensaver of this popular touristic region in Mexico.

.Mac updates tutorials, offers free
screen saver


.Mac updates tutorials, offers free
screen saver
02/01/2005 09:55 PM
Apple's subscription-based .Mac online service has updated its offerings with a free screen saver for members, a discount on a satellite simulator, and updated tutorials in its Learning Center focused on the new applications including with iLife '05.

Remove iPhoto albums from Screen Saver
panel


Remove iPhoto albums from Screen Saver
panel
06/18/2004 04:15 PM
I was really annoyed by the fact that every album I created in iPhoto also appeared automatically in the Screen Saver album list (in the Desktop & Screen Saver pane). There is no way to disable that feature, nor to drag the n...

How to Create a JavaScript Image Viewer


How to Create a JavaScript Image Viewer 07/09/2004 10:15 AM
Today, a solution to online photo albums is presented. Using JavaScript, images are displayed as thumbnails. If you wish to see more detail, click on the thumbnail and it will expand to its full size. By Guyon Roche. 0709

Use JavaScript to Create a Scrolling
Grid


Use JavaScript to Create a Scrolling
Grid
04/09/2004 03:57 PM
A problem often encountered in web design is condensing large tables of data into a standard 800x600 web page. In this article you'll Iearn how to use JavaScript to render any amount of table data into a small grid. By Guyon Roche. 0318

How to Create a JavaScript Windows
Interface


How to Create a JavaScript Windows
Interface
05/13/2004 02:05 PM
When Windows first appeared, multiple windows could be used to separate unrelated bits of information within one or many programs. Today, Guyon Roche creates a JavaScript based framework that can be used to organize a web application in a Windows-like fashion. 0513

Executing JavaScript on page load


Executing JavaScript on page load 05/26/2004 01:27 AM

Peter-Paul Koch recently wrote:

In my opinion, recent advances in JavaScript theory call for the removal of the event handlers that some Web developers-and all WYSIWYG editors-deploy in large masses in their XHTML files, where they don’t belong.

PPK is talking about inline event attributes such as the infamous onclick="" and onmouseover="" which have infested our HTML ever since Netscape introduced JavaScript back in version 2.0 of their browser. The alternative to these handlers is to add event handlers to elements after the document has loaded. PPK has detailed coverage of the various ways of doing this on his QuirksMode site.

In my work with unobtrusive JavaScript, I've found that by far the most common action I take is "registering" a script to be executed once the page has finished loading. There are a number of ways of doing this, which I described in my article E nhancing Structural Markup with JavaScript. Unfortunately, none of them are perfect if you wish to write truly reusable scripts.

For a script (such as my blockquote citations script discussed in the article) to be properly reusable, it needs to behave nicely in the presence of other scripts. This means that assigning a callback function directly to the window.onload handler is out of the question as doing so will over-ride previously assigned callbacks from other scripts. The correct way of adding a handler to an event without over-riding other handlers is to use modern event attachment method, which sadly differ between IE/Windows and other browsers. Scott Andrew's addEvent function handles the differences for you but comes with one major and rarely discussed drawback: it fails silently in IE5/Mac. If you care about the many Mac users still on OS9, you need to support that browser.

Anyway, I believe I've found a solution. Check this out:


function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}

addLoadEvent(nameOfSomeFunctionToRunOnPageLoad);
addLoadEvent(function() {
  /* more code to run on page load */ 
});

The addLoadEvent function takes as an argument another function which should be executed once the page has loaded. Unlike assigning directly to window.onload, the function adds the event in such a way that any previously added onload functions will be executed first.

The way this works is relatively simple: if window.onload has not already been assigned a function, the function passed to addLoadEvent is simply assigned to window.onload. If window.onload has already been set, a brand new function is created which first calls the original onload handler, then calls the new handler afterwards.

addLoadEvent has one very important property: it will work even if something has previously been assigned to window.onload without using addLoadEvent itself. This makes it ideal for use in scripts that may be executing along side other scripts that have already been registered to execute once the page has loaded.

I've tested the above code successfully on IE 5, 5.5 and 6 for Windows; IE 5 and Safari for Mac; Opera 7.5 and FireFox on Mac (which should mean it works with those browsers on Windows as well). Opera 6 for Mac failed the test but has poor JavaScript support anyway and is hopefully becoming more and more rare now that Opera 7 has matured.

I've created a test page for the function. I'd be interested to here any bug reports from browsers I haven't covered.

I'm still considering ways in which this technique could be extended to work for generic events rather than just page loads. The challenge there would be to ensure that information about the event itself was passed to the event handlers in a consistent manner. For page load events this isn't an issue as the event object does not contain any valuable information.

Update: I've written the new technique up on my SitePoint blog and incorporated an explanation of closures and how they are used to preserve any previously assigned onload handlers.


How to Create a WYSIWYG Rich Text Editor
in JavaScript. Pt. 2


How to Create a WYSIWYG Rich Text Editor
in JavaScript. Pt. 2
03/14/2005 05:04 PM
Today, you'll learn about different methods for handling keyboard input and the RichEdit control. Keyboard input is handled by two functions; onKeyPress() and onKeyDown(). The RichEdit constructor creates the necessary HTML elements to display the control. By Guyon Roche. 0210

How to Create a WYSIWYG Rich Text Editor
in JavaScript. Pt. 1


How to Create a WYSIWYG Rich Text Editor
in JavaScript. Pt. 1
02/05/2005 09:56 PM
On forums, there are many features that allow users to compose richly formatted text with animated emoticons, etc., but you can't see what the finished work will look like until it's posted or unless a preview is generated. Here, author Guyon Roche uses Javascript to show you how your text will look as you write it. 0102

How to detect long page loading times
with Javascript


How to detect long page loading times
with Javascript
12/02/2002 01:17 PM

How to Create Universally Related Popup
Menus with Javascript: Single Form
Version III


How to Create Universally Related Popup
Menus with Javascript: Single Form
Version III
06/17/2005 03:32 PM
In this article, the author modifies Andy King's original version of the Universally Related Popup Menus (URPMs). His intention was to make it more suitable for submitting data to a server and to simplify the JavaScript "O" objects used to store all the related list data. Read on to see how he did it. By Rob Gravelle. 0613

Small Screen - Width guides for web page
designs


Small Screen - Width guides for web page
designs
09/24/2004 12:08 PM
The macosxhints Rating:[Score: 9 out of 10] Developer: ARTIS Software / [Product Page] Price: $9.95 -- Full Screen Tools package Late again, I know. No good excuses this time, just been busy with a lot of stuff. Some of...

GeekTech: Create Your Own Home Page With
Your Favorite Links (PC World)


GeekTech: Create Your Own Home Page With
Your Favorite Links (PC World)
04/27/2004 03:26 AM
PC World - Here's GeekTech's guide to creating your own Super Kickstart page filled with all of the Web sites you regularly visit.

Create a Web Page to Link to the
Resource Explorer in Notification Server


Create a Web Page to Link to the
Resource Explorer in Notification Server
04/21/2004 06:28 PM

Create multi-page PDFs using Image
Capture tools


Create multi-page PDFs using Image
Capture tools
04/20/2004 11:12 AM
Go to System/Library/Image Capture. There we find two folders that contain some interesting stuff: "Automatic Tasks" and "Tools." In "Automatic Tasks," we have "Build Web Page" (BWP) and "Build Slide Show" (BSS), both of whic...

WindJack Solutions, Inc Has Released
AcroDialogs, a Graphical Designer for
Creating Acrobat JavaScript Dialogs -
Lets You Create Custom Dialogs Puickly
and Easily


WindJack Solutions, Inc Has Released
AcroDialogs, a Graphical Designer for
Creating Acrobat JavaScript Dialogs -
Lets You Create Custom Dialogs Puickly
and Easily
06/22/2005 03:00 AM
AcroDialogs is a plug-in for Acrobat 6 and 7 that lets you easily create custom dialogs for PDF documents and forms. In a PDF file, dialogs can be used to create a document splash screen, customized alert boxes (with your own images and special buttons), and sophisticated input panels. All you do is drag and drop Buttons, Edit Boxes, Images, etc. onto a dialog design. Rearrange, resize, and copy/paste dialog box elements. AcroDialogs allows you to easily create complex dialogs saving hours of coding in Acrobat. [PRWEB Jun 22, 2005]

Professional JavaScript for Web
Developers: JavaScript in the Browser,
Pt. 1


Professional JavaScript for Web
Developers: JavaScript in the Browser,
Pt. 1
06/22/2005 02:51 AM
Web browsers have come a long way over the years and can now handle a variety of file formats, not just conventional HTML. Here, you'll learn how JavaScript fits into HTML, other languages, and some basic concepts of the Browser Object Model (BOM). By WROX Press. 0620

RAM Saver Pro v3.5


RAM Saver Pro v3.5 01/10/2004 03:19 PM
Easy-to-use RAM optimizer tool that will keep your computer running faster. It increases the operation system performance by making more memory available for your applications. [Shareware $19.95 21 Days 406 KB]

Lexington Herald-Leader | 07/04/2004 |
Front-page news, back-page coverage


Lexington Herald-Leader | 07/04/2004 |
Front-page news, back-page coverage
07/08/2004 02:18 AM
Noted in yesterday's Lexington [KY] Herald-Leader .. "We regret the omission." .. Read article .. Oops

kentucky.com/mld/kentucky/news/local/9077613.htm
track this site | 8 links


Webcam Saver v1.0


Webcam Saver v1.0 12/07/2003 12:49 PM
The Webcam Saver allows you to admire pictures from webcams situated all over the world. Presently, when your screensaver is activated you will be able to see what happens in other cities, countries or across the street. You will have a great number of settings at your disposal. You can disable some webcams or add other ones. This program allows you to see the world on your display without leaving your house or your office. [Shareware $14.95 30 Uses 964 KB]

workspace saver


workspace saver 02/19/2004 03:40 PM
Workspace Saver

Outsourcing not always a money saver


Outsourcing not always a money saver 11/17/2003 06:37 PM
ZDNet Nov 17 2003 6:22PM ET

IBM's energy saver


IBM's energy saver 11/14/2003 07:28 PM
Google, the large Internet search company, has been critical of high-powered server computers, saying they consume too much energy and require costly cooling ...

New - WinGuides Email Saver Xe 2.0 for
Windows


New - WinGuides Email Saver Xe 2.0 for
Windows
11/04/2003 08:40 AM
http://www.winguides.com/images/boxshots/boxshot_es_145.gif

10.3: Use Energy Saver to run system
maintenance tasks


10.3: Use Energy Saver to run system
maintenance tasks
12/08/2003 11:45 AM
I don't know if this stating the obvious, but with the new Schedule feature in the Panther Energy Saver System Preferences panle, you can now set your machine to automatically turn itself on and off at any given hour. This is...

Wi-Fi Phones Could Be Next Money-Saver
In Telecom (TechWeb)


Wi-Fi Phones Could Be Next Money-Saver
In Telecom (TechWeb)
05/10/2004 03:16 AM
TechWeb - With hot spots turning into "hot zones," the next wave may be drawing near--phones and gear that send conversations over wireless Internet networks for little or no cost.
Grok Description matches for How to Create a JavaScript Web Page Screen Saver
GrokA matches for How to Create a JavaScript Web Page Screen Saver

How to Create a JavaScript Web Page Screen Saver

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Redesign: Design
Notes

Other Redesigns
WaSP asks: you!
Upstream Speeds
Getting To Be More
Important

Four out of four
experts agree: Linux
lowers TCO

Virtual Private
Library™

60% Of Google's
Users Would Leave in
a Heartbeat

mod_perl/Web
Programmer

Titan to Lockheed:
Buy Me, Please!

Bob Evans Still
Hog-tied

Korn/Ferry Gets Jump
on Jobs

JB Oxford Unplugged
Game Over for
Take-Two?

Buffettize Your
Finances

Northrop Grumman
Avoids the Shoals

Why the FCC should
die Perspectives
CNET News.com

15 Years Later, the
Remaking of a
President
(washingtonpost.com)

Anderson Joins Apple
Board

London's
e-government
launches IT project
'library'

BT to put 'brains'
on the edge of new
network

Lawsuits readied
against UK
song-swappers

Briefly: Apple names
former CFO as board
member

Apple names former
CFO as board member

Up All Night Listen
to weekly tech
update: UK games
take on the US and
the latest on
mobiles

AMD to Launch New
Brand of PC
Processors

New Pact on
Sub-Micron Chip
Standards

Intel Cuts Xeon
Prices

Microsoft cleared of
anti-competitive
behaviour

SAP/Microsoft would
not pass regulators

Cisco to bundle
Trend antivirus

First quantum
computer network
goes online

DoubleClick
restructures to
fight off rivals

eBaytoiCal 1.0
AMD To Deliver
Low-End Chips

Orange Thinks Small
with New Smartphone

Stakes Are High in
BlackBerry Patent
Appeal

Seagate set to
announce it's
contribution to the
1 inch drive market

Domain name
registrations hit
all-time high

BT Starts Scheme
Barring Customers
from Viewing Child
Porn Sites

Dell launches
four-way 64-bit
Itanium server

OS X vulnerability
"finally" repairable

SBC deal to put
Wi-Fi in up to 6,000
McDonald's (AFP)

Spam hit all-time
high in May : survey
(AFP)

CGIScripter 2.08 now
generates Perl CGI
scripts

Predictable
New wireless systems
put 3G on guard

Two Car Bombs, and
Land Mines, Add to
Casualties in Iraq

Threat of Terror
Colors Plans for
Security at Reagan
Funeral

Greenspan Says Fed
May Boost Interest
Rates

The Fat Epidemic: He
Says It's an
Illusion

what is grok?