Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict? #27

Closed
trinzia opened this issue Nov 9, 2012 · 4 comments
Closed

Conflict? #27

trinzia opened this issue Nov 9, 2012 · 4 comments

Comments

@trinzia
Copy link

trinzia commented Nov 9, 2012

Hi,
I'm using Cycle1 and have no problems, but when I try to upgrade to Cycle2, all of my images stop loading, even those whihc are not in the slideshow.

Perhaps I have a conflict with my Tabs and Lightbox scripts? I am using:

My images are loaded by Jquery so that I could make the large images load after my icons have loaded. So perhaps my image loading is the conflict?

Here is my page which is working with Cycle1 (but won't with 2), view my code with Firebug, perhaps you can see the issue at a glance?

Click on the 6th icon (decahedron) to see slideshow.
http://instancia.net/portfolio/index.php

Thanks!

@malsup
Copy link
Owner

malsup commented Nov 9, 2012

If you can provide a link to a page that doesn't work then I may be able to help.

@trinzia
Copy link
Author

trinzia commented Nov 10, 2012

Here, sorry, I should have isolated this better before writing... I was tired. Here is the page isolated from other issues:
http://www.instancia.net/portfolio/cycle2.html

I guess I wouldn't really call this an issue, but... I felt that with large images, I need my smaller UI graphics to load first. It looked terrible for a good 10 seconds, with the large images loading first. To control the load order of the images, and also have validated Html (no empty src tags), I wrote a little Jquery to substitute the images after everything else loads. I suppose that your script is looking for the "img" selector ?

@malsup
Copy link
Owner

malsup commented Nov 10, 2012

Yes, by default it looks for child images of the container, but you can change that to whatever you like with the 'slides' option. For example:

data-cycle-slides=">span"

For more info:

http://jquery.malsup.com/cycle2/api/#options

@trinzia
Copy link
Author

trinzia commented Nov 10, 2012

I will try it, thanks!

@malsup malsup closed this as completed Nov 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants