Can I use Javascript in postings?
Page 1 of 1
Can I use Javascript in postings?
Hello,
Not really sure where this question would fit, so here we are
I made a HTML page with a Javascript. It contains a form with a few possible choices and chucks out a result to the user.
Now this is something we want to share with our users so I made it into a HTML page and uploaded it into the Modules section.
Now I have used an iFrame inside a normal post to show that form and they can use it.
Is this a problem? Or is this something that Forumotion forbids?
I do know not all hosters are happy or allow Javascripting that way.
Direct link to the post in question http://friendlyfarmer.actieforum.com/t601-form-test
Thanks
Not really sure where this question would fit, so here we are
I made a HTML page with a Javascript. It contains a form with a few possible choices and chucks out a result to the user.
Now this is something we want to share with our users so I made it into a HTML page and uploaded it into the Modules section.
Now I have used an iFrame inside a normal post to show that form and they can use it.
Is this a problem? Or is this something that Forumotion forbids?
I do know not all hosters are happy or allow Javascripting that way.
Direct link to the post in question http://friendlyfarmer.actieforum.com/t601-form-test
Thanks
Last edited by Meesleepbeest on November 29th 2015, 1:36 am; edited 1 time in total
Guest- Guest
Re: Can I use Javascript in postings?
Is there a reason why your members can not visit that page? Did you create the page in your administration panel?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can I use Javascript in postings?
It is our testing area for Admins only, me and my girlfriend. This is a new feature we are testing out. And I want to make many more like it in a new FAQ section.
I write the HTML pages offline on my computer and if they are ready I upload the code to Admin Panel -> Modules -> HTML Pages Management. And then make it public by posting it in an iFrame on the forum.
It is not public because I wanted to ask if this is OK with Forumotion, it being Javascript and all.
I write the HTML pages offline on my computer and if they are ready I upload the code to Admin Panel -> Modules -> HTML Pages Management. And then make it public by posting it in an iFrame on the forum.
It is not public because I wanted to ask if this is OK with Forumotion, it being Javascript and all.
Guest- Guest
Re: Can I use Javascript in postings?
You can use JavaScripts on your forum. Maybe I am not really understanding what the issue is. You can post the link to page on your forum where only members can see it, or create a navigation link in your menu.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can I use Javascript in postings?
Not all forum hostings allow Javascript inside posting, apparently for security reasons. It also does not work if I try to use the code directly in a post.
It only works via an iFrame like I did now. I am fairly new to this, so I have no idea if there is another way.
I do know that the link the forum generates in the HTML managment, also works outside our forum directly. No idea if I can prevent that from happening...
Anyway I want to make a few dozen of those calculators and they will be posted in a members only environment.
It only works via an iFrame like I did now. I am fairly new to this, so I have no idea if there is another way.
I do know that the link the forum generates in the HTML managment, also works outside our forum directly. No idea if I can prevent that from happening...
Anyway I want to make a few dozen of those calculators and they will be posted in a members only environment.
Guest- Guest
Re: Can I use Javascript in postings?
Ok. You can not use JavaScript in post. You can use HTML if you activate it for the whole forum and in your profiles.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can I use Javascript in postings?
It currently is displayed in a post via an iFrame, the Javascript code is not in the post itself but in a file in HTML management.
I am not entirely sure I understand your answer, sorry.
Is what I have currently done OK?
I am not entirely sure I understand your answer, sorry.
Is what I have currently done OK?
Guest- Guest
Re: Can I use Javascript in postings?
If there is nothing on the HTML page that breaks the Terms of Service, it will be ok.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can I use Javascript in postings?
No there will not be, all will be just the same type as it is now.
Thank you kindly for all the help.
Thank you kindly for all the help.
Guest- Guest
Re: Can I use Javascript in postings?
You're welcome.
Topic solved and archived
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum