DOS Games Message Board
DOS Games Discussion
A message board to talk about DOS games, get help, and find old games.
Do NOT post warez or abandonware requests please
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
NEW! DOSGames.com has been massively upgraded to v2.0 with TONS of new features!
Check out the new design and dozens of new features including online play!


I wonder how powerfull this CODE button is?...

 
Post new topic   Reply to topic    DOS Games Discussion Forum Index -> General Off-Topic
Author Message
Bobo
Moderator
Moderator


Offline
Joined: 10 Oct 2002
Posts: 846
Location: Twilight Zone

PostPosted: Sun Dec 22, 2002 11:20 am     Post subject: I wonder how powerfull this CODE button is?... Reply with quote

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
Moderator


Offline
Joined: 10 Oct 2002
Posts: 846
Location: Twilight Zone

PostPosted: Sun Dec 22, 2002 11:26 am     Post subject: Reply with quote

Well that kinda bit.








Why won't my code work!
Back to top
Bobo
Moderator
Moderator


Offline
Joined: 10 Oct 2002
Posts: 846
Location: Twilight Zone

PostPosted: Sun Dec 22, 2002 11:31 am     Post subject: Reply with quote

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
Moderator


Offline
Joined: 10 Oct 2002
Posts: 846
Location: Twilight Zone

PostPosted: Sun Dec 22, 2002 11:32 am     Post subject: Reply with quote

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
"Some Troll"


Offline
Joined: 14 Sep 2002
Posts: 3940
Location: Ontario Canada

PostPosted: Sun Dec 22, 2002 12:38 pm     Post subject: Reply with quote

what exactly are you trying to get done? I know a hefty bit about VB.
Back to top
Dogbreath
Admin
Admin


Offline
Joined: 14 Sep 2002
Posts: 4627
Location: In the back of a jacked-up Ford.

PostPosted: Sun Dec 22, 2002 2:05 pm     Post subject: Reply with quote

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


Offline
Joined: 17 Sep 2002
Posts: 2704
Location: In an igloo with my pet penguin, eh?

PostPosted: Sun Dec 22, 2002 4:13 pm     Post subject: Reply with quote

seriously? Can I try?
Back to top
Bobo
Moderator
Moderator


Offline
Joined: 10 Oct 2002
Posts: 846
Location: Twilight Zone

PostPosted: Sun Dec 22, 2002 4:22 pm     Post subject: Reply with quote

Because ah, I was kick from a diferent forum for "to much code"...
and other stuff..... A Frikkin Cuccoan

in this forum the code is weak!

ya, won't let me script!!!
Back to top
Kazer0
Mercenary Dishwasher


Offline
Joined: 17 Sep 2002
Posts: 2704
Location: In an igloo with my pet penguin, eh?

PostPosted: Sun Dec 22, 2002 4:33 pm     Post subject: Reply with quote




Link testing
Testing, testing

Image testing

Test



Note, BGCOLOR tag doesnt work.
Back to top
Da_Goat
Moderator
Moderator


Offline
Joined: 14 Sep 2002
Posts: 2026
Location: Prescott, Arizona, USA, Earth, The Milky Way, The Universe, Nothing and Nowhere.

PostPosted: Sun Dec 22, 2002 7:04 pm     Post subject: Reply with quote

WOW
Wow, I didn't know we could use all of these tags!http://www.dosgames.com/forum/templates/subSilver/images/logo_phpBB.gif
Back to top
emmzee
Site Admin
Site Admin


Offline
Joined: 14 Sep 2002
Posts: 2406
Location: Ontario, Canada

PostPosted: Sun Dec 22, 2002 7:33 pm     Post subject: Reply with quote

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
Way too much free time


Offline
Joined: 07 Oct 2002
Posts: 733

PostPosted: Sun Dec 22, 2002 9:11 pm     Post subject: Reply with quote

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
Moderator


Offline
Joined: 14 Sep 2002
Posts: 2026
Location: Prescott, Arizona, USA, Earth, The Milky Way, The Universe, Nothing and Nowhere.

PostPosted: Sun Dec 22, 2002 9:35 pm     Post subject: Reply with quote

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
Moderator


Offline
Joined: 10 Oct 2002
Posts: 846
Location: Twilight Zone

PostPosted: Mon Dec 23, 2002 11:01 am     Post subject: Reply with quote

Testing image with link.



Testing bouncing marquee


Wow your right Da_Goat
Back to top
nastypoisonspikes
Way too much free time
Way too much free time


Offline
Joined: 07 Oct 2002
Posts: 733

PostPosted: Mon Dec 23, 2002 6:30 pm     Post subject: Reply with quote

Trying to show off your marquee tag knowlage are you? Laughing
Back to top
Display posts from previous:   
Post new topic   Reply to topic    DOS Games Discussion Forum Index -> General Off-Topic All times are GMT - 5 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group and Ask an Expert
Also powered by Darren and the other admin and mods' hard work! ;)