Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Java script in banners

Re: Re: Java script in banners

Still does the same thing. I'm probably doing something else wrong. Here's what I have in the "Use HTML" section of "Edit Banners"

{literal]


var AdBrite_Title_Color = '0000FF';
var AdBrite_Text_Color = '000000';
var AdBrite_Background_Color = 'FFFFFF';
var AdBrite_Border_Color = 'FFFFFF';


{/literal}
Your Ad Here


The only things that gets displayed are the 4 Var lines and the "Your ad here" link

> > Assuming it's possible, how can I run a java script in a banner? Seems like everything betwees a and a gets deleted.
>
> You can add javascript code by using the smarty LITERAL tag:
>

>
Copy to clipboard
> {literal}javascript{/literal} >

>
> HTH,
>
> -RickQuestion
> Now Available: TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.