SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jan 2009
    0 Post(s)
    0 Thread(s)

    jQuery slideshow problems on home page.

    jQuery slideshow problems on home page.

    Hi all

    I have an example here to illustrate my problem.


    It's a wordpress site but I'm sure the problem is with my javascript (and wordpress people are never any help)

    It's just one page that has a slideshow using the jQueury cycle plugin -

    My problem is when the page first loads only part of the slideshow is visible. If you scroll left/right near the 'Home'
    button you can see the rest of the slideshow.

    If you then click 'Home' the same page loads but the full slideshow is visible.

    Why is the slideshow not loading correctly when the page loads.

    <!DOCTYPE html>
    <html dir="ltr" lang="en-US">
      <meta charset="UTF-8" />
      <meta name="robots" content="noindex,nofollow">
      <link rel="profile" href="" />
      <link rel="stylesheet" type="text/css" href="" />
      <link rel="pingback" href="" />
      <link rel="alternate" type="application/rss+xml" title="forum &raquo; Home Comments Feed" href="" />
    <link rel='stylesheet' id='admin-bar-css'  href='' type='text/css' media='all' />
    <link rel='stylesheet' id='NextGEN-css'  href='' type='text/css' media='screen' />
    <link rel='stylesheet' id='shutter-css'  href='' type='text/css' media='screen' />
    <script type='text/javascript' src=''></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var shutterSettings = {"msgLoading":"L O A D I N G","msgClose":"Click to Close","imageCount":"1"};
    /* ]]> */
    <script type='text/javascript' src=''></script>
    <script type='text/javascript' src=''></script>
    <script type='text/javascript' src=''></script>
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="" /> 
    <meta name="generator" content="WordPress 3.4" />
    <link rel='canonical' href='' />
    <!-- <meta name="NextGEN" version="1.9.5" /> -->
    <style type="text/css" media="print">#wpadminbar { display:none; }</style>
    <style type="text/css" media="screen">
    	html { margin-top: 28px !important; }
    	* html body { margin-top: 28px !important; }
      <!-- include Cycle plugin -->
      <script type="text/javascript" src=""></script>	
      <div id="wrap">
        <div id="header">
        </div><!-- #header -->
      <div id="leftCol">
        <div id="logoDiv">
        </div><!-- #logoDiv -->
        <ul id="nav">
          <li class="page_item page-item-5 current_page_item"><a href="">Home</a></li>
      </div><!-- #leftCol -->
      <div id="rightCol">    
        <div id="homeSlides">
          <div id="slideshow">
            <p><img class="ngg-singlepic ngg-none" src="" alt="17" /></p>
    <p><img class="ngg-singlepic ngg-none" src="" alt="18" /></p>
    <p><img class="ngg-singlepic ngg-none" src="" alt="19" /></p>
          </div><!-- #slideshow -->  
        </div><!-- #homeSldies -->  
      </div><!-- #rightCol -->
      <script type="text/javascript">
        //$(function($) {
            fx: 'fade',
            speed: 800,
            timeout: 3000
    <script type='text/javascript' src=''></script>
    	<script type="text/javascript">
    		(function() {
    			var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
    			request = true;
    			b[c] = b[c].replace( rcs, '' );
    			b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
    Last edited by Mittineague; Aug 3, 2012 at 11:58.

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Melbourne, AU
    17 Post(s)
    1 Thread(s)
    What browser is this occurring in as it works perfectly for me.

  3. #3
    SitePoint Addict
    Join Date
    Jan 2009
    0 Post(s)
    0 Thread(s)
    Sorry I should have updated - I got it sorted.


Posting Permissions

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