jquery 'dualslider' help with wordpress and embed player jquery functionality

  • Author
  • #823761


    Hi guys, I’m pretty new to wordpress, html, css, and javascript and would love your help if possible:

    I’m trying to create a dual slider for the featured content area of my blog where there will be three featured youtube videos on the left slider, and the post excerpt on the right slider. Here’s how I picture it.

    I think i’m doing this inefficiently at the moment; using dualslider

    Right now I have three divs on the right panel, one for each post where the_excerpt() is being output in each div:
    <div class="detail" >
    <?php $args=array('tag' => 'Featured1', 'showposts'=>1, 'caller_get_posts'=>1);
    $my_query = new WP_Query($args);
    if( $my_query->have_posts() ) {
    while ($my_query->have_posts()) : $my_query->the_post(); ?>
    <p>" <?php the_title(); ?></p>
    <h3>"><?php the_title(); ?>
    <div class="line-separator2"></div>
    <h3><?php the_excerpt(); ?></h3>
    } //if ($my_query)
    wp_reset_query(); // Restore global post data stomped by the_post().
    </div><!--END detail1-->

    And three divs on the left, one for each video where the_content is being output to each div:
    <div class="item">
    <?php $args=array('tag' => 'Featured2', 'showposts'=>1, 'caller_get_posts'=>1);
    $my_query = new WP_Query($args);
    if( $my_query->have_posts() ) {
    while ($my_query->have_posts()) : $my_query->the_post(); ?>
    <?php the_content(); ?>
    endwhile; } //if ($my_query)
    wp_reset_query(); // Restore global post data stomped by the_post().
    </div><!--END item2-->

    The three posts that I want featured are each tagged Featured1, Featured2, and Featured3, and the post content is just the iframe youtube embed code followed by whatever I want to be in the right content panel.

    Finally, aside from it being difficult to format the carousel size of the videos given i don’t really understand the dualslider javascript file, my other problem is that I need the currently playing video to be paused when you move from slide to slide similar to the functionality provided in AnythingSlider.

    Any help would be much appreciated. Thanks!



    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.



    We cannot help you here at WordPress.com. You need to post to the correct support forum for your software at http://wordpress.org/support/

The topic ‘jquery 'dualslider' help with wordpress and embed player jquery functionality’ is closed to new replies.