473,378 Members | 1,407 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

F11 Keyboard Code Via Javascript Not Blocked By Browser Pop-Up Blocker- Possible?

1
Hello,
My question is simple and I have not seen an answer so far having surfed the web endlessly.

I run a Kids Flash Games Website:
http://www.doron-zur.com

Some of the games require Full Screen View.
I do not expect players arriving at my Website to hit the F11 Keyboard - most of them will not do so.

I want to make their life easier by writing adequate code instead which will load my Website in FULL SCREEN VIEW.

The harshness of the browser pop up blocker prevents my javascript code from using the following code:

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2. <!--
  3. function popup(url)
  4. {
  5.  params  = 'width='+screen.width;
  6.  params += ', height='+screen.height;
  7.  params += ', top=0, left=0'
  8.  params += ', fullscreen=yes';
  9.  
  10.  newwin=window.open(url,'windowname4', params);
  11.  if (window.focus) {newwin.focus()}
  12.  return false;
  13. }
  14. // -->
  15. </script>
  16.  
  17. <a href="javascript: void(0)"
  18.    onclick="popup('http://www.doron-zur.com/')">Fullscreen popup window
  19. </a>
  20.  
Is there an expert amongst you people of the Bytes Forum who can write the F11 Keyboard code instead - which I can place inside my Website's Home Page and thus make life easier for my Website's visitors?
Thank you all.

Doron Zur.
Nov 16 '08 #1
1 8475
acoder
16,027 Expert Mod 8TB
fullscreen is not supported in most browsers. See Window functionality features (window.open()) (lower down for fullscreen).

To avoid this problem, inform the user in a FAQ or a help link how they can increase the size of the browser and how they can enable pop-ups.
Nov 17 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: dave yan | last post by:
hi, i have some forms which use javascript for data validation, e.g., checking to make sure all required fields are completed, checking that data falls within valid ranges for certain fields,...
9
by: Bill M. | last post by:
How do pop-up blocker programs work? Do they intercept http transactions and strip-out window.open() commands? Is there a single methodology? Thanks
0
by: James Andrus | last post by:
I don't know anything about making web pages, .NET, etc. I have noticed that my Norton Internet Security (2003) ad/popup blocker is blocking the loading of .aspx pages. The results of a Google...
4
by: Ashish | last post by:
Hi Friends, I am looking for an anti-popup blocker solution, which can open popup window, irrespective whether any popup blocker is on or off. Well, I have succeeded in creating the same...
26
by: Raffi | last post by:
Hi, We have a database application that runs in a popup Internet Explorer application window. The reason for this is to isolate the casual user from the address bar and the typical IE navigation...
3
by: Jachu | last post by:
Hi, when i want to open in a new windows a url, use this code. Private Sub btnF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnF.Click Response.Write("<script>")...
7
by: rob c | last post by:
Hi Does anyone know what triggers a "popup blocker"? I'm going to be opening some sub-windows from my main page and don't want to get caught in a blocker. Thanks Rob
2
by: jtaylor | last post by:
I am having a problem with the prompt message being blocked by popup blockers. (I think) I have the following javascript code on my page and some customers are having a problem with the prompt...
3
by: Yisehaq | last post by:
Hi guys I am trying to prepare few html pages which contain OLAP cubes on a CD. The problem I have is that the popup blocker blocks the OLAP modules from being shown. Therefore, I wanted to write...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.