Post by Code Dragon on May 28, 2006 12:13:35 GMT -8
Code: Blinking Tags
Cross Browser: No (Only works in IE)
Description: This code will turn any text inbetween the [blink][/blink] tags into blinking text.
Information: Many thanks to Boccy109 for his major help with this code. We made a duo code but helped with each other's portions. Right now, this code only replaces one set of [blink][/blink] tags. This will be fixed in the near future.
Image:
Placement: Global Footer
Preview: Click
Please host the image yourself.
Only edit the URL for the button image, which you need to host yourself.
Updates
June 14th - Fixed the PM Quote problem[/size]
Cross Browser: No (Only works in IE)
Description: This code will turn any text inbetween the [blink][/blink] tags into blinking text.
Information: Many thanks to Boccy109 for his major help with this code. We made a duo code but helped with each other's portions. Right now, this code only replaces one set of [blink][/blink] tags. This will be fixed in the near future.
Image:
Placement: Global Footer
Preview: Click
Please host the image yourself.
<script type="text/javascript">
<!--
/*
Blink Tags by §Code Dragon§ and Boccy109
Do not repost without permission
This head must remain intact
Code from http://chaobreederxl2.proboards80.com/index.cgi
*/
//Image link (Please host yourself)
var bImage="http://i59./g306/boccy109/blink.gif";
//Portion by Boccy109(Please don't edit)
var td=document.body.getElementsByTagName('td');
function button(){
for(x=0;x<td.length;x++){
if(td[x].width=="70%" && td[x].className=="windowbg2" && document.postForm && td[x].innerHTML.match(/add\("\[quote\]/i)){
td[x].innerHTML+="<a href='javascript:add(\"[blink]\",\"[\/blink]\");'><img src='" +bImage+ "' alt='Blink' border='0' /></a>";
}
}
}
//Portion by §Code Dragon§ (Please don't edit)
function replace(){
for(r=0;r<td.length;r++){
if(td.item(r).className.match(/windowbg(2)?/i) && !document.postForm && td.item(r).innerHTML.match(/\[blink\](.*?)\[\/blink\]/gi)){
blink=RegExp.$1;
td.item(r).innerHTML=td.item(r).innerHTML.replace(/\[blink\](.*)\[\/blink\]/g, "<font style='text-decoration: blink !important'>" +blink+ "</font>");
}
}
}
//Portion by Boccy109 (Please don't edit)
if(document.postForm && document.postForm.color){
button()
}
if(location.href.match(/action=(display|pmview|recent)/i)){
replace()
}
// -->
</script>
Only edit the URL for the button image, which you need to host yourself.
Updates
June 14th - Fixed the PM Quote problem[/size]