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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a window that provides a lis

Status
Not open for further replies.

Deltaflyer

Programmer
Oct 11, 2000
184
GB
I have a window that provides a list of orders, the users need to use hyperlinks off of this page to edit the details.

At the moment they are going into the edit page and then returning to main menu and running the report again. The report is rather large and can take between 30&60 seconds to return.

I thought it would be cool to have a popup window that shows the edit page, but.........

The users once, they have edited the record are clicking on the windows bar at the bottom of the screen to return to the report page, is there any way that i can get the edit page to close itself when the user clicks outside of its borders. DeltaFlyer ;-)

DeltaFlyer - The Only Programmer To Crash With Style.
 
"is there any way that i can get the edit page to close itself when the user clicks outside of its borders. " --> i guess you can't catch events outside javascript objects !!! but you still can use the onlosefocus event, or the focus (click?) on the main window (not the edit one) ...
or i didn't get the question ?
 
Yo iza,

Yeah i think you pretty much got the gist of the quiz!

I have heard of the onlosefocus() but i am not to sure on exactly how to apply that to my page.

Haven't been doing this javascript thing too long y'know!

DeltaFlyer ;-)

DeltaFlyer - The Only Programmer To Crash With Style.
 
hey, that onlosefocus must be a myth ;-) ! i've just checked both devedge and micro$oft docs, it is referenced in none !!
it seems that you'll have to play with ondeactivate or onbeforedeactivate events (ie only ?) which fire when an element is no more activated - and yes, you activate elements with "focus" so that looks like it might be the right event ;]
 
onblur may accomplish what your hoping onlosefocus() does because onblur is fired when an element loses focus jared@aauser.com
 
thanx jaredn for making us going back to simple reality :] !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top