Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Voodoo Tech and Scripter's Den of Scriptniquity > How to post javascript and HTML code in the forums
Mottie (MVP) 6/21/2008 7:36 PM EST : How to post javascript and HTML code in the forums
GuildPortal MVP
Posts: 3884
Zomgawsh Poster

I finally found a way to post any kind of code you want into these forums, or any GuildPortal forums.

Simple highlight the text and change it's color to black (or whatever color to match your site forum colors) - I'll use blue in the examples below so you can see.

If I want to display a snippet of Javascript like below (the word "javascript" doesn't need this done):
<script type="text/javascript">
("Hello World");
In HTML mode you'll see
&lt;<font color="#0000ff">script</font> type="text/javascript"&gt;<br> ("Hello World");<br>&lt;/<font color="#0000ff">script</font>&gt;
This also works for all other problematic tags: <html><body><form>.... etc

Most other HTML codes do not need this fix: <table><img><style>.... etc, can be  displayed without any problems.

Happy posting! 

Admins Online
There are   members online.
So-and-so has logged on!