Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows.open (fullscreen) does not work with SP2. Please help

Status
Not open for further replies.
I have SP2 installed and on my desktop the window.open('','','fullscreen,scrollbars') works fine.

Yet on a colleagues computer it opens a window with no address, menu etc.. but it is not in full screen and still has the TITLE BAR, with the close button.

The problem is the broswer setting that is disabled. You need to get people to change the browser setting or issue a reg key to make the setting for all your web users - a pain but thats the way it is with MS in todays world of hackers, spyware, popups and viruses.

The broswer setting is as follows....

Internet Options
Security Tab
Internet Zone
Custom Settings
Under Miscellaneous below Java
ENABLE - Allow script-initiated windows without size or position contraints.

Regards,

1DMF

 
For all those who need the reg-key here it is ....

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
"2102"=dword:00000000
 
Hello Steve,

create a text file in notepad and save as whatever.REG

place the following line in it...

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
"2102"=dword:00000000

this will enable full screen windows for the current logged on user.

you need to get the users to open the .reg file to implemement the reg-key so place in a zip file, upload to the webspace and put a link with a notice to all your users asking them to download and install. Unless you have an install shield type program and want to make a proper install for them.

Hope this helps.
 
no probs, glad I could help someone with the same headache!
 
Hmm, I get this error msg. I pasted the code as you have it. What am I missing?

---------------------------
Registry Editor
---------------------------
Cannot import C:\Documents and Settings\SFarmer.FLINT\Desktop\FullScreen.reg: The specified file is not a registry script.

You can only import binary registry files from within the registry editor.
---------------------------
OK
---------------------------


Steve
 
Actually (I just got to work), all of my settings already allow fullscreen, but it is not working. I all can see is an Internet explorer icon in the taskbar that is not doing anything. I have to end the task manually.


Here is the code I try:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>New Document</TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<script language="JavaScript">
<!-- hide from JavaScript-challenged browsers

function openWindow(url) {
popupWin = window.open(url,null,"fullscreen=yes,toolbar=no,menubar=no,location=no");
}

// done hiding -->
</script>
</HEAD>

<BODY>


<a class="menu" href="javascript:eek:penWindow('</BODY>
</HTML>



Steve
 
put this in the top line of the reg file

Windows Registry Editor Version 5.00

what's with the null ? - I always give my windows a name.

But anyhow I just used your code and it works fine.

Was the site you were using down at the time or your ISP.

It may be some other settings need changing like this one...

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
"2200"=dword:00000000

I also got the info-bar pop up in SP2 when I loaded your page - it's got blocked code in it.

<a href="javascript:eek:penWindow(' is not good, you should either make a button or put "#" as the href and use an ONCLICK to call the code like this...

ONCLICK="openWindow('
Hope this helps :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top