Jquery Image DeScroller [ Very Basic Image Scrolling Jquery Code ]

There are many Image Scroller on web, But their code is difficult to read/ Understand. Infact I am not a developer, I know very basic of  jQuery. So I decided to code myself a very Basic Code. I have taken the help from [http://api.jquery.com/category/effects/].
*Note [The Code below written from scratch so there may be some small mistakes. Suggestions are most welcome]
The Procedure I followed / Problems I faced
1) First I tried Code for a “Animate Function”.
2) Then I put the Images in animating div.
3) Styled the thumbnail images.
4) Problem occurred at the limit of scrolling to right and left.
5) Then I searched for a code that counts the particular Element in an HTML Element.
6) Then I calculated the total width of space images had taken with margin, padding and border.
7) I had the width of Main Div and The Width of Space images had taken : that I used for Limiting the Scroller Div at right position.
8) And for left position I taken the Limit as 0 [Zero] / From the left position of Main Div.
9) However I tried for stopping the animation, Scroller Div passes its limit when I clicked the Button no. of times quickly.
10) When I searched for this issue, I came to know that the process are in Queue then run one after another.Second process wait Until the first process gets completed.

Read more of this post

IE Fix – Centering Layout [Common Bug in IE]

We use the “margin:0 auto;” for centering layout which works in Firefox and Chrome well. But when it comes to IE, it shows the entire layout at left.

Display in Firefox and Chrome:

Display in Internet Explorer :

Click on “Read More” to continue…
Read more of this post

%d bloggers like this: