Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Javascript rotation jumps/jerks at beginning (http://forum.bytesforall.com/showthread.php?t=14602)

Kernewes Jun 12, 2011 06:39 AM

Javascript rotation jumps/jerks at beginning
Can anyone tell me why the beginning of a rotation/fade sequence of header images (created in the Dashboard 'Header Image' should jump abruptly from the first image displayed to another at the beginning of the sequence (but not afterwards)?

With thanks in advance

juggledad Jun 12, 2011 05:43 PM

If you use the fade in/out option, the code that handles it (and this has been explained a number of times if you search the forums) is an open source jscript that was coded by someone else (you can fine the author if you look thru the code).

This code does not respect the CSS positioning so if you position the header background image any where but at 0,0 in the header area, you will notice first the CSS background image is displayed, then the jscript starts to run and it positions the next image at 0, 0 causing an apparent 'jump' of the image.

You will also see that if you set the blog title to display over the image, it will disappear because the jscript overlays what is previously displayed.

Unfortunately, the author of the jscript has decided to stop supporting it, so it is what it is. I've actually recommended to Atahualpa's author (Flynn) that he remove the option.

You might try to use a plugin like dynamic headers instead.

All times are GMT -6. The time now is 08:44 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.