http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Site \ Coding questions

Click here to log in (you must be logged in to post comments).

AuthorComment
Lunchbox
Carrier
avatar
Posted: 10 May 2004
17:54 GMT
Total Posts: 2007
Just a quick question for any of you admins out there:
When i check the HTML box on a forum, if i put Javascript coding in there, will it work?
Barrett
Administrator
avatar
Posted: 10 May 2004
18:22 GMT
Total Posts: 1676
shhhhhhh!

yes, but don't tell everyone.

---
-Barrett A
zkostik
Carrier
avatar
Posted: 10 May 2004
18:29 GMT
Total Posts: 2486
yeah, and don't do anything stupid...

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
allynfolksjr
Administrator
avatar
Posted: 10 May 2004
21:25 GMT
Total Posts: 1892
really? Hunh, I've never tried that...
spiral
Wraith
Posted: 11 May 2004
00:05 GMT
Total Posts: 958
interesting...never learned java though. Does java have enough power to open your cd-drive, i know one of the scripts does on some sitse peopel visit, pisses me off.
allynfolksjr
Administrator
avatar
Posted: 11 May 2004
07:25 GMT
Total Posts: 1892
Java is designed to only get as much control over your computer as needed...the 'sandbox' theory, so I don't think the Cd-drive opening is from Java...
Barrett
Administrator
avatar
Posted: 11 May 2004
15:28 GMT
Total Posts: 1676
java may have that power, but javascript does not.

they are two different things.

---
-Barrett A
zkostik
Carrier
avatar
Posted: 11 May 2004
21:46 GMT
Total Posts: 2486
java can do anything you want and that's why you have a little option in your browser to disallow it and those little pesky warning popups when java applest want to load. this is a security precaution...probably caused by java's power? speaking of java, i dunno if anyone ever heard of the game Uru - Ages Beyond Myst then it's a last sequel to Myst in full 3D and guess what, it's all coded in java. on the other hand, javascript is not that powerful at all and you can easily embed it in html code and have it executed but you can't do any real harm with it.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Lunchbox
Carrier
avatar
Posted: 12 May 2004
15:52 GMT
Total Posts: 2007
Just a little clarification, Java and Javascript are NOT the same thing. Java requires an applet to run, while Javascript does not. Javascript and C/C++ are quite similar in syntax actually.

To answer spiral's question, i don't think Javascript can interact w/ rtye hardware like that, but maybe Java can.

EDIT: okay, B already said everything i just said, gotta read more carefully next time :).

[Edited by Lunchbox on 13-May-04 00:53]





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org