post code in forum?
3 posters
Page 1 of 1
post code in forum?
This is the code id like to add to a forum.
I already have this downtdown clock working on my index/home page, however I'd like to add it to a post.
How could i get it so it would show up as a clock in a post.
NOTE: I already have all codes enabled, in admin panel and profile.
- Code:
obj=new Object;obj.clockfile="9001e-red.swf";obj.TimeZone="Australia_Adelaide";obj.width=320;obj.height=20;obj.Target="2009,1,9,0,0,0";obj.Title="New%20REL%20leader%3A";obj.Message="The%20voting%20has%20ended%2C%20check%20to%20see%20the%20winner!";obj.wmode="transparent";showClock(obj);
I already have this downtdown clock working on my index/home page, however I'd like to add it to a post.
How could i get it so it would show up as a clock in a post.
NOTE: I already have all codes enabled, in admin panel and profile.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: post code in forum?
that code wouldnt work, it isnt complete. All codes start with a tag such as <php> or <script>. I would have a look for full code for a forum clock
Re: post code in forum?
zinex wrote:that code wouldnt work, it isnt complete. All codes start with a tag such as <php> or <script>. I would have a look for full code for a forum clock
Its not <php> for php - most server side languages are <?
although, you are correct, the code is not complete, however, its javascript, hence the code is
- Code:
<script type="text/javascript">obj=new Object;obj.clockfile="9001e-red.swf";obj.TimeZone="Australia_Adelaide";obj.width=320;obj.height=20;obj.Target="2009,1,9,0,0,0";obj.Title="New%20REL%20leader%3A";obj.Message="The%20voting%20has%20ended%2C%20check%20to%20see%20the%20winner!";obj.wmode="transparent";showClock(obj);</script>
If you want to put it in a post, you must enable HTML in posts.
EDIT
It wont work, you dont have '9001e-red.swf' on your foru, you must have a full URL for this.
Re: post code in forum?
Thanks for that guys.
That actually is the full code, as it works in the homepage message, just not in posts.
well, im off to find another clock service....lol.
That actually is the full code, as it works in the homepage message, just not in posts.
well, im off to find another clock service....lol.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Similar topics
» what is the code for the new post and lock forum
» how post emebed code my forum?
» How do I install the forum motion chatbox code inside a post
» Help! Code for removing lengthy spaces of the replied post and original post
» Post code
» how post emebed code my forum?
» How do I install the forum motion chatbox code inside a post
» Help! Code for removing lengthy spaces of the replied post and original post
» Post code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum