Search the web
Sign In
New User? Sign Up
ycarousel · Bill Scott's Carousel Component
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
IE vs Firefox shows different value for 'firstVisible'   Message List  
Reply | Forward Message #478 of 505 |
Building on the billscott carousel, I created my own tab buttons from
scratch using the scrollTo method. The problem is making these tab
buttons sync up when you use the main nav buttons.

I have a listener on the main nav buttons:

var nextButton = YAHOO.util.Selector.query('#next-arrow');
YAHOO.util.Event.on(nextButton, 'click', dotSync);

but when I ask the carousel what the firstVisible value is (so I know
what page I'm on, and can calculate which one I'm going to), in
Firefox the firstVisible is the one already showing, but in IE, it's
the one I'm about to go to.

Any ideas? I hate writing code that checks for browsers.

thanks!




Thu Dec 11, 2008 12:09 am

craigdscribner
Offline Offline
Send Email Send Email

Forward
Message #478 of 505 |
Expand Messages Author Sort by Date

Building on the billscott carousel, I created my own tab buttons from scratch using the scrollTo method. The problem is making these tab buttons sync up when...
craigdscribner
Offline Send Email
Dec 11, 2008
12:09 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help