| Author |
Message |
Bobo Moderator

 Joined: 10 Oct 2002 Posts: 849 Location: Twilight Zone
|
Posted: Sun Dec 22, 2002 11:20 am
Post subject: I wonder how powerfull this CODE button is?... |
|
|
| Code: | <Script language="vbscript">
<!--
msgbox "Warning this is not related to DOS Games I'm just trin there code button!"
-->
</script> |
| Code: | <script language="vbscript">
<!--
option explicit
sub cmdname_onclick
dim name
name = inputbox ("enter you DOS GAMES.com forum name here")
msgbox "Isn't this pointless " & name
end sub
-->
</script> |
| Code: | <form name="frmname">
<input type="button" name="cmdname" value="Enter or somthing">
</form< |
I just wanted to see how much you can do with your code button!
<!--
--> - this instructs non-IE browers to skip over (like a comment). |
|
| Back to top |
|
 |
Bobo Moderator

 Joined: 10 Oct 2002 Posts: 849 Location: Twilight Zone
|
|
| Back to top |
|
 |
Bobo Moderator

 Joined: 10 Oct 2002 Posts: 849 Location: Twilight Zone
|
Posted: Sun Dec 22, 2002 11:31 am
Post subject: |
|
|
Click-here for the dosgames.com/forum area
Last edited by Bobo on Sun Dec 22, 2002 11:36 am; edited 1 time in total |
|
| Back to top |
|
 |
Bobo Moderator

 Joined: 10 Oct 2002 Posts: 849 Location: Twilight Zone
|
Posted: Sun Dec 22, 2002 11:32 am
Post subject: |
|
|
| Code: | <script type="text/vbscript">
<!--
randomize()
r=rnd()
if r>0.5 then
document.write("<a href='http://dosgames.com/forum'>Click-here</a> for the froum")
else
document.write("<a href='http://dosgames.com'>Click-here</a> for dosgames.com")
end if
-->
</script> |
<script type="text/vbscript">
<!--
randomize()
r=rnd()
if r>0.5 then
document.write("Click-here for the froum")
else
document.write("Click-here for dosgames.com")
end if
-->
</script>
Ok I am done posting here... It's weak! |
|
| Back to top |
|
 |
wardrich lawl catz r lawlz

 Joined: 14 Sep 2002 Posts: 3361 Location: Ontario Canada
|
Posted: Sun Dec 22, 2002 12:38 pm
Post subject: |
|
|
| what exactly are you trying to get done? I know a hefty bit about VB. |
|
| Back to top |
|
 |
Dogbreath Admin

 Joined: 14 Sep 2002 Posts: 4439 Location: In the back of a jacked-up Ford.
|
Posted: Sun Dec 22, 2002 2:05 pm
Post subject: |
|
|
I believe these forums only accept HTML from users. In any case, the Code button is for code *sample* and it *deactivates* code, not activates it. I doubt a user would be allowed to use VB code or Java anyway as it could be exploited and endanger the rest of the users. (I once went to a forum that did allow it and one post had a "pointless clicking" code, one that forces you to click a button over and over infinitely and wont let you access anything else on your web browser until you do. To make a long story short, every one had to turn off their computer, just to get out of it)
On the other hand, you can use HTML. The allowed commands are:
| Code: | | html,table,tr,td,b,i,u,pre,a,img,span,marquee,font,center,p,sub,sup,br,big,h1,h2,h3,h4,h5,h6,hr,kbd,li,ol,ul,strike,strong,style,small,tt |
Which should be enough, along with font colors, to achive whatever you want to in these forums as far as advanced display. Hell, you could make yourself a mini-webpage in a post if you really wanted too. |
|
| Back to top |
|
 |
Kazer0 Mercenary Dishwasher
 Joined: 17 Sep 2002 Posts: 2719 Location: In an igloo with my pet penguin, eh?
|
Posted: Sun Dec 22, 2002 4:13 pm
Post subject: |
|
|
| seriously? Can I try? |
|
| Back to top |
|
 |
Bobo Moderator

 Joined: 10 Oct 2002 Posts: 849 Location: Twilight Zone
|
Posted: Sun Dec 22, 2002 4:22 pm
Post subject: |
|
|
Because ah, I was kick from a diferent forum for "to much code"...
and other stuff.....
in this forum the code is weak!
ya, won't let me script!!! |
|
| Back to top |
|
 |
Kazer0 Mercenary Dishwasher
 Joined: 17 Sep 2002 Posts: 2719 Location: In an igloo with my pet penguin, eh?
|
Posted: Sun Dec 22, 2002 4:33 pm
Post subject: |
|
|
Link testing
Testing, testing
Image testing 
Test
Note, BGCOLOR tag doesnt work. |
|
| Back to top |
|
 |
Da_Goat Moderator

 Joined: 14 Sep 2002 Posts: 2042 Location: Prescott, Arizona, USA, Earth, The Milky Way, The Universe, Nothing and Nowhere.
|
Posted: Sun Dec 22, 2002 7:04 pm
Post subject: |
|
|
WOW
http://www.dosgames.com/forum/templates/subSilver/images/logo_phpBB.gif |
|
| Back to top |
|
 |
emmzee Site Admin

 Joined: 14 Sep 2002 Posts: 2149 Location: Mississauga, Ontario, Canada
|
Posted: Sun Dec 22, 2002 7:33 pm
Post subject: |
|
|
| Yea some HTML stuff is still turned off ... I think SCRIPT tags are also turned off (for obvious mis-use reasons). |
|
| Back to top |
|
 |
nastypoisonspikes Way too much free time

 Joined: 07 Oct 2002 Posts: 741
|
Posted: Sun Dec 22, 2002 9:11 pm
Post subject: |
|
|
| Damn you Da_goat! I had to use the horizontal scroll bar! Do you know how much metal disorder that caused me?! |
|
| Back to top |
|
 |
Da_Goat Moderator

 Joined: 14 Sep 2002 Posts: 2042 Location: Prescott, Arizona, USA, Earth, The Milky Way, The Universe, Nothing and Nowhere.
|
Posted: Sun Dec 22, 2002 9:35 pm
Post subject: |
|
|
| That wasn't my fault! It was like that before I posted too, I think it happened when DB did that list of tags, since I don't think code will automatically [enter]. |
|
| Back to top |
|
 |
Bobo Moderator

 Joined: 10 Oct 2002 Posts: 849 Location: Twilight Zone
|
Posted: Mon Dec 23, 2002 11:01 am
Post subject: |
|
|
Testing image with link.
Testing bouncing marquee
|
|
| Back to top |
|
 |
nastypoisonspikes Way too much free time

 Joined: 07 Oct 2002 Posts: 741
|
Posted: Mon Dec 23, 2002 6:30 pm
Post subject: |
|
|
Trying to show off your marquee tag knowlage are you?  |
|
| Back to top |
|
 |
|