Results 1 to 2 of 2

Thread: Featured Content Glider Script

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Featured Content Glider Script

    1) Script Title: Featured Content Glider

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentglider.htm

    3) I can't seem to get it to work ... when the next button is clicked it doesn't go to the next image/slide.

    My code is as follows:

    Code:
    <script type="text/javascript">
    
    featuredcontentglider.init({
    	gliderid: "glidercontent",
    	contentclass: "glidecontent",
    	togglerid: "togglebox",
    	remotecontent: "", 
    	selected: 1,
    	persiststate: true,
    	speed: 300,
    	direction: "leftright", 
    	autorotate: true, 
    	autorotateconfig: [10000, 1] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
    })
    
    
    </script>
    
    <div id="glidercontent" class="glidecontentwrapper">
    <div id="togglebox" class="glidecontenttoggler"> 
    
    
    <a href="#" class="prev"></a> 
    
    <a href="#" class="next"></a>
    
    </div>
    
    <?php 
    	$glidecat = get_option('fress_gldcat'); 
    	$glidecount = get_option('fress_gldct'); 
    	$my_query = new WP_Query('category_name= '. $glidecat .'&showposts= '. $glidecount . '');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>
    
    <div class="glidecontent">
    
    <div class="glidemeta">
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
     <?php the_content_rss('', TRUE, '', 40); ?>
    </div>
    
    
    
    <?php $feature = get_post_meta($post->ID,'feature', true); ?>
    <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" > <img src="<?php echo ($feature); ?>" width="680" height="220" alt="<?php the_title(); ?>"/> </a>
    
    
    
    </div>
    <?php endwhile; ?>
    
    
    
    </div>
    
    
     <div class="clear"></div>
    Thank you so much for any help ...

    Jennifer

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    It's hard to tell just based on the code you posted above, since much of it is actually dynamically generated. Do you have a URL to the actual problem page we can look at?
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •