[support] Magical CSS from nowhere!
Ted
ted-drupalists at webfirst.com
Thu Mar 10 16:54:15 UTC 2011
On 3/10/2011 11:43 AM, James Bensley wrote:
> Anyone else have the rotor module installed (http://drupal.org/project/rotor)?
>
> In rotor-view-rotor.tpl.php is this line of code:
>
> <div class="rotor-content"><?php print $row; ?></div>
>
> On an actual page this generates this html:
>
> <div class="rotor-content" style="position: absolute; top: 0px; left:
> 0px; opacity: 1; display: block; z-index: 10; ">
> <div class="rotor-content-detail"><p><img
> src="http://site.com/picture.jpg"></p></div>
> </div>
>
> Where does that damn style entry come from, I need to change it and it
> just seems to come from nowhere! Anyone got any ideas before I
> completely explode? :)
>
It's probably getting added by javascript after the page loads. Most
likely the jquery.cycle plugin, but parts of the css/style attribute
could come from other places as well.
Ted
More information about the support
mailing list