Hot Newsflash Module

More
12 years 7 months ago #18444 by kennys1974
Hi There

I recently bought the hot furniture store template and I think it's great. I'm busy developing on this domain www.onlinebedshop.co.za . My client has asked if the hot newsflash module could have a fade in and fade out effect. In the settings you can adjust the rotation speed but not the fading in and out speed.

Would this be possible. I'm sure its one or two additional lines of Javascript, is it not?

Thanks

Ken Sutherland

Please Log in to join the conversation.

More
12 years 7 months ago #18455 by ivan.milic
Replied by ivan.milic on topic Re: Hot Newsflash Module
open :

modules\mod_hot_newsflash\tmpl\default.php,

you will see this line:
Code:
jquery("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", <?php echo $speed; ?>, true);

modify it like this:
Code:
jQuery("#featured > ul").tabs({fx:{opacity: "toggle",duration:'slow'}}).tabs("rotate", <?php echo $speed; ?>, true);

duration parameter may be 'slow','normal','fast' , also numeric values representing milliseconds should work

Please Log in to join the conversation.

More
12 years 7 months ago #18468 by kennys1974
Replied by kennys1974 on topic Re: Hot Newsflash Module
Hi Ivan

Excellent, it work like a charm.

Thanks a million for your help.

Ken Sutherland

Please Log in to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum