I have a new version that works in ALL major browsers including: IE / Firefox / Chrome / Opera and Safari! This is a little more complicated to implement so if you're happy with the existing tag there is no NEED to upgrade, however this new version works on more (all) browsers.
It makes use of the jquery javascript library built into VB4.
Step 1. Download the attachment, unzip, and upload the .js file it to your /clientscript/jquery/ directory. (This may be under /forums/clientscript/jquery/ or any other directory you have your forums installed in.)
Step 2. Admin CP -> Styles and Templates -> Style Manger -> Choose your style(s) -> All Style Options: Edit your
headinclude template and add the following code at the bottom of it:
Code:
<!-- Start Blinking Text jquery Script-->
<script src="/forums/clientscript/jquery/jquery-1.3.min.js" language="javscript" type="text/javascript"></script>
<script src="/forums/clientscript/jquery/jquery-blink.js" language="javscript" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function()
{
$('.blink').blink();
});
</script>
<!-- End Blinking Text jquery Script-->
Make sure you change the file paths to the .js files to match your directory setup. For me it's "/forums/clientscript/
filename.js" If your forums are in your web root your location may be just "/clientscript/
filename.js".
jquery-1.3.min.js is already installed in your /clientscript/jquery/ directory.
Step 3. Make a new BB Code using the instructions in the first post or edit your existing blink bb code. Use the following replacement code instead of the replacement in the first post. (much shorter):
Code:
<span class="blink">{param}</span>
Save your new or edited BB Code and you're done. You know have a [bkink] tag that works in all major browsers.
Note:
Updated to use VB4's built in jquery file.