Comments (2)
The slider also adapts on resize (for orientation changes). So you
could also just trigger a resize event with jQuery.
I would probably be better to just leave it in the hands of the
developer. I want to find reasons to remove code rather than add more
in. This can be added case by case if someone needs it. I'm rebuilding
the site and plan to make a bunch more tutorials, so this is probably
something I should cover.
On 4/21/13, Avril [email protected] wrote:
Its not really an issue, just sharing my idea and thoughts about issue #36
So we found here that if slider is initialised (rendered) within
display:none; container,
where dimensions within this container are set to % or not set at all,
then all elements have dimensions 0x0 (thats what firebug shows when its
collapsed).
Therefore it is normal that slider have no clue what dimension should it set
itself to,
and it initialises with some random stuff. Then after expanding it looks
like messed up.Wraping it into div and setting some predefined dimensions within this
hidden container,
will fix it and give slider data which it will adjust to, but then - whole
idea about liguid,
not work here because its constant dimensions not %While we know what happen, how it happen and what cause this,
we may think about some solution.
So if it initialise with unknown dimensions and after expanding it
not-adjust,
to new dimensions then...How about adding some event which would be fired when parent element /
container,
change its dimensions, and slider would adjust / refresh self to this new
dimensions.
This should nicely fix such issues
Reply to this email directly or view it on GitHub:
#37
Kevin
from liquidslider.
Thanks for reply.
Yes, just wanted you to know about this issue cos if i encountered it probably someone else later will do also,
and its good to know what exacly is happening in this case.
this is probably something I should cover.
Good idea.
Ok, while you know about it, ill close this issue.
from liquidslider.
Related Issues (20)
- Hidden Panel?
- Not autoSliding
- issue on Windows Google Chrome HOT 3
- Tab Link problem in iphone
- continuous:false is not working simply HOT 2
- 100% width slider - Weird margin on left side (Chrome) HOT 3
- Font became bigger on iphone 5 and 5s HOT 1
- Prevent double-click from advancing slider twice. HOT 2
- How to set width to 100% HOT 5
- slider not working with apache web server HOT 2
- Slide tabs from top to bottom HOT 1
- How to link to slides from extern per #id HOT 3
- Slides not growing 100% when i am resizing HOT 1
- RLT Support HOT 7
- Need help trying to load 2 slides from 1 anchor HOT 2
- Change Content / Destroy / Reinitialize HOT 1
- Tab action for external link HOT 11
- Apple Animation Issue HOT 12
- Accessibility Advice? HOT 1
- keyboardNavigation: true is breaking tabbing of global navigation if more than one level deep in Dropdown Menu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquidslider.