Solved

open popup window

Posted on 2006-11-23
5
634 Views
Last Modified: 2008-01-09
Hi Experts,

I open a new window using the below javascript command:

window.open("http://localhost:3212/WebSite1/Login.aspx","my_new_window","toolbar=no, location=yes, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, fullscreen=yes")

I need to show the user the status bar, How can I do that?
The above command doesnt do that.

Thank you
0
Comment
Question by:RamyBouchra
  • 2
5 Comments
 
LVL 20

Accepted Solution

by:
trailblazzyr55 earned 500 total points
ID: 18003933
you actually have the correct code for making the status bar appear, however with the fullscreen attribute set to "yes", you will not see the status bar, try setting the fullscreen attribute to "no" and see what I mean...

"status=yes" will allow you to show the status bar, "fullscreen=yes" however hides it because it's taking up the full screen, change to "fullscreen=no"

window.open("http://localhost:3212/WebSite1/Login.aspx","my_new_window","toolbar=no, location=yes, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, fullscreen=no")
0
 
LVL 20

Expert Comment

by:trailblazzyr55
ID: 18003937
for reference here's a helpful link to help you format the popup window...

http://www.pageresource.com/jscript/jwinopen.htm
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 18011909
Hi,

look at this properties...

it'd be like:
<a href="testing.htm" onClick="window.open(this.href,null,'location=no,menubar=no,toolbar=no');return false;">test</a>

here's the syntax declaration:
Syntax  Description
fullscreen={ yes | no | 1 | 0 }  Specifies whether to display the browser in a full-screen or normal window. Default is no.
Use full-screen mode carefully. Because this mode hides the browser's title bar and menus, you should always provide a button or other visual clue to help the user close the window. ALT+F4 will also close the new window.
 
channelmode={ yes | no | 1 | 0 }  Specifies whether to display the window in theater mode and show the channel band.  
toolbar={ yes | no | 1 | 0 }  Specifies whether to display the browser toolbar, making buttons such as Back, Forward, and Stop available.  
location= { yes | no | 1 | 0 }  Specifies whether to display the input field for entering URLs directly into the browser.  
directories = { yes | no | 1 | 0 }  Specifies whether to add directory buttons. Default is no.
status={ yes | no | 1 | 0 }  Specifies whether to add a status bar at the bottom of the window. Default is yes.
menubar={ yes | no | 1 | 0}  Specifies whether to display the menu bar. Default is yes.
scrollbars={ yes | no | 1 | 0}  Specifies whether to display horizontal and vertical scroll bars. Default is yes.
resizable={ yes | no | 1 | 0}  Specifies whether to display resize handles at the corners of the window.  
width=number  Sets the width of the window, in pixels. Minimum value should be 100.
height=number  Specifies the height of the window, in pixels. Minimum value should be 100.
top=number  Specifies the top position, in pixels. This value is relative to the upper-left corner of the screen.
left=number  Specifies the left position, in pixels. This value is relative to the upper-left corner of the screen.

R.K
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Randomize in Owl Carousel v1.3.2 6 40
how can i remove string values 2 29
jQuery delay animation 3 28
add a 3rd selection to sum 7 25
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now