Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-15-2012, 05:39 PM   PM User | #1
bolo77
New Coder

 
Join Date: Dec 2011
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
bolo77 is an unknown quantity at this point
problem with jquery cycle when using slideExpr option

Hi, im using the demo from http://www.backslash.gr/content/blog...h-jquery-cycle

one of the things i need to do is use the jquery cycle plugin option slideExpr: as my slider, based on the examples at the url above behaves incorrectly with certain transitions such as zoom as the image is wrapped within another element

I followed the advice at http://computeraxe.com/slideshow-ima...-jquery-cycle/ and this allows for the transitions to complete correctly. However this causes the variable named data to be null and prevents the data which should be shown within the black cation area from displaying.
var data = $('.data', $(nextSlideElement)).html(); - returns null

a cutdown version of the problem can be seen at
http://www.shaadibay.com/cycle/demo.html. Demo1's data is returned as null when slideExpr: '.image' is specified as an option

any ideas?
bolo77 is offline   Reply With Quote
Old 09-16-2012, 12:41 PM   PM User | #2
bolo77
New Coder

 
Join Date: Dec 2011
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
bolo77 is an unknown quantity at this point
resolved

i had to go to the parent element in order to find the data.
bolo77 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:37 PM.


Advertisement
Log in to turn off these ads.