dinosf
Technical User
- Dec 27, 2002
- 11
On my site I have a slide out menu of choices that open new windows for the user to view info.
The windows open fine but I would like to set a pre-determined size in pxls. I have tried variations on the code I use in other places that opens windows at a pre-set size, I think I'm just missing a small technical detail.
The code line that opens the window is in an external file with the options listed numerically (e.g. ssmitems[10]) I added in the space after the url so it would show - it's not in the code-
ssmitems1[10]=["Contact Us", " ", "_new"]
I've tried using variations of the following (mostly with variations in the quotes) to set the size - just standard window parameters - inside the brackets and with double quotes and within the same quotes as _new
'location=yes,scrollbars=yes,width=450,height=300'
Something like this for example -
.../mischelpinfo/contactuspage.htm ", "_new,location=yes,scrollbars=yes,width=450,height=300"]
I haven't been able to figure out what I'm messing up.
Thanks for any help you can offer.
The windows open fine but I would like to set a pre-determined size in pxls. I have tried variations on the code I use in other places that opens windows at a pre-set size, I think I'm just missing a small technical detail.
The code line that opens the window is in an external file with the options listed numerically (e.g. ssmitems[10]) I added in the space after the url so it would show - it's not in the code-
ssmitems1[10]=["Contact Us", " ", "_new"]
I've tried using variations of the following (mostly with variations in the quotes) to set the size - just standard window parameters - inside the brackets and with double quotes and within the same quotes as _new
'location=yes,scrollbars=yes,width=450,height=300'
Something like this for example -
.../mischelpinfo/contactuspage.htm ", "_new,location=yes,scrollbars=yes,width=450,height=300"]
I haven't been able to figure out what I'm messing up.
Thanks for any help you can offer.