Im using the script for Dynamic Text Replacement as provided in this article and have everything working, up to the javascript portion of it.
Ive got the script loaded, and used a <span> tag around my header text, set the script to replace span, pointed to the path of the pixel.png file (stored in a different folder) but when my page loads it doesnt replace the span, and doesnt load my header.
Right now im just using the php script without the js, but id like to avoid having a messy url in my code.
ive tried setting the replaceselector value to h2, span, headertext (my css style for this element) etc, and it just doesn't seem to load it properly.
I cant figure out what im doing wrong..... anyone have an idea?
Last edited by chrishirst; 08-07-2008 at 05:24 AM..
|