Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames resizing and coloring

Status
Not open for further replies.

TomasDill

IS-IT--Management
Sep 2, 2000
703
0
0
UA
Hi!

I have 2 vertical frames that user can resize by the gap between them. IE 5.0

2 questions:

1. Can I resize frame from the Java Script?
2. Can I change color/appearanse of the gap between frames for resizing?
3. Can I catch events for the gap between frames?

I know Java Script well, so no samples needed, just tell what functions/objects/styles to use to catch events and change properties or call methods. I tried window.resizeTo, but this just resize the internals of the frame, resizing area is not moved at all.

For "use-case" example: show tool tip or message in status bar when mouse is over the resizing area that user can double click on the resizing area to hide/show left frame. When double clicked - resize left frame to minimum. When double clicked again - resize it back.

Thanks in advance.
Vlad Grynchyshyn, MVP
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top