homepage Welcome to WebmasterWorld Guest from 54.167.244.71
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Closing a Secondary window ?
mel the snowbird




msg:4545970
 8:06 pm on Feb 15, 2013 (gmt 0)

Hi :


Below is the 'features' clause which I use to open a secondary window. I do this successfully with no problem. I can also cl;ose this window from the Main window with a *main window* button

*However*, I have a button in the *secondary* window which allows the user to close this secondary window via 'clicking' it. The button is also defined below.

Problem: I can no longer 'click' the secondary window button and get the secondary window to Close ! Since I was able to do so yesterday, I *must* have done something 'nutty' with the features clause.

Can anyone help please ?

Thank you.

-Mel Smith


** a button in the secondary window **
<input type="button" onclick="window.close();" value="Close This FAQ Window" />
**********************************


** The 'features clause' in Main Window **
'menubar=yes,scrollbars=yes,resizable=yes,status=yes,left=680,top=240,height=280,width=290,alwaysRaised=yes,dependent=yes,titlebar=no,location=no,toolbar=no') ;

 

mel the snowbird




msg:4545972
 8:19 pm on Feb 15, 2013 (gmt 0)

HI:
I've solved this -- and it was *not* a 'features' problem.

It involves the URL which I had changed from:

http://ww2.example.net:4297

to

http://www.example.net

Apparently, changing to the 'generic' URL address from the specific one with Port allocation caused my problem.

Hmmmm ....

Thanks.

-Mel Smith

[edited by: tedster at 5:51 am (utc) on Feb 16, 2013]
[edit reason] switch real domain name to "example" [/edit]

mel the snowbird




msg:4545975
 8:31 pm on Feb 15, 2013 (gmt 0)

HI:
I forgot, and used real URLs in stead of 'example' ones.

I apologize :((

-Mel

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved