News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How to run java scripts inside the post?

Started by jaisi, May 12, 2012, 02:19:53 PM

Previous topic - Next topic

jaisi

If I just paste a java script or an html content to a post, it only displays the original content. I wanted to run a script/html on the post.
Thanks...

My forum V 2.2

Colin

You will need to be an administrator on the forum, but use the following code.


[html]
...CODE HERE...
[/html]
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

jaisi

yes i have try that when i try is nothink showing post blank

Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin


Colin

What is the code snippet you are trying to display?
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

NanoSector

Rather, does the code snipped output something?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

jaisi

i'am try to put tyhis code



<script type='text/javascript'> width=650, height=480, channel='asdfds5477a', e='2';</script><script type='text/javascript' src='http://www.mips.tv/content/scripts/mipsEmbed.js'></script>


Shambles

Quote from: jaisi on May 12, 2012, 02:57:03 PM
i'am try to put tyhis code
Your code worked fine in my forum when surrounded by [html] and [/html] tags

busterone

Same for me as well.
You may want to check your browser or attempt to view your forum with a different browser to see if it is embedded. 

Advertisement: