|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
i have written the line
Code:
window.open('frmTC?OpenForm','ProgramCalendar','wi dth=500,height=200,resizeable=yes,scrollbars=yes,t itlebar=no,screenX=20,screenY=20')
the problem is that while all flags of the third parameter work, only the 'titlebar=no/yes' doesnt. the window opened always displays the titlebar(default behav) regardless of whether i set 'titlebar=no' is there any other setting required before this flag can work? plz help |
|
#2
|
|||
|
|||
|
meetdenis,
As far as I know, titlebar isn't a valid option for the Window object. Are you maybe thinking of toolbar?
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
i did try the 'toolbar=no' option buddy. and that works fine too. i even referred a javascript manual and 'titlebar' is a valid option for 'window.open()'
|
|
#4
|
||||
|
||||
|
Maybe it's screenX and screenY that're causing the problem. I've always used top and left with no problem. And as you know, with js, messing up in one place can sometimes invalidate the whole thing. I imagine you've looked up these params too and they're valid; I've just never seen them within the context of the window.open() call.
|
|
#5
|
||||
|
||||
|
You have to be running a signed script to be able to set the title bar property.
http://devedge.netscape.com/library...ow.html#1202731 |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > window.open() problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|