Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



To open a popup window with no toolbar.

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-07-2009
Member
 
Join Date: Oct 2008
Posts: 31
To open a popup window with no toolbar.
  

Hi,
I am a newbie with html & javascript so please consider me.
I know its not right to tweak with the user browser, but I want to open a window in a popup but with no toolbar.
Is this possible for us to have a popup window without the help of javascript?
If yes can you please give me an idea to do the same?

Thanks.

Reply With Quote
  #2  
Old 06-07-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: To open a popup window with no toolbar.

Actually its nothing wrong doing that.
You just have to put a simple html script for this.
The script will even open your new window without toobar in following way & mold it for your popup window as you wish.
This code will open a new window without toolbars, menubars, & so on for a hyperlink:

Code:
<script language="Java Script">

function openit(sURL){ newwindow=open(sURL,"newwin","scrollbars=no, toolbar=no, directories=no, menu bar=no, resizable=yes, status=yes, width=400, height=250");
}

</SCRIPT>
Reply With Quote
  #3  
Old 06-07-2009
Member
 
Join Date: May 2008
Posts: 2,382
Re: To open a popup window with no toolbar.

To open a simple popup window:

Code:
window.open("win1.html","Window1", "menubar=no,width=430,height=360,toolbar=no");
Above syntax is to first specify the web page to load into the window. Next, set the title of the window. Last, specify the options for the window
Note: the options are all in a single set of quotes.

The code to close the popup is:

Code:
<a href="javascript:self.close()">close window</a>
To know the more options for a popup window & further treatments please visit.
http://blazonry.com/javascript/windows.php

I hope this helps you understand the popups:
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "To open a popup window with no toolbar."
Thread Thread Starter Forum Replies Last Post
Folders open in new window despite selecting the option of open in same window Hahtalekin Operating Systems 4 24-01-2011 10:05 AM
How to Open Popup Window in Javascript? Soumen Software Development 4 07-02-2010 03:02 AM
How to open Gmail account in a popup Window? roodiii Technology & Internet 5 01-02-2010 12:02 PM
How to get a popup window using ajax? khabi Software Development 2 29-06-2009 06:07 PM
Popup a non-resizable window Alexxx Software Development 3 15-04-2009 09:26 AM


All times are GMT +5.5. The time now is 04:58 PM.