Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Flashing submit button if ya want it
Old 12-22-2005, 09:01 AM Flashing submit button if ya want it
softdel's Avatar
Novice Talker

Posts: 11
Location: UK
Trades: 0
i can give you the codes for a flashing subit button this will highlight your button to the person viewing

here you go

just simply copy and paste it into notepad and save as allfiles;index.html

<html>
<body>
<form>
<input type="submit" value="Submit" class="fla****">
</form>
<script language="JavaScript1.2">

var flashcolor="red"
var flashinterval=1000 //flash interval in miliseconds (1000=1 sec)
var formcollect=document.getElementsByTagName? document.getElementsByTagName("FORM") : document.all? document.all.tags("FORM") : new Array()
var flashcollect=new Array()
for (i=0; i<formcollect.length; i++){
for (e=0; e<formcollect[i].elements.length; e++){
if (formcollect[i].elements[e].className=="fla****")
flashcollect[flashcollect.length]=formcollect[i].elements[e]
}
}
function flashelements(){
for (f=0; f<flashcollect.length; f++){
if (flashcollect[f].style.color=='')
flashcollect[f].style.color=flashcolor
else
flashcollect[f].style.color="blue"
}
}
if (flashcollect.length>0)
setInterval("flashelements()",flashinterval)
</script>
</body>
</html>
softdel is offline
Reply With Quote
View Public Profile Visit softdel's homepage!
 
 
Register now for full access!
Reply     « Reply to Flashing submit button if ya want it
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14018 seconds with 12 queries