Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
leecsone1 #1
how to close popup windows see my script
Hi all can I get some help to put a close button or text to close this popup
window.
Thank you
leecsone
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
i++)
if (a.indexOf("#")!=0){ d.MM_p=new Image; d.MM_p.src=a;}}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</HEAD>
<BODY
onLoad="MM_preloadImages('file:///C|/Documents%20and%20Settings/Eddie%20Fitzgera
ld/Desktop/Desktop/store/Drop%20Shipper/leecsone%20online%20store1/Free%20Templa
te%20from%20Interspire_com_files/34779.jpeg')">
leecsone1 Guest
-
Flash Player popup does not close
HTML page is poping up a swf file created in Captivate. The swf file play properly. The "Close Movie" command does not close the popup window. -
close php script once run from Flash
Hi, Anyones help on this would be much appreciated. I have a php script as follows: <?php $userScore = strip_tags(trim($_POST));... -
Movieclip And Popup Close Self
I have loaded a <mx:loader > in action script and made the returned flash movie clip a popup using createpopup, this flash movie clip has a close... -
How to return a keyvalue from popup windows with datagrid control to parent windows through JavaScript?
How to return a keyvalue from popup windows with datagrid control to parent windows through JavaScript? -
how to close popup and open new main page
Our page, Order.htm, has a link on it to PartNum.htm which is a popup reference list. On PartNum.htm the user can scroll the list but also can... -
socalfish #2
Re: how to close popup windows see my script
<p><a href="javascript:;" onclick="window.close()">Close</a></p>
This uses text "Close" on screen. You can attach the window.close() to any
button. If the Pop Up window is visable on the screen it will close that window
but if you use this function on the primary window a dialog boox will appear
asking if the users wants to close the window.
socalfish Guest
-
leecsone1 #3
Re: how to close popup windows see my script
Thank you for the script . This will close the main window. Where do I put the script to close th pop up window. I tryed to put inside the body tag but this did not work.
Thank you
leecsone
leecsone1 Guest
-
Murray *ACE* #4
Re: how to close popup windows see my script
It would go between <body> and </body> in the page being popped-up.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"leecsone1" <leecsone@comcast.net> wrote in message
news:e20is9$ap2$1@forums.macromedia.com...> Thank you for the script . This will close the main window. Where do I put
> the script to close th pop up window. I tryed to put inside the body tag
> but this did not work.
>
> Thank you
> leecsone
Murray *ACE* Guest
-
leecsone1 #5
Re: how to close popup windows see my script
Thank you , but I have a photo that when I press it a pop up window opens. I
want to close that pop up window with the word close not a button.
Thank you
Eddie
leecsone1 Guest
-
Murray *ACE* #6
Re: how to close popup windows see my script
<body>
<p><a href="javascript:;">Close this</a></p>
</body>
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"leecsone1" <leecsone@comcast.net> wrote in message
news:e20prr$jcg$1@forums.macromedia.com...> Thank you , but I have a photo that when I press it a pop up window opens.
> I
> want to close that pop up window with the word close not a button.
>
> Thank you
> Eddie
>
Murray *ACE* Guest
-
leecsone1 #7
Re: how to close popup windows see my script
I am Sorry But I am not gettig this here is my script where do I put the close
script.
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<a href="javascript:;"
onClick="MM_openBrWindow('file:///C|/Documents%20and%20Settings/Eddie%20Fitzgera
ld/Desktop/Desktop/store/Drop%20Shipper/leecsone%20online%20store1/34779.jpeg','
','width=150,height=150')"><img
src="file:///C|/Documents%20and%20Settings/Eddie%20Fitzgerald/Desktop/Desktop/st
ore/Drop%20Shipper/leecsone%20online%20store1/27366.gif" width="150"
height="150" border="0"></a>
</body>
Thank you
Edie
leecsone1 Guest
-
Murray *ACE* #8
Re: how to close popup windows see my script
You put it in the page that is being opened in the pop-up.
However, since you are NOT opening a page, but rather a JPG image, then you
cannot do it -
'file:///C|/Documents%20and%20Settings/Eddie%20Fitzgerald/Desktop/Desktop/store/Drop%20Shipper/leecsone%20online%20store1/34779.jpeg'
(that link is broken, by the way)
To do something like this, you would have to create a new page, place the
image on it, and open THAT HTML page, not the JPG image.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"leecsone1" <leecsone@comcast.net> wrote in message
news:e20shi$mk2$1@forums.macromedia.com...>I am Sorry But I am not gettig this here is my script where do I put the
>close
> script.
>
> <script language="JavaScript" type="text/JavaScript">
> <!--
> function MM_openBrWindow(theURL,winName,features) { //v2.0
> window.open(theURL,winName,features);
> }
> //-->
> </script>
> </head>
>
> <body>
> <a href="javascript:;"
> onClick="MM_openBrWindow('file:///C|/Documents%20and%20Settings/Eddie%20Fitzgera
> ld/Desktop/Desktop/store/Drop%20Shipper/leecsone%20online%20store1/34779.jpeg','
> ','width=150,height=150')"><img
> src="file:///C|/Documents%20and%20Settings/Eddie%20Fitzgerald/Desktop/Desktop/st
> ore/Drop%20Shipper/leecsone%20online%20store1/27366.gif" width="150"
> height="150" border="0"></a>
> </body>
>
> Thank you
> Edie
>
Murray *ACE* Guest



Reply With Quote

