Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder MrBiggZ's Avatar
    Join Date
    Apr 2005
    Location
    Indianapolis IN
    Posts
    275
    Thanks
    39
    Thanked 0 Times in 0 Posts

    Not so sure about this $(window).load statement

    Greetings!

    Not a javascript person, sorry! But if somebody could clue me into if this code below is correct or not I'd appreciate it!

    As it is the smoothDivScroll functions but vTicker is broke. I gotta good feeling it's something I did in the code below.

    Code:
    <script type="text/javascript">
    $(window).load(function() {
    
    	$("div#logoParade").smoothDivScroll({autoScroll: "always", autoScrollDirection: "endlessloopleft", autoScrollStep: 1, autoScrollInterval: 25, ajaxContentURL: "sponsorContent.html"});
    	
    	// First logo parade
    	$("div#logoParade").bind("mouseover", function() {
    		$(this).smoothDivScroll("stopAutoScroll");
    	}).bind("mouseout", function() {
    		$(this).smoothDivScroll("startAutoScroll");
    	});
    	
    	$('#news').vTicker({ 
    		speed: 700,
    		pause: 3000,
    		animation: 'fade',
    		mousePause: true,
    		showItems: 6,
    		height:114
    	});
    	
    });
    </script>
    I appreciate the help!!!!
    “No matter how slick the demo is in rehearsal, when you do it in front of a live audience, the probability of a flawless presentation is inversely proportional to the number of people watching, raised to the power of the amount of money involved.” ~ Mark Gibbs

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,627
    Thanks
    6
    Thanked 1,001 Times in 974 Posts
    What does the browser’s error console say?
    Are you by chance including the jQuery core framework twice?

  • #3
    Regular Coder MrBiggZ's Avatar
    Join Date
    Apr 2005
    Location
    Indianapolis IN
    Posts
    275
    Thanks
    39
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    What does the browser’s error console say?
    Are you by chance including the jQuery core framework twice?
    Nope, just once ... BUT ..

    If you are married you'll understand this and if you not then don't. But I got honey-do'd constantly while doing this and my path .. instead of js had jst!!

    Grrrrrrrrrrrr!!!

    But that made me look harder!!! SO so so so sorry!
    “No matter how slick the demo is in rehearsal, when you do it in front of a live audience, the probability of a flawless presentation is inversely proportional to the number of people watching, raised to the power of the amount of money involved.” ~ Mark Gibbs


  •  

    Posting Permissions

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