try another color scheme:


Go Back   TECH6.0 > Get Techie > Programming > HTML/CSS/JavaScript


Cool JavaScripts !!

This is a discussion on Cool JavaScripts !! within the HTML/CSS/JavaScript section, part of the Programming category; Ever wonder what JavaScripts can do !! Check this out.. If you have some JavaScripts to share, just upload it ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-03-2008, 05:04 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default Cool JavaScripts !!

Ever wonder what JavaScripts can do !! Check this out..

If you have some JavaScripts to share, just upload it here.
Attached Files
File Type: html Detect Duration on a Site.html (589 Bytes, 5 views)
File Type: html Rainbow Text.html (1.5 KB, 5 views)
File Type: html Random Quote.html (982 Bytes, 3 views)
File Type: html Scrolling Textbox.html (918 Bytes, 5 views)
File Type: html Time spent.html (1.4 KB, 2 views)
File Type: html Title Animation.html (1.4 KB, 10 views)
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #2  
Old 10-03-2008, 08:44 PM
Spec_tray's Avatar

Moderator
 
Join Date: Feb 2008
Posts: 147
Spec_tray will become famous soon enoughSpec_tray will become famous soon enough
Default Simple email validation using JS...

hai..

This small function can be used for client side email validation ...

Code:
function echeck(str) {
var at="@"
var dot="."
var lat=str.indexOf(at)
var lstr=str.length
var ldot=str.indexOf(dot)
if (str.indexOf(at)==-1){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(at,(lat+1))!=-1){
alert("Invalid E-mail ID")
return false
}
if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(dot,(lat+2))==-1){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(" ")!=-1){
alert("Invalid E-mail ID")
return false
}
return true
}
spec_tray
__________________
" There are no failures - just experiences and your reactions to them.

New members Please read before u post
General Tech6 Rules !!!

CSS Validator | Markup Validator | RSS Validator
Reply With Quote
  #3  
Old 20-05-2008, 09:57 AM
iBlake's Avatar

Techie
 
Name: Blake
Join Date: May 2008
Location: United States
Phone: Not in the list
Posts: 91
iBlake is on a distinguished road
Send a message via MSN to iBlake
Default

Spec_Tray, I looked for that script forever. I never could find it.

Thanks
__________________
My iPhone is better than yours...........

I Am Back!
Reply With Quote
  #4  
Old 20-05-2008, 05:54 PM
Spec_tray's Avatar

Moderator
 
Join Date: Feb 2008
Posts: 147
Spec_tray will become famous soon enoughSpec_tray will become famous soon enough
Icon10 ....

glad to hear that iBlake....:thumbup1:

Happy coding

Spec_tray
__________________
" There are no failures - just experiences and your reactions to them.

New members Please read before u post
General Tech6 Rules !!!

CSS Validator | Markup Validator | RSS Validator
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 07:14 PM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top