Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2011
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    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?

  • #2
    New Coder
    Join Date
    Dec 2011
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    resolved

    i had to go to the parent element in order to find the data.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •