By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,480 Members | 1,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,480 IT Pros & Developers. It's quick & easy.

Resizing IFrames onMouseDrag

P: 1
Hi Folks,
i am trying to write some javascript codes, to resize one IFrame on mouse drag...My current webpage has two Vertical division, both are iframes...left IFrame contains some menus, right Iframe is for displaying the selected menu-page...i need to resize the left-menu (IFrame) on mouse drag, like you see in some IDEs or Text Editors (e.g EditPlus2)...

please help me out here,if you have some "kewl" script-stuff...
Sep 7 '06 #1
Share this Question
Share on Google+
1 Reply


Glordu
P: 1
you may need to make your own D&D... cause otherwise u could be having some problems latter with the focuses of the iframes.... so u will need to have a variable to know if u are dragging or not, and use onmousedown to start dragging, onmouseup to stop with it, and onmousemove to change the iframes sizeing.....

hope it helps

c ya!
Oct 4 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.