Log in

View Full Version : Mozilla Firefox bug with Circling Text Trail



blakilox
05-29-2012, 12:46 PM
1) Script Title: Circling Text Trail

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex13/circletext.htm

3) Describe problem:

The Bug is somewhat evident on Dynamic Drive itself, you will notice when using Firefox, if you hover over the tabs on the script demo page such as Revised Tools Forums, when the text swirls near, sometimes when you click it looses the click, it's only when the text is swirling near the button,
on my site the buttons are a little bigger then the problem is more evident, as the text swirls around the button on my site you cant click the button at all, it looks to be the same bug I can demonstrate on the Dynamic Drive web page. in IE it has no issue. you could see it more evident on my site http://goldcoast.info
Thanks for help. Cool Script! Garry

jscheuer1
05-29-2012, 03:15 PM
Not a complete fix, but change (in the on page stylesheet):


#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}

to:


#outerCircleText div div {width: 16px !important;height: 16px !important;position: absolute;top: 0;left: 0;text-align: center;}

There is no ideal solution though. The problem is that the letters are in divs which at times cover the buttons. What I just did makes them smaller, so less likely to cover the buttons. They still will sometimes, and when they do, since it's at the periphery, the buttons will flicker. You can even make the width and height 0 - absolutely position elements like those will still be seen, but they will still at times cross the buttons at the periphery.

You can alternatively or in addition to the above give the buttons a higher z-index than the letters, 10 or more should do - trickier than you might think, or perhaps not. Tricky because not only the buttons but all of their parents and/or children might need this higher z-index and probably would each have to be positioned relative or absolute (you can do some relative, some absolute, whatever works) as well. With that layout and scripts it might be really hard though because other things might get messed up and then need tweaking.

Even if you work all that out, it's not ideal because then sometimes the letters would disappear behind the buttons.

blakilox
05-29-2012, 07:44 PM
Thankyou John :)
that worked beautifully, with that above mod Mozilla is much more responsive to the buttons underneath the swirl
This really is the cutest little script I have ever seen, what I did was insert some php snippets to randomly change the text and color, Thankyou so much. wow.
Garry. Alice Springs. Australia.