Solved

Why is my jquery slideshow moving in a strange direction?

Posted on 2012-03-27
5
209 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
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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…

828 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