Results 1 to 6 of 6

Thread: Sticky Content script change position.

  1. #1
    Join Date
    Jul 2006
    Location
    Agadir - Morocco
    Posts
    33
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Sticky Content script change position.

    1) Script Title: Sticky Content script

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

    3) Describe problem: i use this amazing script in my web site Entre chiens et chats as a menu bar. so the only problem i have, it's when i resize the window and scrolling down or up, the menu bar change position / slide out of the website layout. see the attached files or go to the web site for more information.

    Thanks for any help and suggestion.
    Last edited by taghaboy; 05-18-2012 at 03:06 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Use this version of the script:

    Attachment 4456
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    taghaboy (05-18-2012)

  4. #3
    Join Date
    Jul 2006
    Location
    Agadir - Morocco
    Posts
    33
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Thumbs up Oh my GOD

    AMAZING change, i love a lot the smooth animation to find the right position, and it work also in Opera.
    thanks sir.

  5. #4
    Join Date
    Jul 2006
    Location
    Agadir - Morocco
    Posts
    33
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Pls just one last thing i ask for, it's how can i let the Sticky Content script to show the drop down menu?
    (see the Articles pour chiens + Articles pour chats)

    thanks

  6. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Move this (highlighted, from the page's source code):

    Code:
    	<link rel="stylesheet" href="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/css/slider.css" type="text/css" media="all" />
    <script type="text/javascript" src="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/js/jquery.cycle.all.min.js"></script>
    <script type="text/javascript">
     var $jts = jQuery.noConflict();
        $jts(document).ready(function(){ 
    		
    		//Slider  
             $jts('#slideshow').cycle({
                timeout: 0,  // milliseconds between slide transitions (0 to disable auto advance, default 5000)
                fx:      'turnDown', // choose your transition type, ex: fade, scrollUp, growX, curtainX, shuffle, turnDown, blindY, cover, wipe, etc...            
                pager:   '#pager',  // selector for element to use as pager container
                pause:   0,	  // true to enable "pause on hover"
                pauseOnPagerHover: 0 // true to pause when hovering over pager link
            });
         });
    </script>
    <script type="text/javascript" src="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/js/stickycontent.js">
    /***********************************************
    * Sticky Content script (c) Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    <script type="text/javascript">
    jQuery(document).ready(function($){
      $('#menu').stickyit({
    		gap: 5,
    		stickyclass: "docked"
    	})
    })
    </script>	
    <!-- wp_head*** -->
    
    <!-- This site is optimized with the Yoast WordPress SEO plugin v1.1.5 - http://yoast.com/wordpress/seo/ -->
    <meta name="description" content="✔ Magasin Entre Chiens et Chats Agadir offre des services de qualite en produits pour votre compagnon : produits veterinaires, aliments croquettes &amp; dietetique veterinaires, accessoires et toilettage, gardiennage a Prix Bas Garantis !"/>
    <meta name="keywords" content="gardiennage, Pension,canin . . .
    To here:

    Code:
     . . . nate" href="http://www.entre-chiens-et-chats-agadir.com/feed/" type="application/rss+xml" title="????? Entre chiens et chats Agadir : toilettage accessoires alimentations pension gardiennage produits vétérinaires. Feed" />
    	<link rel="shortcut icon" href="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/img/favicon.ico" />  
    	<link rel="icon" href="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/img/animated_favicon.gif" type="image/gif" />
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
    	<script type="text/javascript" src="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/js/pretty.photo.js"></script>
    	<script type="text/javascript" src="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/js/smoothscroll.js"></script>
    <script type="text/javascript" src="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/js/stickycontent.js">
    /***********************************************
    * Sticky Content script (c) Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    <script type="text/javascript">
    jQuery(document).ready(function($){
      $('#menu').stickyit({
    		gap: 5,
    		stickyclass: "docked"
    	})
    })
    </script>
    	<script type="text/javascript" src="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/js/custom.js"></script>
    	<!--[if IE 6]>
    	<script src="http://www.entre-chiens-et-chats-agadir.com/wp-content/themes/Agadirweb_framwork-aimmi_v-2.2/js/dd_belated_png.js"></script>
    	<script>DD_belatedPNG.fix('.ie6fix, #top, #nav a:h . . .
    That's to just before the external tag for custom.js (the script that initializes the menu). If placed there, the menu will initialize for both the hard coded one and the script generated one made by the Sticky Content script.
    Last edited by jscheuer1; 05-20-2012 at 03:29 AM. Reason: remove extraneous notes
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. The Following User Says Thank You to jscheuer1 For This Useful Post:

    taghaboy (05-20-2012)

  8. #6
    Join Date
    Jul 2006
    Location
    Agadir - Morocco
    Posts
    33
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    It work, thanks a lot.

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
  •