This is a simple BB code for all you who want a nice typing effect.
First go to Admin Cp
* Custom BB Codes
* Add New BB Code
Use the following info to fill in for the options:
Title:iType
Tag: itype
In Replacement Use:
In Example you can use:
[itype]By VBteam[/itype]
For Description:
Nice Typing Effect.
Use {option}:
Choose NO.
Button Image:
First go to Admin Cp
* Custom BB Codes
* Add New BB Code
Use the following info to fill in for the options:
Title:iType
Tag: itype
In Replacement Use:
PHP:
<span id="typing">
{param}
</span>
<script type="text/javascript">
/*
Typing Text Script
Last updated: 18/11/05
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
hundreds more DHTML scripts, and Terms Of
Use, visit http://www.dynamicdrive.com/.
Rewritten by Twey to be compatible with Firefox
(and now Konqueror and presumably Safari).
The script will strip all HTML tags from the text, but
non-supporting browsers won't. This will allow you to
hide the text or display differently on such browsers.
*/
interval = 100; // Interval in milliseconds to wait between characters
if(document.getElementById) {
t = document.getElementById("typing");
if(t.innerHTML) {
typingBuffer = ""; // buffer prevents some browsers stripping spaces
it = 0;
mytext = t.innerHTML;
t.innerHTML = "";
typeit();
}
}
function typeit() {
// mytext = mytext.replace(/<([^<])*>/, ""); // Strip HTML from text
if(it < mytext.length) {
typingBuffer += mytext.charAt(it);
t.innerHTML = typingBuffer;
it++;
setTimeout("typeit()", interval);
} else {
t = document.getElementById("typing");
if(t.innerHTML) {
typingBuffer = ""; // buffer prevents some browsers stripping spaces
it = 0;
mytext = t.innerHTML;
t.innerHTML = "";
typeit();
}
}
}
</script>
In Example you can use:
[itype]By VBteam[/itype]
For Description:
Nice Typing Effect.
Use {option}:
Choose NO.
Button Image:
Code:
http://i20.tinypic.com/2h6g6sl.gif