You currently have Javascript disabled, to use some of the features (such as the login) you must enable it for this site
Auto Update Check | Custom Buttons²

Auto Update Check

Post & Get buttons here
Forum rules
Click Here

Please report broken buttons by clicking the report icon Image in the post.

Postby squeaky on Mon Apr 21, 2008 9:33 pm

:ff2: :cb2: Auto Update Check v 1.03Auto Update Check v 1.03


This is a fully working demo of the necessary button code to automatically check for an update of any button that you add this code into.

Most buttons do not need an update check, but where you have an operational button and plan to add further features at a later date - adding this update check will let button users know automatically that an update is available.

It is designed to run the first time that a user clicks on the button in any given session. This is a deliberate choice over the possibility of doing the check on browser start up - it's a shade less obtrusive and users are likely to start the browser more often than they use a button.


To test the button:-

After installing it - edit the version attribute to something less than it currently is. Ie change the date bit or the version number.

The first time you click on it the button will load the button's homepage in the background and check the version number posted on the homepage against the current version of the button. It will alert you if there has been an update. If not it just closes the window quietly.


The Help Tab contains instructions on how to add the script from the code tab and the initialise tab into any button you think might later need updates.
Regards and stuff,
Richard.

CustomButtons2:- ver 2.0.7.5; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
User avatar
squeaky
Moderator
Moderator
 
Posts: 445
Joined: Sat Mar 01, 2008 8:48 am
Location: Sunny Suffolk

Return to Buttons Database

Who is online

Users browsing this forum: • Registered: 0 and 0 guests