WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Flash Your Message at Status Bar
Categories : Java Script, Browsers
Chetankumar Akarte
Date : Dec 05th 2006
Grade : 5 of 5 (graded 1 times)
Viewed : 5453
File : 4545.zip
Images : Image 1
Search : More code by Chetankumar Akarte
Action : Grade This Code Example
Tools : My Examples List

 
Like this code?
Show the author your appreciation.
Submit your own code examples 
 

The following sample of code gives an idea of how to add a blinking flash message at the status bar. Adding flash text at the status is very simple for that we use a single if-else loop in function blinkflash().

First of all we define three variables message for ‘display message at status bar’, speed for ‘set time interval to flash text’, and status and assign status=1. In the if-else loop we check the condition if (status == 1) and display message at status bar by window.status=message; and make status=0; when setTimeout("blinkflash();",speed); call function blinkflash() here the else condition is satisfied and window.status=""; display blank at status bar and set status=1; The above process is done with the interval of only 500 milliseconds so we feel that message is flashing at the status bar.

<SCRIPT language=JavaScript type="text/javascript">
var message = "My Flash message...!!!";
var speed = 500;
var control = 1;
function blinkflash()
{
  if (control == 1)
    {
      window.status=message;
      control=0;
    } 
  else
    {
      window.status="";
      control=1;
    }
  setTimeout("blinkflash();",speed);
}
blinkflash();
</SCRIPT>



Bouncing Marquee at Status Bar
Categories : Java Script, HTML, Browsers
Get your browser details using javascript
Categories : Java Script, Beginner Guides, Browsers
Cross browser event management functions using JavaScript.
Categories : Java Script, Browsers
Classic guest book made with PHP and Flash
Categories : PHP, Flash, Java Script
filesystem Show Files Script
Categories : PHP, Filesystem, Java Script
Menu in sliding bar or tree style. Handles frames by using small amount of javascript. Handles external and internal pages. Allows custom code to replace a menu item.
Categories : PHP Classes, PHP, Java Script, DHTML
Zephyr: AJAX Based Framework for PHP5 Developers
Categories : PHP, AJAX, Frameworks, Java Script, Web Applications
Validating Credit Card Numbers Without Bank Involvement
Categories : Credit Cards, Ecommerce, Java Script
Changing the Style of form objects using the JavaScript OnClick method.
Categories : Java Script, Form Processing, Beginner Guides, CSS
A Complete table(ADD,EDIT,VIEW,DELETE) management System PHP,MYSQL, JAVASCRIPT
Categories : PHP, MySQL, Java Script, Databases
PHP Calendar
Categories : PHP, Calendar, Date Time, Java Script, CSS
How to use Variable Variables (dinamic variable names) with Java Script
Categories : Java Script, Variables
How to make IE open more than the 2 default connections to a server?
Categories : Browsers, General
How to force the user to download a file instead of opening it up in an controlled environment within the browser (i.e. MS Word/Adobe Acrobat)
Categories : Browsers, PHP, HTTP
A Simple sign up script with PHP and JavaScript validations.
Categories : PHP, Java Script, MySQL, Databases