This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-12-17 20:57:41

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

custom BBcode!

I need help with these custom BBcodes!

Blink, for blinking text

--
HTML code: <blink><b><font>{param}</font></b></blink>
--

--
BBcode supplement: [Blink]{Param}[/Blink]

--

I also need - scrolling text and other cool ideas


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#2 2010-12-18 14:21:17

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: custom BBcode!

I already posted the code for [blink] on allforums, so lemme find scrolling text...


Yawn.

Offline

 

#3 2010-12-18 15:46:29

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: custom BBcode!

marquee for scrolling text.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#4 2010-12-19 20:54:26

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: custom BBcode!


Yawn.

Offline

 

#5 2010-12-19 23:19:04

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: custom BBcode!

yeah.. any others?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#6 2010-12-20 23:11:14

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: custom BBcode!

BUMP!  I need more cool BBcode...  PLZ Help


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#7 2010-12-21 11:00:53

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: custom BBcode!

Say hello to my über-complex, Javascript-filled multiple-choice [align] BBCode!
BBCode usage:

Code:

[align={IDENTIFIER}]{TEXT}[/align]

HTML replacement:

Code:

<script type="text/javascript">
var align = "{IDENTIFIER}";
if (align == 'c') {
 document.write('<div style="text-align: center;">{TEXT}<\/div>');
} else {
 if (align == 'l') {
  document.write('<div style="text-align: left;">{TEXT}<\/div>');
 } else {
  if (align == 'r') {
   document.write('<div style="text-align: right;">{TEXT}<\/div>');
  } else {
   if (align == 'j') {
    document.write('<div style="text-align: justify;">{TEXT}<\/div>');
   } else {
    document.write('<strong>Error: [align] tag used incorrectly. Use l, r, c, or j after the = to align the text to the left, right, or center, or justify it, respectively.<\/strong>')
   }
  }
 }
}
</script>

If you want more, just check the "Testing out new BBCode" thread on my site and look at the HTML source  tongue


Yawn.

Offline

 

Board footer