Hello Guys,
I try to added Javascript to the page.. but didn't work..
below is the Javascript try I was try to added in the page or template.
Please, can someone help me..
Thanks.
External Javascript!
Re: External Javascript!
The forum search is your friend
- please try this
![Grin ;D](./images/smilies/grin.gif)
Code: Select all
{literal}<__script__ language=JavaScript src=http://act.udn.com/ACT/U2U/u2uh.jsp?cid=503></__script>{/literal}
Re: External Javascript!
Have you also tried this ?
Code: Select all
{literal}<__script__ type="text/javascript" src="http://act.udn.com/ACT/U2U/u2uh.jsp?cid=503"></__script>{/literal}
Re: External Javascript!
The only reason you should need the {literal} tags is because the text has a { or } in it. Since it's just a script tag, it shouldn't be necessary. Doesn't mean much, though.
Does this thing work in a regular html page without CMSMS? Something tells me it's not related.
Does this thing work in a regular html page without CMSMS? Something tells me it's not related.
Re: External Javascript!
Hey tedx
One thing is I'm not sure you can call a script from another site, but if it is uploaded to your server thru file manager you should be able to call it like so,
{stylesheet}
in your template
sorta like regular hand coding, notice the single ./ before the / if you put too many, hand code uses more than 1, it won't work.
Greg told me about the IE one.![Smiley :)](./images/smilies/smiley.gif)
HTH
mark
One thing is I'm not sure you can call a script from another site, but if it is uploaded to your server thru file manager you should be able to call it like so,
{stylesheet}
in your template
sorta like regular hand coding, notice the single ./ before the / if you put too many, hand code uses more than 1, it won't work.
Greg told me about the IE one.
![Smiley :)](./images/smilies/smiley.gif)
HTH
mark
Re: External Javascript!
I have try the script in HTML, other portals or CMS...It work..
But I can't get script to work with CMSMS...![Huh ???](./images/smilies/huh.gif)
But I can't get script to work with CMSMS...
![Huh ???](./images/smilies/huh.gif)