SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
-
Jan 21, 2002, 15:10 #1
- Join Date
- Jun 2001
- Location
- Thailand
- Posts
- 369
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
problem when open new window with java script
I have 1 button, when click this button, it open new window
PHP Code:<input type=button value='Insert Emotion'
onclick='exmp=window.open("smile.html","isag","toolbar=0 menubar=0 scrollbar=1 resizeable=1");'>
I use IE6 on win98se
Any one help?
I live in Thailand. My English grammar not well.
-
Jan 21, 2002, 15:43 #2
- Join Date
- Mar 2000
- Location
- nevada, usa
- Posts
- 636
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
change your scrollbar=1 to scrollbars=1
"There's no justice like angry mob justice!" --Seymour Skinner
-
Jan 21, 2002, 15:46 #3
- Join Date
- Oct 2000
- Location
- Austin, TX
- Posts
- 1,438
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Your options should just be "scrollbars, resizeable"
ck :: bringing chris to the masses.
-
Jan 21, 2002, 16:07 #4
- Join Date
- Jun 2001
- Location
- Thailand
- Posts
- 369
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks very much.
I'm type wrong word
scrollbars=1 resizable=1 or
scrollbars,resizable
(not resizeable)I live in Thailand. My English grammar not well.
-
Jan 22, 2002, 16:01 #5
- Join Date
- Jun 2001
- Location
- Thailand
- Posts
- 369
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I have problem with netscape, code that I post work only IE6 but scrollbars not work in Netscape6.
I try change to
scrollbars
scrollbars=1
but it not show scrollbar in Netscape. Anyone help?I live in Thailand. My English grammar not well.
-
Jan 22, 2002, 19:58 #6
- Join Date
- Feb 2000
- Location
- where the World once stood
- Posts
- 700
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi itsource,
1) there must be commas between each property
2) nn4 prefers 'no/yes' IE doesn't care.
3) don't forget the form tags
<form>
<input type=button value='Insert Emotion'
onclick='exmp=window.open("http://members.aol.com/grassblad","isag","toolbar=no,menubar=no,scrollbars=yes,resizable=yes");'>
</form>
VinnyWhere the World Once Stood
the blades of grass
cut me still
Bookmarks