D6 Views Slideshow Pager>Titles
In Views Slideshow in D6, this will allow you to swap the number in a pager for the slides title, allowing for a tabbed type layout, see http://ing.us as an example.
<style>
#views_slideshow_singleframe_main_[view system name]-page_1 .views-field-title { display:none; }
</style>
<script>
jQuery(document).ready(function($) {
// Code using $ as usual goes here.
$('#views_slideshow_singleframe_main_[view system name]-page_1.views-field-title SPAN').each(function(a, b) {
$('.pager-num-' + (a+1) + ' A').text($(this).text());
});
});
</script>
Be sure to replace [view system name] with your view system name. I don't claim that I created this but its a nice quick hack.
Written by mwetmore
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Drupal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#