Solved

resize child along with parent

Posted on 2014-12-20
2
60 Views
Last Modified: 2014-12-21
using jquery resizable - how would i resize a child element when I resize the parent element?
ex below where resizer is resizable and want the child video tag to resize as well.
<div class="resizer">
   <video>
      <source />
   </video>
</div>

thanks
0
Comment
Question by:dgrafx
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40511289
Add to the plugin init params

alsoResize: $(this).find('video')

Open in new window

0
 
LVL 24

Author Comment

by:dgrafx
ID: 40511294
great - I will try it out - stay tuned ...
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hi all! Recently there was EE question and the person wanted to have a multi-column textbox <div> selection, so as a first step to answer I provided a link but that was not complete with JavaScript selection, but had a good style sheet. So as a ques…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now