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
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...
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
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:
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" <webforumsusermacromedia.com> wrote in message
news:bg43mp$fiu$1forums.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
>
>
On Mon, 28 Jul 2003 21:14:01 +0000 (UTC), "frank griffin"
[email]webforumsusermacromedia.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
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" <webforumsusermacromedia.com> wrote in message
news:bg43mp$fiu$1forums.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
>
>
On Mon, 28 Jul 2003 18:41:50 -0700, "Thierry Koblentz"
<thierryremove.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
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" <thierryremove.212Utah.com> wrote in message
news:bg51og$m5g$1forums.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" <replynewsgroup.please> wrote in message
> news:fktbiv8eqsth7a7kl1784tkgmcdifi0gfb4ax.com...>> > On Mon, 28 Jul 2003 18:41:50 -0700, "Thierry Koblentz"
> > <thierryremove.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
>
On Mon, 28 Jul 2003 22:46:16 -0700, "Thierry Koblentz"
<thierryremove.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
> >Going the other way, we'll soon stop posting scripts to open fullscreen,
>
> Hmmm... and the problem with that? <gg>[/ref]
Don't you hate when a window opens fullscreen, a doent resize your
browser window, browsing frames-layout sites, flash intros, etc.?
I do ;)
--
Thierry
http://www.MadCoWWWebDesign.com/go/quizz.htm | Frames Quiz
The link below is for IE5+/Win32/1024+ users *only*.
http://www.MadCoWWWebDesign.com/go/?2 | Frames Tutorial
"Gary White" <please> wrote in message
news:com... [/ref]
the
>
> You're probably right. And with my limited skills, the worst I could
> do when encountering something like that would be to write a complaint
> to the site owner. <sigh>
>
>
>
> Hmmm... and the problem with that? <gg>
>
>
> Gary[/ref]
> Of course, that's not the answer because the question was how to do it
I'm sorry Murray but I don't agree, read the original post, you'll see that
the poster thought that the following was causing the alert box:
"javascript:parent.close()"
I also could say that if the question was "how to do it without 'Java'" my
answer is perfectly correct because my solution uses JavaScript
;ç)
--
Thierry
http://www.MadCoWWWebDesign.com/go/quizz.htm | Frames Quiz
The link below is for IE5+/Win32/1024+ users *only*.
http://www.MadCoWWWebDesign.com/go/?2 | Frames Tutorial
"Murray *TMM*" <com> wrote in message
news:bg5obn$2sf$macromedia.com...
Thierry:
I like your second response better than the first! 8)
I just read the subject line - that's all....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Thierry Koblentz" <212Utah.com> wrote in message
news:bg67de$6j3$macromedia.com... [/ref]
no?
that
;)
Thierry
"Murray *TMM*" <com> wrote in message
news:bg682g$7tc$macromedia.com...
On Tue, 29 Jul 2003 09:18:49 -0700, "Thierry Koblentz"
<212Utah.com> wrote:
Oh, of course I like those. I also like getting root cs. ;-)
Gary
Bookmarks