SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Why IE refresh it self?
-
Jan 27, 2002, 10:22 #1
- 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.
-
Jan 27, 2002, 14:04 #2
- 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.
VinnyWhere the World Once Stood
the blades of grass
cut me still
-
Jan 27, 2002, 14:16 #3
- 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