Jump to content

Test HTML and JavaScript

Gofer01

<div>
<h1 style="text-align: center;">Hello World from HTML.
</h1>
<div id="script">
<script type="text/javascript">
function myFunction() {
document.getElementById("innerScript").innerHTML = "<h1>Hello World from JavaScript.</h1>";
}
</script>
</div>
<div id="innerScript" style="color: blue; -webkit-text-shadow: 2px 2px 20px; text-shadow: 2px 2px 20px; text-align: center;" />
<br />
<br />
<div style="text-align: left;">
<input id="Button1" type="button" value="Surprise Me" onclick="myFunction()" />
<br />
<br />
</div>
</div>

Michael Summers

CaseObsidian 900D  MOBORampage IV Extreme CPU:  i7-4960X Ivy Bridge-E 3.6GHz  RAM:: Vengeance Pro 32GB  Boot : RAID 0  840 Pro  512GB  Data:  RAID 10 WD Red  2TB PS: Corsair : AX1200 GPU:  ASUS  GTX-780 Ti

Birthday Gift from my wife - She made me order it and built it :-)

Link to comment
Share on other sites

Link to post
Share on other sites

Didn't work

Michael Summers

CaseObsidian 900D  MOBORampage IV Extreme CPU:  i7-4960X Ivy Bridge-E 3.6GHz  RAM:: Vengeance Pro 32GB  Boot : RAID 0  840 Pro  512GB  Data:  RAID 10 WD Red  2TB PS: Corsair : AX1200 GPU:  ASUS  GTX-780 Ti

Birthday Gift from my wife - She made me order it and built it :-)

Link to comment
Share on other sites

Link to post
Share on other sites

What is exactly the problem? I tried it and it just works.

Intel i7-870  //  MSI GTX 670 PE       ///       Intel i7-4500U  //  GT720M

Link to comment
Share on other sites

Link to post
Share on other sites

Don't like this forum software. Can't use simple html or JavaScript. I will keep to the free open source forum software

Michael Summers

CaseObsidian 900D  MOBORampage IV Extreme CPU:  i7-4960X Ivy Bridge-E 3.6GHz  RAM:: Vengeance Pro 32GB  Boot : RAID 0  840 Pro  512GB  Data:  RAID 10 WD Red  2TB PS: Corsair : AX1200 GPU:  ASUS  GTX-780 Ti

Birthday Gift from my wife - She made me order it and built it :-)

Link to comment
Share on other sites

Link to post
Share on other sites

Don't like this forum software. Can't use simple html or JavaScript. I will keep to the free open source forum software

 

there is a good reason why YOU can't just add random html/javascript ...

Mini-Desktop: NCASE M1 Build Log
Mini-Server: M350 Build Log

Link to comment
Share on other sites

Link to post
Share on other sites

What is exactly the problem? I tried it and it just works

It suppose to work like this

 

http://forum.msws.us/javascript.html

Michael Summers

CaseObsidian 900D  MOBORampage IV Extreme CPU:  i7-4960X Ivy Bridge-E 3.6GHz  RAM:: Vengeance Pro 32GB  Boot : RAID 0  840 Pro  512GB  Data:  RAID 10 WD Red  2TB PS: Corsair : AX1200 GPU:  ASUS  GTX-780 Ti

Birthday Gift from my wife - She made me order it and built it :-)

Link to comment
Share on other sites

Link to post
Share on other sites

there is a good reason why YOU can't just add random html/javascript ...

Most forum software at lease will let you use HTML. Most likely Luke turned this option off.  Now tell me why there a good reason to turn off HTML? Letting someone post a URL is by far more dangerous than letting them use HTML in this forum.

 

I saw a post on the last WAN show from this forum and it had a drop down box and I'm trying to figure out how they did it.

Michael Summers

CaseObsidian 900D  MOBORampage IV Extreme CPU:  i7-4960X Ivy Bridge-E 3.6GHz  RAM:: Vengeance Pro 32GB  Boot : RAID 0  840 Pro  512GB  Data:  RAID 10 WD Red  2TB PS: Corsair : AX1200 GPU:  ASUS  GTX-780 Ti

Birthday Gift from my wife - She made me order it and built it :-)

Link to comment
Share on other sites

Link to post
Share on other sites

It suppose to work like this

 

http://forum.msws.us/javascript.html

 

Like MrSuperb said, it you could get a lot of crap if you allow people to add random scripts. Why would you even want to implement something like this in the forum?

Intel i7-870  //  MSI GTX 670 PE       ///       Intel i7-4500U  //  GT720M

Link to comment
Share on other sites

Link to post
Share on other sites

I'm sure that there is a good reason for HTML be disabled, it's probably for prevent XSS, sir.

Signatures are stupid.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×