wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Resizing frame when positioning the mouse in the frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Resizing frame when positioning the mouse in the frame" Watch "Resizing frame when positioning the mouse in the frame" New topic
Author

Resizing frame when positioning the mouse in the frame

Ram Thirumangalam
Greenhorn

Joined: Aug 28, 2003
Posts: 20
Hi,
Here is my issue. I have 3 frames in a page. A top one and beneath it two frames adjacent to each other vertically.
When ever I position my cursor in the bottom left frame, it has to be resized. I did code a mouseover event in the <Body> tag of the htm page in the left frame and resized it. Also, using the mouseout, resized it back to the original length whenever I go out of the frame. All works fine until I click a link in any one of the frames. After that, when ever I do a mouseover within the bottom left frame that needs to be resized, i can see the constant resizing (expanding and reducing the size) of that frame. looks like the mouseout code is also executed.
Does anyone know of other ways to achieve this?
Basically the bottm left frame is the table of contents which is initially presented with a smaller frame area. however to faciliate the user to see the links clearly, I planned to resize it whenevr the user moves his cursor to that frame.
Any help in this regard would be greatly appreciated.
Thanks
Ram Thirumangalam
Greenhorn

Joined: Aug 28, 2003
Posts: 20
Also,I am wondering if there is a way to do it with mouse position? I m ean comparing the mouse position's co-ordinates with that the frames co-ordinates?
Thanks
Rajesh Vraj
Greenhorn

Joined: Jan 17, 2012
Posts: 5
I am facing the same issue.

I m able to resize dragging the 1st frame manually...in IE. But in Mozilla its not possible to drag the frame.

Please help me ASAP.

Thanks n advance.
Raj
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resizing frame when positioning the mouse in the frame
 
Similar Threads
Pro Jakarta Struts, Second Edition : Reader Question
Monitoring window resizes
Hourglass while the jsp page loads
Complex Page Layout
logout from page with frames