PDA

View Full Version : Alexa traffic mod help


TimAllard
12-15-2006, 08:07 PM
v2.

ok heres the JS:

Content visible to registered users only.

why wont it work? ive tried add ing literals and everything ...hmm

-Tim

anon
12-15-2006, 08:39 PM
when using all out javascript
{literal}
put all javascript here
{/literal}

you are using smarty vairables in there and thus have to set a variable to hold your url.

why are you using javascript for something that can be accomplished just the same with:

<img src="http://traffic.alexa.com/graph?w=379&h=208&r=3m&z=&y=r&u={$URL|escape|trim}/&u=" alt="{$TITLE|escape|trim}"/>

TimAllard
12-15-2006, 08:42 PM
good question lol.

alexa gave me a js script so i didnt know if it was needed to make it work, thanks ill try it out.

-Tim

TimAllard
12-15-2006, 08:44 PM
Thanks! works perfect.