Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
macounsr webforumsuser@macromedia.com #1
Prevent scroll in parent window?
My page consists of a large graphic (an organization chart). I'm using an image map with hotspots to allow the user to click on any node of the organization chart, then a window pops up with explanatory text, etc. next to the node. When the user clicks anywhere outside the popup window, it automatically closes. All this (javascript) works correctly, with one annoyance: If the user has scrolled down to see the bottom of the chart, then clicks on one of the hotspots at the bottom, the popup window appears but the main window scrolls back up to the top. Is there a way to prevent this?
Thanks,
Susan Robbins
macounsr webforumsuser@macromedia.com Guest
-
Contact Form (php) - how to prevent new window
My contact form works just fine, however, I currently have the target set to "_blank" which is not what I want. Rather than opening the .php file... -
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... -
pdating parent window from popup....
hi All: This is the situaton.. I have a treeview with nodes in an aspx page. The node data is coming from DB. when i select a node and click add... -
Refresh a parent window???
I have a frameset. left and main. Inside the main frame I have a IFRAME. I need to refresh the main frame when I post a form inside the IFRAME. I am... -
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... -
David R. Wheeler #2
Re: Prevent scroll in parent window?
How are you linking your hotspots? Can you post a code snippet?
--
Dave
-----------------------------------------------------------------
If I were half as smart as people think I am...
I'd be twice as smart as I was before I forgot everything.
(Official victim of CRAFT Syndrome)
David R. Wheeler Guest
-
Gary White #3
Re: Prevent scroll in parent window?
On Mon, 28 Jul 2003 02:00:10 +0000 (UTC), "macounsr"
[email]webforumsuser@macromedia.com[/email] wrote:
That's because you used the octothorpe # as the URL for the link. Some>My page consists of a large graphic (an organization chart). I'm using
>an image map with hotspots to allow the user to click on any node of
>the organization chart, then a window pops up with explanatory text,
>etc. next to the node. When the user clicks anywhere outside the popup
>window, it automatically closes. All this (javascript) works
>correctly, with one annoyance: If the user has scrolled down to see
>the bottom of the chart, then clicks on one of the hotspots at the
>bottom, the popup window appears but the main window scrolls back up
>to the top. Is there a way to prevent this?
browsers interpret that as a link to a named anchor on the page, but
there is no anchor that matches it because no name is specified. See
[url]http://apptools.com/rants/popups.php[/url].
Gary
Gary White Guest
-
macounsr webforumsuser@macromedia.com #4
Re: Prevent scroll in parent window?
Thanks! Changing the link field from "#" to "javascript:;" did the trick.
macounsr webforumsuser@macromedia.com Guest



Reply With Quote

