Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a frameless window

Status
Not open for further replies.

rachelason

Programmer
Jun 28, 2004
114
GB
HI All, I am new to tek-tips and i would appreciate if someone could help me. I have created a page in javascript to open a calender window. Everything works fine except that in the new window i want to get rid of the titlebar. That is, the calender page should load without the titlebar. I did go through some site about frameless window ...opening in fullscreen... obviously i don't want to open in a fullscreen. I tried to do it in an iframe, layer but i am stuck. Is there anyone who can help me with some tips.
 
do you open this new window using a link with target set to _blank or using javascript's window.open?
 
I open it with window.open() which is in the javascript file.
 
HI , Thanks for sending me the link. I do understand that we can get rid of the statusbar, toolbar etc in the window.open() method... But there is no way i can get rid of the titlebar.... as i said i have tried to use iframe(obviously that won't have a titlebar), but should i get rid of the <html><head> tags from the javascript file? and if i write src="javascript:eek:penCalender(arguments)" ,,, it doesn't work. Anyother way of bringing up the window? Once that is solved i need to find a way of hiding the iframe and showing it only on clicking on some image or button.
 
the only way i managed to do this was to open the window in fullscreen then resize it to the size i need. this way the window has no title bar (because of the full screen) and has the size i need...
 
i tried to run the codelifter code in my system, but it loads the page in fullscreen and remains that way. Does it actually work?
 
Hi !!!

I had been in similar problem once, and in the end found out that no title bar can have its effect only in Internet Explorer, in Mozilla (on Linux) there is no escape, this link is in my favorites since then. Do take a look.


Regards,
SwapSawe.
 
I went through this page as well and tried to run the code, same problem stays in full screen. While talking to you, i found a way of displaying the new window without titlebar through iframe, seemed to work though i have problems picking up the date into a textbox. Hope i'll be able to solve it. thanks a lot for your quick responses. I do appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top