Code Monkey home page Code Monkey logo

Comments (4)

KevinBatdorf avatar KevinBatdorf commented on August 15, 2024

I can reply in more detail later on this week, but for now you should look
at the tutorials. There is a method to adjust the height manually with or
without animation
On Jan 10, 2013 8:43 PM, "MadeByKarl" [email protected] wrote:

Hi there! First, thanks for this wonderful plugin. Really it is a nice
work :).

I've got a little problem with the init.

If you call the page directly (
http://louisajohnkrol.madebykarl.com/discography/alabaster/) it's ok.

If you call the page with a hashtag that makes an ajax call for another
content (http://louisajohnkrol.madebykarl.com/#!/discography/alabaster/same page but loaded by ajax), it doesn't adjust the height. Scroll on the
first panel before clicking any link, and you'll see it kept the height
before liquidSlider's initiation.

Any idea what is going on and how to solve it? I'm a little bit stuck on
this one.

Cheers!


Reply to this email directly or view it on GitHubhttps://github.com//issues/16.

from liquidslider.

KevinBatdorf avatar KevinBatdorf commented on August 15, 2024

You will need to do something like this:

var sliderObject = $.data( $('#slider-id')[0], 'liquidSlider');

then in your ajax callback function, something like this:

sliderObject.adjustHeight();

or

sliderObject.adjustHeightNoAnimation();

This what you are looking for?

from liquidslider.

MadeByKarl avatar MadeByKarl commented on August 15, 2024

Hi there!

Thanks for your time and help. I was away for a few days without connection
so I hadn't the possibility to answer. I'll try that later this weekend or
on monday morning.

In any case, I'll let you know :).

Cheers!

Karl Delandsheere

http://madebykarl.be ~ web & print communication
http://delandsheere.be ~ mid-east percussions

+32 498 13 98 66

2013/1/12 Kevin Batdorf [email protected]

You will need to do something like this:

var sliderObject = $.data( $('#slider-id')[0], 'liquidSlider');

then in your ajax callback function, something like this:

sliderObject.adjustHeight();

or

sliderObject.adjustHeightNoAnimation();

This what you are looking for?


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-12173555.

from liquidslider.

MadeByKarl avatar MadeByKarl commented on August 15, 2024

Hi there,

I tried your solution and it worked perfectly :). Thank you very much!

Cheers,

Karl Delandsheere

http://madebykarl.be ~ web & print communication
http://delandsheere.be ~ mid-east percussions

+32 498 13 98 66

2013/1/12 Karl Delandsheere [email protected]

Hi there!

Thanks for your time and help. I was away for a few days without
connection so I hadn't the possibility to answer. I'll try that later this
weekend or on monday morning.

In any case, I'll let you know :).

Cheers!

Karl Delandsheere

http://madebykarl.be ~ web & print communication
http://delandsheere.be ~ mid-east percussions

+32 498 13 98 66

2013/1/12 Kevin Batdorf [email protected]

You will need to do something like this:

var sliderObject = $.data( $('#slider-id')[0], 'liquidSlider');

then in your ajax callback function, something like this:

sliderObject.adjustHeight();

or

sliderObject.adjustHeightNoAnimation();

This what you are looking for?


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-12173555.

from liquidslider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.