Strange Jquery problem
basically i've created a portfolio gallery see this li开发者_Go百科nk http://www.michaeldg.com/index2.html usinq two lists holding the images (left & right) and a main container. If the user hits the right stack the main image floats to the left and the new one is brought on top and vice versa.
Now I was controlling all the work through Firefox and it works perfectly there. my issue starts with Chrome where it performs with images flying all over the place and especially IE. no image shows up.
I know one problem could be that i'm using fixed and absolute positioning of information and so when animating i'm getting the proper coordinates to offset().
Any help is much apprecieated :)?
the problem was that i was applying javascript .css in pixels whilst the .animate in percentages. once both of them where in px it worked fine for all :)
精彩评论