Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
deadlikeme #1
window closed?
Hi, I'm developing an application, in one component I need to be able to tell
if a window is open or closed. Basically I need to monitor when a user opens a
hyperlink that opens an embedded PDF. I need to keep track of how simultaneous
viewings of a particular PDF. So, I open a window, I increment a counter, easy
enough. The user closes the window, how do I know he closed the window? in
order to decrement the counter? any pointers appreciated.
deadlikeme Guest
-
insert a frame or window into adobe acrobat or reader window
Using Windows OS XP or Vista. Can you ad a frame or window into the main window to allow saving a document through another application? I have an... -
Child window property window.opener null after postback
I have an webform from which I open a child window to display a calendar. When a date is selected in the calendar window it attempts to set the... -
LocalConnection : to affect a closed window
I'm new to LocalConnection function. I need to know if it's possible to use the LocalConnection to affect a closed window. ie. If the... -
dlopen is failing on Window XP works great on Window 2000
Michael Davis <mdavis@sevasoftware.com> writes: Check the permission of the so file: $ ls -l... -
Refresh Parent window from child window causes problems
Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence... -
capsim1 #2
Re: window closed?
This code opens a window a writes to it:
--------------------------------------------------- <script
language='JavaScript'> function open_it() { var winpleasewait3; winpleasewait3
= window.open('', 'win', 'width=250,height=120');
winpleasewait3.document.open();
winpleasewait3.moveTo(screen.width/2-150,screen.height/2-60);
winpleasewait3.document.write('<html><head><title> Management Simulations
Inc.</title><link rel=\'stylesheet\' href=\'/includes_cfm/MSI.css\'
type=\'text/css\'></head><body><table><tr><td colspan=\'2\' class=\'table12\'
align=\'center\'><strong>Now loading Today\'s Events</strong></td></tr><tr><td
colspan=\'2\'>&nbsp;</td></tr><tr><td colspan=\'2\'
class=\'table14\'>Depending on the speed of your Internet connection, this may
take 10 - 15 seconds. Please wait.........</td></tr><tr><td
colspan=\'2\'>&nbsp;</td></tr></table></body></html>'); } </script> Next,
this codes checks to see if the above window (winpleasewait3) is open and
closes it, if it is open. ---------------------------------------------------
<script language='JavaScript'> if (winpleasewait3) winpleasewait3.close();
</script> I hope this helps some. P.S. If you are using frames, address the
name of the frame using 'parent' ('content' is the name of the frame in the
code below):
--------------------------------------------------------------------------------
------ <script language='JavaScript'> if (parent.content.winpleasewait3)
parent.content.winpleasewait3.close(); </script>
capsim1 Guest



Reply With Quote

