Solved

Why is my jquery slideshow moving in a strange direction?

Posted on 2012-03-27
5
212 Views
Last Modified: 2012-06-27
Does anyone know why the first transition in my JQuery slideshow moves to the bottom-left rather than straight down? I'm using the jquery.cycle.all.js plugin to create the effect, but I don't understand why it starts off moving in a weird direction.

my webpage
0
Comment
Question by:shampouya
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 37775005
I tested your code in FF2 and chrome6. It is not moving in any direction. Looks fine to me
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 37775039
I can verify that the first image drops down to the left while subsequent images turndown as expected. My conclusion is that your jquery.js file is not working for you. Try replacing your js include for the jquery library with this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

It fixed it in my test.

On a side note, there are a ton of validation errors in the html but I don't think they are having an affect on the problem cited.
0
 

Author Comment

by:shampouya
ID: 37775305
Hmm I added the script tag that you showed above and it doesn't seem to be solving the problem, see link below. Also, what are the validation errors? I'm new to this so I don't know too much about validation.

my webpage
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 37776224
Ah, I just realized the difference between your page and my test page. I don't have your images so I used the ones from the Cycle site. They have width and height specified, you don't. When I take out the width and height from my test, I can recreate the problem you are experiencing. Try that.

For validation, go here and see the results from w3.org:w3.orgValidation
0
 

Author Closing Comment

by:shampouya
ID: 37779042
Thanks, that worked. And I'll have to read up on this validation site, looks helpful.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Node.js 11 76
jquery change div image on page reload using Jquery 9 57
change site header 8 31
Responsive Image Distorting 2 27
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question