SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Addict itsource's Avatar
    Join Date
    Jun 2001
    Location
    Thailand
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why IE refresh it self?

    I have 1 page and this page has button when cliek this button, it pop up new window, I use image instead of button.

    The problem is when new window pop up, old windows refresh itself 1 time, why it refresh? how to prevent?

    This is my code

    PHP Code:
    <input type=image src='emotion.gif'
                                    
    onclick='exmp=window.open("smile.php","isag","toolbar=0, menubar=0, scrollbars=yes, resizable=yes");'
    I live in Thailand. My English grammar not well.

  2. #2
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I'm not sure, but try:

    ...onclick="........; return false">

    if that doesn't work, post the url so people can see the actual code in action.

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still

  3. #3
    SitePoint Addict itsource's Avatar
    Join Date
    Jun 2001
    Location
    Thailand
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, but return false don't work.

    I don't want user to see url so, I use button and open in new windows and not show addressbar.

    Main windows refresh itself when I use image instead button<input type=image>, but if i use only button <input type=button> It not refresh itself.

    Is any way please?
    I live in Thailand. My English grammar not well.


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
  •