Title: scrollspy
Last modified: August 20, 2016

---

# scrollspy

 *  Resolved [cfabrice](https://wordpress.org/support/users/cfabrice/)
 * (@cfabrice)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/scrollspy/)
 * Hello
    I’m trying to implement scrollspy in an horizontal slider based on “sly
   slider”. But i’m wondering if i’m spying anything !!! Is it included in the plugin?
 * [http://wordpress.org/extend/plugins/wordpress-bootstrap-css/](http://wordpress.org/extend/plugins/wordpress-bootstrap-css/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/scrollspy/#post-3632240)
 * Yes, all bootstrap components are included in the plugin. You’ll have to check
   the option to include the javascript on your site – make sure this is on.
 * Thanks,
    Paul.
 *  [deniseyap](https://wordpress.org/support/users/deniseyap/)
 * (@deniseyap)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/scrollspy/#post-3632373)
 * Hi,
 * Can I just check that I am calling this correctly? I didn’t see any shortcodes
   for Scrollspy on the demo page on your website. So, is this how it would be coded?
 *     ```
       <!--Dot navigation -->
       <div id="sidebar">
       <?php dynamic_sidebar( 'Sidebar-1' ); ?>
       </div>
   
       <!-- ABOUT US - STATEMENT BLOCK -->
   
       <div id="wrapper" data-spy="scroll" data-target="#sidebar">
       <div id="firstbg" class="firststyle">
       <?php $my_query = new WP_Query( 'post_type=page&page_id=38' );
       if ($my_query->have_posts()) : while($my_query->have_posts()) : $my_query->the_post();?>
       	 <h1><?php the_title();?></h1>
   
       	 <?php the_content();?>
   
       <?php endwhile; endif; ?>
       <?php wp_reset_postdata();?>
       </div>
   
       <!-- BUSINESS MODEL-->
       <div id="secbg" class="secstyle">
       <?php $query2 = new WP_Query( 'post_type=page&page_id=40' );?>
       <?php if ($query2->have_posts()) : while($query2->have_posts()) : $query2->the_post();?>
       	 <?php the_content();?>
   
       <?php endwhile; endif; ?>
       <?php wp_reset_postdata();?>
       </div>
       ```
   
 * Any help is greatly appreciated! Thanks for the plugin!
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/scrollspy/#post-3632376)
 * sorry I can’t be of any more help here… I have never actually used the scrollspy
   feature.
 * There’s nothing a million results if you google something like that and you’ll
   lots of people and examples that have used it.
 * I hope you get it working.
    Thanks, Paul.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘scrollspy’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-bootstrap-css_d0f2fd.svg)
 * [Twitter Bootstrap for WordPress](https://wordpress.org/plugins/wordpress-bootstrap-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-bootstrap-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-bootstrap-css/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-bootstrap-css/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/scrollspy/#post-3632376)
 * Status: resolved