Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Daz's Avatar
Daz : To right I fecking bite
Daz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond repute
offline Joined: Sep 2007 Posts: 455 Thanked: 166
  #1  
Thread Starter Unread 10-19-07
iType

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:

<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) {
  
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 {
    
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:


http://i20.tinypic.com/2h6g6sl.gif

Last edited by Daz; 10-19-07 at 10:31 PM.
kahn's Avatar
kahn : Member
kahn is on a distinguished road
offline Joined: Oct 2007 Location: South OZ Posts: 48 Thanked: 6
  #2  
Unread 10-24-07
Really neat, any ideas on how to stop the process after first run. It makes posts below it jumpy to read in replay mode. I did a search at http://www.dynamicdrive.com/ but no joy thus far.

Need something like, when more than one line; run once then stop. Hope that makes sense! Cheers...

Last edited by kahn; 10-24-07 at 02:56 AM. Reason: Getting late
FresHGio's Avatar
FresHGio : Newbie
FresHGio is on a distinguished road
offline Joined: Nov 2007 Posts: 3 Thanked: 0
  #3  
Unread 09-16-08
fine

good job
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
itype
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
Powered by GYSN Underground 2021