?
Solved

Why is my jquery slideshow moving in a strange direction?

Posted on 2012-03-27
5
Medium Priority
?
218 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:Gurvinder Pal Singh
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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

765 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