Clickable rotating header image with CrossSlide fade
Took me some time to figure this out, so thought I'd share. Seems to work with standalone or multi-site. If Rotate Header Images is selected and Fade is set to a number greater than 0, the Clickable option is lost because the entire #imagecontainer div is replaced by the CrossSlide fade script. To get it back, an href argument must be passed to the script. To do that, edit the jQuery line that appends crossSlide in ATA's js.php file. Using echo() inside the implode() function causes an error, but a variable works, so it is created in the PHP block above the jQuery code.
The modified code: Code:
<?php if (strpos($bfa_ata['configure_header'],'%image')!== FALSE AND Code:
<?php if (strpos($bfa_ata['configure_header'],'%image')!== FALSE AND Standalone example: webbishdesigner.com Multi-site blog: greenehamlet.com |
The original code is
in version 3.5.3 lines 68-74 in version 3.6.1 lines 91-97 in version 3.6.4 lines 91-97 Note: this fix will ONLY correct the clickable rotating/fading image. The fade in/out still causes issues with: - 'jumping image' - the image seems to shift when first displayed - The blog/tag overlay is overlayed. The cause seems to be that the jquery code does not respect the z-index of elements set by CSS |
Thanks so much for taking the time to post your findings, Aubergine. You saved me a lot of time and headache.
Juggledad, will this code change be posted as a patch and ultimately added to a forthcoming release? |
All times are GMT -6. The time now is 03:04 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.