Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resizing frame when positioning the mouse in the frame

 
Ram Thirumangalam
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic