Results 1 to 2 of 2

Thread: Need To Create Vertical Slider For Homepage

  1. #1
    Thread Starter
    Amateur dustinrwh's Avatar
    Join Date
    Nov 2011
    Posts
    11
    Thanks
    6
    Thanked 1 Time in 1 Post

    Wink Need To Create Vertical Slider For Homepage

    Hello all!

    I have been working awhile on making a different kind of slider for featured listings on the homepage of a new site I am designing. Rather than just using thumbnails, I would like to display the thumbnail, title, price and description and would like the listings to rotate vertically. Right now, I am able to get all of the featured listings in the correct format, but am not sure how to link this to the javascript and how to change the java code to get it to do what I want. Below is some code and a picture of what I am talking about:

    Code to get listings (I just created a new featured.php file):

    HTML Code:
    <?php
    /**
     * The featured slider on the home page
     *
     */
    ?>
    
    <?php if ( get_option('cp_enable_featured') == 'yes' ) : ?>
    	
    	<script type="text/javascript">
    // <![CDATA[
        /* featured listings slider */
        jQuery(document).ready(function($) {
            $('.slider').jCarouselLite({
                btnNext: '.next',
                btnPrev: '.prev',
                vertical: true,
                visible: 15,
                hoverPause: true,
                auto: 2800,
                speed: 1100,
                easing: 'easeOutQuint' // for different types of easing, see easing.js
            });
        });
    // ]]>
    </script>
    	
    	<?php query_posts( array('post__in' => get_option('sticky_posts'), 'post_type' => APP_POST_TYPE, 'post_status' => 'publish', 'orderby' => 'rand') ); ?>
    	<?php if ( have_posts() ) : ?>
    		 <ul>
    		 
    		 
    		
    		<?php get_template_part( 'loop', 'ad_listinghome' ); ?>
    
    <?php endif; ?>
    	<?php wp_reset_query(); ?>
    <?php endif; // end feature ad slider check ?>
    Here is a picture of the set up. I just want the listings to cycle through vertically every 15 seconds:

    Attachment 1810

    Any help is appreciated!

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need To Create Vertical Slider For Homepage
    By dustinrwh in forum ClassiPress General Discussion
    Replies: 1
    Last Post: February 2nd, 2012, 09:09 PM
  2. Delete create an account button on homepage widget
    By jpartner in forum ClassiPress General Discussion
    Replies: 2
    Last Post: December 1st, 2011, 12:18 PM
  3. Slider for featured listings on homepage
    By cbcarads in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: July 24th, 2011, 09:32 PM
  4. Featured Slider on Homepage - Not displaying properly
    By hiro in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: August 23rd, 2010, 01:03 PM