< html>
< head>
< script language="javascript">
/* IE, Firefox Browsers */
function blinkIt() {
if (!document.all) return;
else {
for(i=0;i< document.all.tags('blink').length;i++){
s=document.all.tags('blink')[i];
s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible';
}
}
}
< /script>
< /head>
< body onLoad="javascript:setInterval('blinkIt()',500);">
< blink>Am i blinking ?< /blink>
< /body>
< /html>
Note:
In this example, 1 blank space added to all the tags opening and closing area. Before you execute this example, pls remove that space and execute it.
Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts
Monday, September 8, 2008
Friday, September 5, 2008
Important Links for you?
Important Links :
- International Dialing Codes
- Listing of all the exising Domain name list
- Complete Info about a Domain
- HTML Special Characters
Sending FREE SMS
- Sending Free SMS in India
- Sending Free SMS to any mobile in India
Javascript
- Javascript Window Objects
- Entire Javascript in finger tip
- DHTML: Draw Line, Ellipse, Oval, Circle, Polyline, Polygon, Triangle with JavaScript
- Download
- JavaScript: DHTML API, Drag & Drop for Images and Layers
- Download
- JavaScript, DHTML Tooltips
- Download
- Highslide JS
- Download Highslide JS
- Calendar script using XHTML
- Download
- jCarousel - Riding carousels with jQuery
- Download Version 0.2.2
- ThickBox 3.1. Lightbox, Highslide, Litebox, SmoothGallery, FrogJS, ClearBox JS 2 or Lightview
- Download
- A PHP- and JavaScript- based File Manager
- Download Version: 2.0.0
- The Coolest DHTML / JavaScript Menu and Toolbar
Linux Commands
- Alphabetical Directory of Linux Commands
Accordion Script
Accordion Script : http://www.webresourcesdepot.com/simple-accordion-script/
Accordion V2.0 : http://www.stickmanlabs.com/accordion/
Accordion Effect : http://net.tutsplus.com/javascript-ajax/create-a-simple-intelligent-accordion-effect-using-prototype-and-scriptaculous/
10 JS Accordion Scripts : http://tutorialblog.org/10-javascript-accordion-scripts/
30+ Animated Tab Based Interface : http://dzineblog.com/2008/10/30-animated-tab-interface-and-accordion-scripts.html
Accordion Menu Scripts : http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm
DHTML Menus, Javascript / CSS Menus
DHTML Menus : http://www.likno.com/
PHP
Simple Chat (DB Driven) : http://www.ebrueggeman.com/phpsimplechat/
PHP Graph : http://www.ebrueggeman.com/phpgraphlib/examples.php
ToolTips
Skinny Tip : http://www.ebrueggeman.com/skinnytip/
Image Gallery
Slideshow : http://www.phpjabbers.com/slideshow/
Photo Gallery : http://www.ebrueggeman.com/photography.php
Capcha using PHP
Webcheatsheet : http://www.webcheatsheet.com/PHP/create_captcha_protection.php
Captcha image verification : http://www.phpjabbers.com/phpexample.php?eid=19
Creating Captcha : http://www.codewalkers.com/c/a/Miscellaneous/Creating-a-CAPTCHA-with-PHP/
Secure image : http://www.phpcaptcha.org/
AJAX fancy captcha : http://www.webdesignbeach.com/beachbar/ajax-fancy-captcha-jquery-plugin
PHP Event Calender
PHP Event Calender : http://www.phpcalendarscripts.com/
Full collection of Calender Scripts : http://www.phpjabbers.com/
AJAX World
AJAX Daddy : http://www.ajaxdaddy.com/
Free JQuery Content Slider
15 Best Examples : http://visionwidget.com/inspiration/web/295-jquery-content-sliders.html
- International Dialing Codes
- Listing of all the exising Domain name list
- Complete Info about a Domain
- HTML Special Characters
Sending FREE SMS
- Sending Free SMS in India
- Sending Free SMS to any mobile in India
Javascript
- Javascript Window Objects
- Entire Javascript in finger tip
- DHTML: Draw Line, Ellipse, Oval, Circle, Polyline, Polygon, Triangle with JavaScript
- Download
- JavaScript: DHTML API, Drag & Drop for Images and Layers
- Download
- JavaScript, DHTML Tooltips
- Download
- Highslide JS
- Download Highslide JS
- Calendar script using XHTML
- Download
- jCarousel - Riding carousels with jQuery
- Download Version 0.2.2
- ThickBox 3.1. Lightbox, Highslide, Litebox, SmoothGallery, FrogJS, ClearBox JS 2 or Lightview
- Download
- A PHP- and JavaScript- based File Manager
- Download Version: 2.0.0
- The Coolest DHTML / JavaScript Menu and Toolbar
Linux Commands
- Alphabetical Directory of Linux Commands
Accordion Script
Accordion Script : http://www.webresourcesdepot.com/simple-accordion-script/
Accordion V2.0 : http://www.stickmanlabs.com/accordion/
Accordion Effect : http://net.tutsplus.com/javascript-ajax/create-a-simple-intelligent-accordion-effect-using-prototype-and-scriptaculous/
10 JS Accordion Scripts : http://tutorialblog.org/10-javascript-accordion-scripts/
30+ Animated Tab Based Interface : http://dzineblog.com/2008/10/30-animated-tab-interface-and-accordion-scripts.html
Accordion Menu Scripts : http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm
DHTML Menus, Javascript / CSS Menus
DHTML Menus : http://www.likno.com/
PHP
Simple Chat (DB Driven) : http://www.ebrueggeman.com/phpsimplechat/
PHP Graph : http://www.ebrueggeman.com/phpgraphlib/examples.php
ToolTips
Skinny Tip : http://www.ebrueggeman.com/skinnytip/
Image Gallery
Slideshow : http://www.phpjabbers.com/slideshow/
Photo Gallery : http://www.ebrueggeman.com/photography.php
Capcha using PHP
Webcheatsheet : http://www.webcheatsheet.com/PHP/create_captcha_protection.php
Captcha image verification : http://www.phpjabbers.com/phpexample.php?eid=19
Creating Captcha : http://www.codewalkers.com/c/a/Miscellaneous/Creating-a-CAPTCHA-with-PHP/
Secure image : http://www.phpcaptcha.org/
AJAX fancy captcha : http://www.webdesignbeach.com/beachbar/ajax-fancy-captcha-jquery-plugin
PHP Event Calender
PHP Event Calender : http://www.phpcalendarscripts.com/
Full collection of Calender Scripts : http://www.phpjabbers.com/
AJAX World
AJAX Daddy : http://www.ajaxdaddy.com/
Free JQuery Content Slider
15 Best Examples : http://visionwidget.com/inspiration/web/295-jquery-content-sliders.html
Labels:
AJAX,
CSS,
javascript,
Linux commands,
php
Thursday, September 4, 2008
General info in PHP, MySQL
Do you know this?
- E.F. Codd released his Codd's rule in 1970 at the time of working in IBM's San Jose Research Laboratory
- Structured Query Language (SQL), developed by Donald D. Chamberlin and Raymond F. Boyce, for expressing queries at IBM's San Jose Research Laboratory in early 1970's
- Raymond F. Boyce also worked with Codd to develop the Boyce-Codd Normal Form for efficiently designing relational database tables so information was not needlessly duplicated in different tables.
- SQL was initially called as SEQUEL, was designed to manipulate and retrieve data stored in IBM's San Jose Research Laboratory original relational database product, System R.
- SQL language was standardized by the American National Standards Institute (ANSI) in 1986 and ISO in 1987
- MySQL as maintained by Sun Microsystems and it as first public release in November 1996
- MySQL supported in Windows, Mac OS X, Linux, BSD, UNIX operating systems
- MySQL maximum size of DB is Unlimited, Max table size is 2 GB (Win32 FAT32) to 16 TB (Solaris), Max row size 64 KB,
Max columns per row is 3398, Max Blob/Clob size 4 GB (longtext, longblob), Max CHAR size is 64 KB (text), Max NUMBER size 64 bits.
- MySQL is owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now a subsidiary of Sun Microsystems
- The world's most popular open source database is MySQL Database
- E.F. Codd released his Codd's rule in 1970 at the time of working in IBM's San Jose Research Laboratory
- Structured Query Language (SQL), developed by Donald D. Chamberlin and Raymond F. Boyce, for expressing queries at IBM's San Jose Research Laboratory in early 1970's
- Raymond F. Boyce also worked with Codd to develop the Boyce-Codd Normal Form for efficiently designing relational database tables so information was not needlessly duplicated in different tables.
- SQL was initially called as SEQUEL, was designed to manipulate and retrieve data stored in IBM's San Jose Research Laboratory original relational database product, System R.
- SQL language was standardized by the American National Standards Institute (ANSI) in 1986 and ISO in 1987
- MySQL as maintained by Sun Microsystems and it as first public release in November 1996
- MySQL supported in Windows, Mac OS X, Linux, BSD, UNIX operating systems
- MySQL maximum size of DB is Unlimited, Max table size is 2 GB (Win32 FAT32) to 16 TB (Solaris), Max row size 64 KB,
Max columns per row is 3398, Max Blob/Clob size 4 GB (longtext, longblob), Max CHAR size is 64 KB (text), Max NUMBER size 64 bits.
- MySQL is owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now a subsidiary of Sun Microsystems
- The world's most popular open source database is MySQL Database
Friday, August 29, 2008
Monday, August 11, 2008
Basic Validation using Javascript
var remail=/^([_&a-zA-Z0-9-]+(\.[_&a-zA-Z0-9-]+)*@[&a-zA-Z0-9-]+\.+[&a-zA-Z0-9-]+)/;
/* Check the email address */
function checkEmail(fieldvalue){
if(remail.test(fieldvalue)){
return false;
}
else {
return true;
}
}
/* Trimming the string */
function trim(str)
{
return str.replace(/^\s*|\s*$/g,"");
}
function ValidateUserRegister(formNm)
{
var errMsg = "Please correct the following field(s):\n\n";
var errNum = 0;
var fldName = "";
var passerr = 0;
if(trim(formNm.user_name.value)=="")
{
if( !errNum ) fldName = "user_name";
errMsg += ++errNum + ". Username is a required field.\n";
}
if(trim(formNm.user_email.value)=="")
{
if( !errNum ) fldName = "user_email";
errMsg += ++errNum + ". Email is a required field.\n";
}
if(trim(formNm.user_email.value)!="" && checkEmail(trim(formNm.user_email.value))) {
if( !errNum ) fldName = "user_email";
errMsg += ++errNum + ". Please enter a Valid Email Address.\n";
}
if(errNum)
{
alert(errMsg);
return false;
}
return true;
}
/* Check the email address */
function checkEmail(fieldvalue){
if(remail.test(fieldvalue)){
return false;
}
else {
return true;
}
}
/* Trimming the string */
function trim(str)
{
return str.replace(/^\s*|\s*$/g,"");
}
function ValidateUserRegister(formNm)
{
var errMsg = "Please correct the following field(s):\n\n";
var errNum = 0;
var fldName = "";
var passerr = 0;
if(trim(formNm.user_name.value)=="")
{
if( !errNum ) fldName = "user_name";
errMsg += ++errNum + ". Username is a required field.\n";
}
if(trim(formNm.user_email.value)=="")
{
if( !errNum ) fldName = "user_email";
errMsg += ++errNum + ". Email is a required field.\n";
}
if(trim(formNm.user_email.value)!="" && checkEmail(trim(formNm.user_email.value))) {
if( !errNum ) fldName = "user_email";
errMsg += ++errNum + ". Please enter a Valid Email Address.\n";
}
if(errNum)
{
alert(errMsg);
return false;
}
return true;
}
Saturday, August 9, 2008
Get our Screen Resolution using Javascript
function htuserscreen()
{
//debugger;
var Height,Width;
Height=parseInt(screen.height);
//Width=screen.width;
MidHeight=Height/2+ "px";
//MidWidth=Width/2;
return MidHeight;
}
function Wtuserscreen()
{
var Height,Width;
//Height=screen.height;
Width=parseInt(screen.width);
//MidHeight=Height/2;
MidWidth=Width/2 + "px";
return MidWidth;
}
var s=htuserscreen();
p=Wtuserscreen();
alert(s);
alert(p);
document.write('');
{
//debugger;
var Height,Width;
Height=parseInt(screen.height);
//Width=screen.width;
MidHeight=Height/2+ "px";
//MidWidth=Width/2;
return MidHeight;
}
function Wtuserscreen()
{
var Height,Width;
//Height=screen.height;
Width=parseInt(screen.width);
//MidHeight=Height/2;
MidWidth=Width/2 + "px";
return MidWidth;
}
var s=htuserscreen();
p=Wtuserscreen();
alert(s);
alert(p);
document.write('');
Multiple Checkbox Validation using Javascript
function ValidateWatchList(formNm,action)
{
var errMsg = "Please select the following item(s):\n\n";
var errNum = 0;
var fldName = "";
var passerr = 0;
//alert(formNm.delet.length);
if(formNm.delet.checked == false || formNm.delet.checked == true)
{
//alert('if')
if(formNm.delet.checked == false)
{
if( !errNum ) fldName = "delet";
errMsg += ++errNum + ". Select a product to delete.\n";
if(errNum)
{
alert(errMsg);
return false;
}
}
else
{
return true;
}
}
else
{ //alert('else')
var arrlen = formNm.delet.length;
var i;
var txt = "";
for (i = 0; i < arrlen; i++) {
if (formNm.delet[i].checked) {
txt = txt + formNm.delet[i].value + " ";
}
}
if(txt == "")
{
if( !errNum ) fldName = "delet";
errMsg += ++errNum + ". Select a product to delete.\n";
}
}
if(errNum)
{
alert(errMsg);
return false;
}
return true;
}
{
var errMsg = "Please select the following item(s):\n\n";
var errNum = 0;
var fldName = "";
var passerr = 0;
//alert(formNm.delet.length);
if(formNm.delet.checked == false || formNm.delet.checked == true)
{
//alert('if')
if(formNm.delet.checked == false)
{
if( !errNum ) fldName = "delet";
errMsg += ++errNum + ". Select a product to delete.\n";
if(errNum)
{
alert(errMsg);
return false;
}
}
else
{
return true;
}
}
else
{ //alert('else')
var arrlen = formNm.delet.length;
var i;
var txt = "";
for (i = 0; i < arrlen; i++) {
if (formNm.delet[i].checked) {
txt = txt + formNm.delet[i].value + " ";
}
}
if(txt == "")
{
if( !errNum ) fldName = "delet";
errMsg += ++errNum + ". Select a product to delete.\n";
}
}
if(errNum)
{
alert(errMsg);
return false;
}
return true;
}
Avoid unwanted characters using Javascript
function blockNumbers(e)
{
var key;
var keychar;
var reg;
if(window.event) { // for IE, e.keyCode or window.event.keyCode can be used
key = e.keyCode; }
else if(e.which) { // netscape
key = e.which; }
else { // no event, so pass through
return true; }
keychar = String.fromCharCode(key);
//alert(key);
if ( (key>=48 && key<=57) || (key==34) || (key==39) || (key==8) ) {
return true; }
else {
return false; }
}
{
var key;
var keychar;
var reg;
if(window.event) { // for IE, e.keyCode or window.event.keyCode can be used
key = e.keyCode; }
else if(e.which) { // netscape
key = e.which; }
else { // no event, so pass through
return true; }
keychar = String.fromCharCode(key);
//alert(key);
if ( (key>=48 && key<=57) || (key==34) || (key==39) || (key==8) ) {
return true; }
else {
return false; }
}
Subscribe to:
Posts (Atom)
Popular Posts
-
1. How old PHP language is? - PHP began in 1994, so 14 years old. 2. What are different names of PHP? - PHP originally stood for Persona...
-
PHP - Validate E-mail The easiest and safest way to check whether an email address is well-formed is to use PHP's filter_var() functi...
-
HTML: a. HTML is a markup language that is used to build static (non interactive and nonanimated) webpages. b. HTML is Case-Insensitive. So...
-
Waysure Technologies Production: PHP, Design, Flash, .NET, J2EE Address: No 16, Kumaran Nagar Near RTO Office, Mudaliarpet, Pondic...
-
Note : This is not a perfect sort order, we have just displaying the list of PHP companies. 1. Photon Infotech No. 2/102, Arvind IT Park (N...
-
A payment gateway is an e-commerce application service provider service that authorizes payments for e-businesses, online retailers, bricks...
-
Sharing PHP, MySQL, Javascript, CSS Knowledge, We can share our PHP knowledge on the basis of PHP versioning, Javascript, AJAX, Stylesheet, ...
-
Hai all, Simple show hide sample using Show/Hide? Simple Show/Hide code
-
- count() -- Count elements in a variable - syntax for count() [int count ( mixed var [, int mode])] - If the optional mode parameter is set...
-
Use the below code and you can get the exact value in php as us saw in browser. Code: $encode_data = iconv('UTF-8', 'windows-125...