Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- width of parent is:
- width:calc(100% - 330px);
- width of div where plugin is:
- width:100%;
- -330px = panel on the right side
- @media only screen and (max-width: XXXpx){
- }
- $( window ).resize(function() {
- your function
- });
- $( window ).resize(function() {
- });
- $('#yourDivID').width(100);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement