PDA

View Full Version : Cufon and Featured Content Slider v2.4



GeorgGearlQs
11-10-2010, 04:39 PM
1) Script Title: Featured Content Slider v2.4

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

3) Describe problem:

Hi DD.
I am making a website (not in english) (http://designxpression.dk/deltatech/), where i wanted to use the Featured Content Slider v2.4, but i got a small problem. I'm using Cufon (https://github.com/sorccu/cufon/wiki/, http://cufon.shoqolate.com/generate/) for changing the font of the captions in the content of the slider. The problem is, that Cufon only changes the caption in the first contentdiv, not in the last 3. According to the documentation on the cufon site, that's because of the use of ajax in the content slider script. It should be fixed, if i added a Cufon function called Cufon.refresh() (https://github.com/sorccu/cufon/wiki/API), in the content slider js script, but you see, that's where my real problem occurs. I need to find the place in the script, where the new contentdiv is loaded, when changing content, so that Cufon can execute the refresh just after. I really hope any of you guys would like to help me :).

I'm not a js programmer, so i'm really lost on this.. But it's quite urgent to get this fixed, since the site needs to be working in a few days...

Ty guys in advance :)

EDIT: Oh btw, the problem with the captions only occur in IE8 for some reason...

GeorgGearlQs
11-11-2010, 03:13 PM
Bump :)