Author
Topic: Java Script Question
Aban Rune
Former ascended being
Member # 226
posted April 22, 2003 01:22 PM
Ok... I'm dabbling in basic Javascript for a website I'm doing at work and I'm having trouble finding some code. I'm trying to get a small window to pop open at a fixed size but that has a scroll bar on the side. I've got a fixed size box with no scroll bar. I'm using this: on.click="window.open('spec_offer_1.htm','plain','height=374,width=640','target=top')" (I don't actually have the period between on and click, but it wouldn't let me submit the thread with that code there) I thought adding the scroll bar involved adding "scroll=yes" or something like that, but I don't know the exact string nor where to add it. Help a brutha out? -------------------- "Nu ani anqueatas"Aban's Illustration The Official Website of Shannon McRandle
Registered: Oct 1999
| IP: Logged
Harry
Stormwind City Guard
Member # 265
posted April 22, 2003 02:26 PM
quote: window.open('spec_offer_1.htm','plain','height=374,width=640,scrollbars=yes,target=top')That should work. For more Window object methods, see here . --------------------Titan Fleet Yards | Memory Alpha
Registered: Dec 1999
| IP: Logged