|
From: Paul W Smith on 31 Jan 2006 08:59 I have a large graphic that I am using as a header on pages. These pages have been opened as separate windows. Is it possible to add a hot spot to this graphic which when clicked closes the window? If it is, can anyone supply some instructions or references I need to check to learn how to do this with a Fireworks graphic. I see mention of HTML code but where is this?
From: Lanny Chambers on 31 Jan 2006 11:57 In article <43df6d52$0$1472$ed2619ec(a)ptn-nntp-reader01.plus.net>, "Paul W Smith" <pwsNOSPAM(a)twelve.me.uk> wrote: > I have a large graphic that I am using as a header on pages. These pages > have been opened as separate windows. Is it possible to add a hot spot to > this graphic which when clicked closes the window? > > If it is, can anyone supply some instructions or references I need to check > to learn how to do this with a Fireworks graphic Draw the hotspot and leave it selected. In the PI's URL field, enter this (without the quotes): "javascript:window.close();" -- Lanny Chambers St. Louis, USA http://www.hummingbirds.net/
From: Paul W Smith on 18 Feb 2006 14:01 I have done as you have instructed below, and the strangest thing happens. When I the hotspot on the graphic is 'clicked' the windows disappears and then reappears again? Any ideas why, and how I can make the window disappear? I would also like to know if there is a way I can have my html page as the contents of a frame on an HTML page and have, obviously after amending the code to that required, have the 'click' event of the hot spot close the window. If you have understood my request this is closing the containing window from a click event within a frame inside the window. Paul Smith "Lanny Chambers" <lanny(a)hummingbirds.net> wrote in message news:lanny-790BD9.10313031012006(a)newsclstr02.news.prodigy.com... > In article <43df6d52$0$1472$ed2619ec(a)ptn-nntp-reader01.plus.net>, > "Paul W Smith" <pwsNOSPAM(a)twelve.me.uk> wrote: > >> I have a large graphic that I am using as a header on pages. These pages >> have been opened as separate windows. Is it possible to add a hot spot >> to >> this graphic which when clicked closes the window? >> >> If it is, can anyone supply some instructions or references I need to >> check >> to learn how to do this with a Fireworks graphic > > Draw the hotspot and leave it selected. In the PI's URL field, enter > this (without the quotes): > "javascript:window.close();" > > -- > Lanny Chambers > St. Louis, USA > http://www.hummingbirds.net/
From: Lanny Chambers on 18 Feb 2006 14:31 In article <43f76f07$0$9240$ed2619ec(a)ptn-nntp-reader01.plus.net>, "Paul W Smith" <pwsNOSPAM(a)twelve.me.uk> wrote: > When I the hotspot on the graphic is 'clicked' the windows disappears and > then reappears again? > > Any ideas why, and how I can make the window disappear? You'll need to post a URL where we can see the page and peek at the code. -- Lanny Chambers St. Louis, USA http://www.hummingbirds.net/
From: Paul W Smith on 18 Feb 2006 17:14
Try this: http://www.doublesix.plus.com/PWS/LeagueAdministration.htm What I would like is, when the 'Close Window' area is 'clicked' I would like the whole window to disappear - get closed. If it is of interest I actually open LeagueAdministartion.htm in it's own window. I have removed some navigation buttons which change what is displayed in the 'mainframe'. While I am writing and if you feel like help me further, is it possible to resize the whole outer window based on the content of the contents of 'mainframe'. I am think of something along the lines of code on the 'on load' event of a HTML page which resizes the window e.g. <body onLoad="window.resizeTo(620,800);"> The problem as I see it would be referencing the outer window from within the frame. I hope you understand this. Many thanks for your help with this. Paul Smith "Lanny Chambers" <lanny(a)hummingbirds.net> wrote in message news:lanny-7196EA.13311718022006(a)newsclstr02.news.prodigy.com... > In article <43f76f07$0$9240$ed2619ec(a)ptn-nntp-reader01.plus.net>, > "Paul W Smith" <pwsNOSPAM(a)twelve.me.uk> wrote: > >> When I the hotspot on the graphic is 'clicked' the windows disappears and >> then reappears again? >> >> Any ideas why, and how I can make the window disappear? > > You'll need to post a URL where we can see the page and peek at the code. > > -- > Lanny Chambers > St. Louis, USA > http://www.hummingbirds.net/ |