The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
I added the photo slideshow button to the "photo_view.tpl.php" but when i click it nothing happens.... How can i make it clickable.
I want this because if someone looking at pictures and want to switch to slideshow they can do it at anytime.
Offline
This feature is only available on the photo album page. If you want to add this to the photo view page, you need to copy the exact code for the slideshow button and the javascript code.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I tired that.. i copied these but the slide didn't work.
<script type="text/javascript">
$(document).ready(function() {
$("button[id='share']").click(function(e) {
$("#share-container").slideToggle();
});
$("button[id='slideshow']").click(function(e) {
$.get(base_url + '/ajax.php?s=photo_album_slideshow&id=<?php echo $this->album['album_id']; ?>', function(response) {
$("#slider-container").html(response);
$("#slider-container").show();
$("#slideshow-modal").modal();
$(".carousel").carousel({interval: 2000});
});
});
});
</script>
<div id="slider-container" style="display:none;"></div>
<div id="album" class="row">
and
<div class="btn-group">
<button id="slideshow" class="btn btn-default btn-mb" data-toggle="tooltip" data-placement="top" title="<?= __('slideshow-help'); ?>"><i class="fa fa-slideshare"></i> <?php echo __('slideshow'); ?></button>
</div>
Offline
What error do you get when calling ajax? You can see this with firebug.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1