Professional Web Applications Themes

closing popup window moves mouse to top of page - Macromedia Dynamic HTML

Hi, I'm a beginning using Dreamweaver 8. I have a site with multiple thumbnails on a page. Each thumb is linked to a popup window with the enlarged image using the onclick behavior. The problem is that as I work my way down the page, as I open a popup, then close it, the page jumps back to the top. I really want the page location to remain at the last clicked thumbnail so the user doesn't have to scroll down every time...Any ideas? Thanks in advance for your help....

  1. #1

    Default closing popup window moves mouse to top of page

    Hi,
    I'm a beginning using Dreamweaver 8. I have a site with multiple thumbnails on
    a page. Each thumb is linked to a popup window with the enlarged image using
    the onclick behavior. The problem is that as I work my way down the page, as I
    open a popup, then close it, the page jumps back to the top. I really want the
    page location to remain at the last clicked thumbnail so the user doesn't have
    to scroll down every time...Any ideas?
    Thanks in advance for your help.


    Jamie9470 Guest

  2. #2

    Default Re: closing popup window moves mouse to top of page

    Do you have a link to your page or could you post some of the code?
    regards
    Andy
    byardaj Guest

  3. #3

    Default Re: closing popup window moves mouse to top of page

    Hi Andy,
    It's still in beta mode, let me upload it to my own website and I'll post the link...thanks!
    Jamie9470 Guest

  4. #4

    Default Re: closing popup window moves mouse to top of page

    Originally posted by: Jamie9470
    Hi Andy,
    It's still in beta mode, let me upload it to my own website and I'll post the
    link...thanks!

    Cool, I'm off to bed now but the following link maybe of interest...

    [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=189&thre[/url]
    adid=1146013&highlight_key=y

    I'm guessing that your problem is that when you click on the thumbnail you are
    kicking off two actions, one that opens the popup and a second (accidental?)
    that reloads the current page (hence losing your scroll position). This is just
    a guess!!
    The discussion in the link above expains how to stop both happening (return
    false).

    Ab




    byardaj Guest

  5. #5

    Default Re: closing popup window moves mouse to top of page

    you rock!

    that worked! I had # instead of javascript:void(0)

    thanks a million,
    Jamie
    Jamie9470 Guest

Similar Threads

  1. Question After I closing of a popup window, how do I move it to the Top of the page
    By Chandan Dash in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: November 3rd, 07:22 AM
  2. Closing Popup window
    By ReidarT in forum Dreamweaver AppDev
    Replies: 1
    Last Post: March 9th, 11:25 AM
  3. Replies: 1
    Last Post: May 28th, 04:55 PM
  4. image moves according to mouse position
    By uncle_3than webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 11
    Last Post: January 26th, 01:04 AM
  5. Video stops when mouse moves
    By jadejewel webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 6
    Last Post: January 14th, 07:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139