I need to embed a script but it doesn't work.
Page 1 of 1 • Share •
I need to embed a script but it doesn't work.
Hello All!
I have this forum where we discuss physic and therefor we need an easy way to make equations.
I found this site that can solve my problem: sitmo.com/latex
and created this script:
I have tried to make a post and put the code inside like this [html]the code[/html] but no luck
I have enabled HTML from the administation panel.
How do I solve my problem?
or even better: Is it possible to create a button in the post editing panel that pops up the equation editor?
I have this forum where we discuss physic and therefor we need an easy way to make equations.
I found this site that can solve my problem: sitmo.com/latex
and created this script:
- Code:
<script src="http://www.gmodules.com/ig/ifr?url=http://www.sitmo.com/gg/latex/latex.xml&up_eq=&up_z=100&synd=open&w=320&h=500&title=Equation+Editor&border=%23ffffff%7C0px%2C1px+solid+%23993333%7C0px%2C1px+solid+%23bb5555%7C0px%2C1px+solid+%23DD7777%7C0px%2C2px+solid+%23EE8888&output=js"></script>
I have tried to make a post and put the code inside like this [html]the code[/html] but no luck
I have enabled HTML from the administation panel.
How do I solve my problem?
or even better: Is it possible to create a button in the post editing panel that pops up the equation editor?
Re: I need to embed a script but it doesn't work.
Hello Norfeldt,
To have a popup equation editor...
Create an Html page with this
Replace the test "http://zone3 etc" Url's in this code with your new page...
use this popup link wherever Html is enabled
Download *this pic, upload to your image host, replace the link in the code
To have a popup equation editor...
Create an Html page with this
- Code:
<html>
<head><title>Equation Editor</title></head>
<body bgcolor="#ffffff">
<div style="position: relative; width:80%; margin: 0px auto; height: 70%">
<script src="http://www.gmodules.com/ig/ifr?url=http://www.sitmo.com/gg/latex/latex.xml&up_eq=&up_z=100&synd=open&w=320&h=500&title=Equation+Editor&border=%23ffffff%7C0px%2C1px+solid+%23993333%7C0px%2C1px+solid+%23bb5555%7C0px%2C1px+solid+%23DD7777%7C0px%2C2px+solid+%23EE8888&output=js"></script></div>
</body>
</html>
Replace the test "http://zone3 etc" Url's in this code with your new page...
use this popup link wherever Html is enabled
- Code:
<table><tr><td>
<img src="http://i85.photobucket.com/albums/k57/RoNo1/math2.jpg" style="float: left;"></td><td width="140"><a href="http://zone3.forumotion.com/Equation-Editor-h55.htm" onclick="window.open('http://zone3.forumotion.com/Equation-Editor-h55.htm', 'popup01', 'width=440,height=580,height=300,left=150,top=200,scrollbars=yes'); return false"><font face="times new roman" size="2">Popup Equation Editor</font></a>
</td></tr></table>
Download *this pic, upload to your image host, replace the link in the code
Re: I need to embed a script but it doesn't work.
Thank you for your answer, but Im am not quite sure what to do?
I done this so far:
Administration panel / Modules / HTML pages management / Create new HTML page
Title* : Equation Editor
Do you wish to use your forum page header and page footer ? NO
Use this page as homepage ? NO
pressed the +Html button
Pasted this your code
And then what?
I done this so far:
Administration panel / Modules / HTML pages management / Create new HTML page
Title* : Equation Editor
Do you wish to use your forum page header and page footer ? NO
Use this page as homepage ? NO
pressed the +Html button
Pasted this your code
- Code:
<html>
<head><title>Equation Editor</title></head>
<body bgcolor="#ffffff">
<div style="position: relative; width:80%; margin: 0px auto; height: 70%">
<script src="http://www.gmodules.com/ig/ifr?url=http://www.sitmo.com/gg/latex/latex.xml&up_eq=&up_z=100&synd=open&w=320&h=500&title=Equation+Editor&border=%23ffffff%7C0px%2C1px+solid+%23993333%7C0px%2C1px+solid+%23bb5555%7C0px%2C1px+solid+%23DD7777%7C0px%2C2px+solid+%23EE8888&output=js"></script></div>
</body>
</html>
And then what?
Re: I need to embed a script but it doesn't work.
Once you've saved the page, go back to HTML pages management,
copy the address of your new page and add it to the popup code.
You can place the popup link on your homepage/index.
Got to: Admin Panel >
Display > Homepage > Generalities > Message content (save)
copy the address of your new page and add it to the popup code.
You can place the popup link on your homepage/index.
Got to: Admin Panel >
Display > Homepage > Generalities > Message content (save)
Re: I need to embed a script but it doesn't work.
Sorry.. I still can't make it to work. But I found a solution anyway. I just made a widget with the script. So problem solved.
Thanks for your help
Thanks for your help
Re: I need to embed a script but it doesn't work.
| The popup is working good... The link will look like this: ![]() |
Paste the code below in this editor and click/test it
- Code:
<table><tr><td>
<img src="http://i85.photobucket.com/albums/k57/RoNo1/math2.jpg" style="float: left;"></td><td width="140"><a href="http://zone3.forumotion.com/Equation-Editor-h55.htm" onclick="window.open('http://zone3.forumotion.com/Equation-Editor-h55.htm', 'popup01', 'width=440,height=580,height=300,left=150,top=200,scrollbars=yes'); return false"><font face="times new roman" size="2">Popup Equation Editor</font></a>
</td></tr></table>
http://zone3.forumotion.com/Equation-Editor-h55.htm with yours
Since the issue appears to be resolved, this topic is closed. ![]() RoNo |
Permissions of this forum:
You cannot reply to topics in this forum
Home




by Norfeldt on November 7th 2009, 9:28 am







RoNo


» Option to turn the chatbox into a shoutbox.
» Emoticon Category/Font Size
» No THANKS
» OrangE RankS
» Forumotion Christmas gifts for you!
» Warning bars !
» Changing color of adminatrator and regular member user names
» help with my sub forum