Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
August 22, 2008, 04:32:49 AM
RSGallery2 Support Forums
RSgallery2 support forums
Display and Templates
(Moderators:
Jonah
,
Tomislav Ribicic
,
Daniel Tulp
,
Ronald Smit
)
slideshow function
« previous
next »
Topic Tools
Search this topic
Pages
1
Author
Topic: slideshow function (Read 1052 times)
«
on:
April 22, 2008, 09:33:01 AM »
luciffere
Newbie
Posts: 4
slideshow function
Hello. I have rsgallery the latest installed and the semantic theme default. In back end i have the show slideshow option enabled with slideshow_parth.
The problem is in firefox. When i select a category from gallery, and i use slideshow button, i see the lightbox effect, but not images (the background page is ok -black, the background image is ok white, the button clos, next is ok) but image not.
In ie7 all are ok.
I think, the code who make the slide efect with lightbox is in /com_rsgallery2/templates/semantic/display.class.php with the code:
//Check if items need to be shown
if ( ($slideshow + $owner + $size + $date) > 0 ) {
?>
<div class="rsg_gallery_details">
<div class="rsg2_details">
<?php
if ($slideshow) {
?>
<a href="#" onclick="slideshow_<?php echo $kid->get('id'); ?>();return false;"><?php echo _RSGALLERY_SLIDESHOW; ?></a><br />
<script type="text/javascript">
function slideshow_<?php echo $kid->get('id'); ?>(){
var images = [];
<?php
foreach( $kid->items() as $item ):
if( $item->type != 'image' )
continue; // we only handle images
$display = $item->display();
?>
images.push(["<?php echo $display->url(); ?>", "<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>"]);
<?php endforeach; ?>
Lightbox.open(images, 0);
}
</script>
Please help me with this.
Logged
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1 RC3
|
SMF © 2001-2006, Lewis Media
Pn-Pn Theme by koni.
Loading...