Project:Slide Show CS
Version:6.x-2.8
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I wanted to style the text that appears while the images in the slideshow are loading. Right now it just displays by default to the top left corner and without any style.

I found it difficult to apply the css style that I wanted and change the look and position of the "Loading..." text. I had to go into the module and put in an extra div tag around it.

It would be nice if that could come standard with the module. Themers can usually use the extra tags.

I changed the lines 119 and 120 from:

<?php
$contenido
= strtr("<div id='!blockid' style='height:!blockheightpx'>", $trans) ;
$contenido .= t('Loading...') ."</div>" ;
?>

to:

<?php
$contenido
= strtr("<div id='!blockid' style='height:!blockheightpx' class='slideshowcs-content'>", $trans) ;
$contenido .= "<div class='loading-text'>" . t('Loading...') ."</div></div>" ;
?>

This worked great for me and gave me the ability to position and style the loading text for all my slideshows. I was even able to pot in a little loading gif.

Comments

#1

Status:active» fixed

Thanks! I just committed to the cvs, and released new version with your code and few changes in class names.

#2

No Problem,

Glad to see a feature request implemented so quickly.

Cheers

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.