Top "Window" questions

In computer science a window is a graphical interface to let a user interact with a program.

Open link in new tab or window

Is it possible to open an a href link in a new tab instead of the same tab? <a …

html tabs hyperlink window href
window.location.href and window.open () methods in JavaScript

What is the difference between window.location.href and window.open () methods in JavaScript?

javascript location window href window-object
How to position a div in the middle of the screen when the page is bigger than the screen

Hi I'm using something similiar to the following to get a div positioned in the middle of the screen: <…

css html window center
Javascript: open new page in same window

Is there an easy way to modify this code so that the target URL opens in the SAME window?

javascript window
How can I resize an image dynamically with CSS as the browser width/height changes?

I wonder how I could make an image resize along with the browser window, here is what I have done …

css image browser resize window
$(window).scrollTop() vs. $(document).scrollTop()

What's the difference between: $(window).scrollTop() and $(document).scrollTop() Thanks.

javascript jquery window document scrolltop
How to open in default browser in C#

I am designing a small C# application and there is a web browser in it. I currently have all of …

c# browser window default new-operator
What's the difference between window.location= and window.location.replace()?

Is there a difference between these two lines? var url = "http://www.google.com/"; window.location = url; window.location.replace(…

javascript window location
Is there a way to detect if a browser window is not currently active?

I have JavaScript that is doing activity periodically. When the user is not looking at the site (i.e., the …

javascript browser focus window
How to make PopUp window in java

I am currently developing a java application. I want to show a new Window which contains a text area and …

java swing popup window