Old 14-02-2005, 16:51   #1 (permalink)
Alex
div
 
Alex's Avatar
 
Join Date: Feb 2004
Location: Leeds
Posts: 646
Send a message via MSN to Alex
sifr

For those of you who've used this, I could do with some help. Basically it works fine on the basic <h> tags, no problem, but doesn`t like it when say i have <h class="big"> and give it different visual properties in the javascript. It always displays using the style of the parent <h> tag, despite the instructions clearly showing you can be class specific with the styles.

Am i being thick? Anyone else had the same problem?

ie.
sIFR.replaceElement("h3", "georgia.swf", "#4B7275", "#4B7275", "#FFFFFF", "#114448", 0, 0, 0, 0, "textalign=right");

sIFR.replaceElement("h3.big", "georgia.swf", "#FFFFFF", "#4B7275", "#FFFFFF", "#114448", 0, 0, 0, 0, "textalign=right");

<h3 class="big"> just displays with the h3 style
__________________
  Reply With Quote
Old 14-02-2005, 17:06   #2 (permalink)
Alex
div
 
Alex's Avatar
 
Join Date: Feb 2004
Location: Leeds
Posts: 646
Send a message via MSN to Alex
I fixed it, you have to have the one with the class applied to it BEFORE the default header tag in the javascript......sigh
__________________
  Reply With Quote
Old 15-02-2005, 04:19   #3 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,469
Yup, and just in case, there's a new version out
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8