Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
frank griffin webforumsuser@macromedia.com #1
Close parent window from a frame without Java
I want to use a hyperlink to close the parent window (and all frames it contains) without using java. I don't want the pop-up window appearing that using "javascript:parent.close()" causes. Any ideas?
Thanks
Frank
frank griffin webforumsuser@macromedia.com Guest
-
Close a pop-up, and refresh it's parent window
I would like to replace the CFLocation tag in this block of code, and have it instead: Generate an alert box to close the window, and refresh the... -
close my project that is in a browser window (close this window)
How can I do this with a button? What do I have to put into button? -
can a popup window return data to parent window?
Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user... -
refresh parent window on close showModalDialog?
Is it possible to make the parent window refresh when a modal dialog is closed? I know I can use window.opener.location.reload(true); for a... -
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... -
frank griffin webforumsuser@macromedia.com #2
Re: Close parent window from a frame without Java
Yes, I meant Javascript not Java. :>)
I have found that I can close the current frame without javascript but I can't seem to close the parent. I hate that little popup! Is there a way to "null" it?
Thanks
Frank
frank griffin webforumsuser@macromedia.com Guest
-
Murray *TMM* #3
Re: Close parent window from a frame without Java
frank:
It's a system message. You will not get it on windows that *you* open
programatically, but without javascript, there is no way that I know of to
eliminate it on pages that you have not opened.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"frank griffin" <webforumsuser@macromedia.com> wrote in message
news:bg43mp$fiu$1@forums.macromedia.com...can't seem to close the parent. I hate that little popup! Is there a way to> Yes, I meant Javascript not Java. :>)
>
> I have found that I can close the current frame without javascript but I
"null" it?>
> Thanks
> Frank
>
>
Murray *TMM* Guest
-
Gary White #4
Re: Close parent window from a frame without Java
On Mon, 28 Jul 2003 21:14:01 +0000 (UTC), "frank griffin"
[email]webforumsuser@macromedia.com[/email] wrote:
Not if you didn't open it and it would be extremely rude to do so.>I have found that I can close the current frame without javascript
>but I can't seem to close the parent. I hate that little popup! Is
>there a way to "null" it?
Think of the poor sap who finds your site via a search engine and,
when he arrives, you open your custom window, close his original
window and your site isn't what he was looking for. Now he's stuck in
your popup. Extremely rude.
Gary
Gary White Guest
-
Thierry Koblentz #5
Re: Close parent window from a frame without Java
You can use JS and trick the window to avoid that alert box.
Try this:
opener.opener = top;
opener.close();
Won't work with all the browsers though...
Check on [url]www.macromedia.com[/url] you'll find the original script.
HTH,
--
Thierry
[url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
The link below is for IE5+/Win32/1024+ users *only*.
[url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial
--
Thierry
[url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
The link below is for IE5+/Win32/1024+ users *only*.
[url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial
"frank griffin" <webforumsuser@macromedia.com> wrote in message
news:bg43mp$fiu$1@forums.macromedia.com...can't seem to close the parent. I hate that little popup! Is there a way to> Yes, I meant Javascript not Java. :>)
>
> I have found that I can close the current frame without javascript but I
"null" it?>
> Thanks
> Frank
>
>
Thierry Koblentz Guest
-
Gary White #6
Re: Close parent window from a frame without Java
On Mon, 28 Jul 2003 18:41:50 -0700, "Thierry Koblentz"
<thierry@remove.212Utah.com> wrote:
And if someone did that to me, I'd wish I had the knowledge to hack>You can use JS and trick the window to avoid that alert box.
>Try this:
>opener.opener = top;
>opener.close();
into their site and deface it. or at least remove the obnoxious
script. <sigh>
Gary
Gary White Guest
-
Murray *TMM* #7
Re: Close parent window from a frame without Java
Of course, that's not the answer because the question was how to do it
without 'Java'. I guess the answer is that there is no way to do so, no?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Thierry Koblentz" <thierry@remove.212Utah.com> wrote in message
news:bg51og$m5g$1@forums.macromedia.com...the> Hi Gary,
> I totally agree with you but on the other hand I think it's good to give> answer with the advice.
> Going the other way, we'll soon stop posting scripts to open fullscreen,
> resize windows, create frames, etc.
> ;ç)
>
> --
> Thierry
> [url]http://www.MadCoWWWebDesign.com/go/quizz.htm[/url] | Frames Quiz
> The link below is for IE5+/Win32/1024+ users *only*.
> [url]http://www.MadCoWWWebDesign.com/go/?2[/url] | Frames Tutorial
>
>
> "Gary White" <reply@newsgroup.please> wrote in message
> news:fktbiv8eqsth7a7kl1784tkgmcdifi0gfb@4ax.com...>> > On Mon, 28 Jul 2003 18:41:50 -0700, "Thierry Koblentz"
> > <thierry@remove.212Utah.com> wrote:
> >> >> > >You can use JS and trick the window to avoid that alert box.
> > >Try this:
> > >opener.opener = top;
> > >opener.close();
> > And if someone did that to me, I'd wish I had the knowledge to hack
> > into their site and deface it. or at least remove the obnoxious
> > script. <sigh>
> >
> >
> > Gary
>
Murray *TMM* Guest
-
Gary White #8
Re: Close parent window from a frame without Java
On Mon, 28 Jul 2003 22:46:16 -0700, "Thierry Koblentz"
<thierry@remove.212Utah.com> wrote:
You're probably right. And with my limited skills, the worst I could>I totally agree with you but on the other hand I think it's good to give the
>answer with the advice.
do when encountering something like that would be to write a complaint
to the site owner. <sigh>
Hmmm... and the problem with that? <gg>>Going the other way, we'll soon stop posting scripts to open fullscreen,
>resize windows, create frames, etc.
Gary
Gary White Guest



Reply With Quote

