codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Fullscreen code  cwilkey at 16:14 on Tuesday, February 15, 2005
 

I want to use the following code to open a window fullscreen:

onLoad="JavaScript:window.open('http://10.1.0.44' , 'pop' , 'fullscreen');"

This works, however it just keeps opening new windows over, and over again. It's like it just keeps looping. Can someone help, please?

  Re: Fullscreen code  websandy at 06:34 on Thursday, February 17, 2005
 

You can check if the window is already open by calling function on onload event instead of just onload=JavaScript:window.open('http://10.1.0.44' , 'pop' , 'fullscreen');"
so, the result is if the window is already open then the opened window is in focus without opening new windows and if it is not open only then a new window is open...........

Hope this logic works as for your need is concerned









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Print and print preview file on the website without using the File - Print on the IE
•  Re: ASP.NET web controls
•  Re: JavaSript Problem In Mac Safari Browser
•  Re: DHTML div positionning Problem
•  Convert script to NS6 compatible - Please Help!
•  Print .doc file from the website using System.Diagnostics.Process
•  Re: Fullscreen code
•  Re: iframe targeting
•  Excel n ASP


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005