55 users online (1 members and 54 guests)  


  Results 1 to 5 of 5

Related

  1. Help with mouseover    Forum: HTML Forum
    Replies: 3
  2. Mouseover help please    Forum: HTML Forum
    Replies: 3
  3. Mouseover pics    Forum: HTML Forum
    Replies: 0
  4. Mouseover Message?    Forum: Javascript Forum
    Replies: 1
  5. mouseover    Forum: HTML Forum
    Replies: 4
  1. #1
    wahid's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Oct 2003
    Posts
    75

    Question Mouseover Pop up does not pop

    Hi Guys

    Can someone please tell me what is wrong with this script...
    It does not pop...
    Code:
    <a href="javascript:void(0)"
    onMouseOver="w = window.open('bigimage.jpg','PopUp','width=480,height=360,menubar=yes'); return true;"
    onMouseOut=" w.window.close(); return true;"
    ><img src="smallimage.jpg" border=0 height=123 width=123></a>
    Thanx
    Peace

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    I suspect it is popping, its just that as soon as it does, focus moves to the new window. This counts as an onMouseOut event and it closes again.

    try removing the window.close() code
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    wahid's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Oct 2003
    Posts
    75

    Thumbs up

    Quote Originally Posted by QuietDean
    I suspect it is popping, its just that as soon as it does, focus moves to the new window. This counts as an onMouseOut event and it closes again.

    try removing the window.close() code
    Hi QuietDean
    You came by just in time.
    Thanx...
    Could you let me see exactly what I should have...

    Thanx again .

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Remove all the onMouseOut= code, then see what happens.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    wahid's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Oct 2003
    Posts
    75
    Quote Originally Posted by QuietDean
    Remove all the onMouseOut= code, then see what happens.
    Thanx QuietDean
    You were rght first time...it was popping...
    The original code works OK now!!!

    Thanx loads.

    Peace



Tags for this Thread