Full screen

  • Jan_DM
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 6
  • Loc: Belgium
  • Status: Offline

Post March 31st, 2004, 12:14 pm

Could someone make me a sort of script to switch my website from full screen to a normal window (by clicking on a link)?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 31st, 2004, 12:14 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22760
  • Loc: Pittsburgh PA
  • Status: Online

Post March 31st, 2004, 12:25 pm

Not exactly sure what you're asking Jan_DM. Could you be a little clearer?
"There's no place like 127.0.0.1 except for ::1."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • Cibok
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jan 19, 2004
  • Posts: 38
  • Status: Offline

Post March 31st, 2004, 12:27 pm

I think that he is looking for something like this:
http://www.javascripter.net/faq/browserw.htm
:?
  • Jan_DM
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 6
  • Loc: Belgium
  • Status: Offline

Post March 31st, 2004, 12:35 pm

I need the same function as F11 but in a link to put on a page...
  • Cae
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 25, 2004
  • Posts: 725
  • Status: Offline

Post March 31st, 2004, 12:40 pm

what is your site? you have the poll at the top but no link...
  • Jan_DM
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 6
  • Loc: Belgium
  • Status: Offline

Post March 31st, 2004, 12:43 pm

link is at the bottom of my messages (www) ;)
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6396
  • Loc: unflux.net
  • Status: Offline

Post March 31st, 2004, 1:09 pm

How about not using fullscreen at all? Seems like the most
logical choice, especially since fullscreen is useless IMO.
UNFLUX.net Hosting | Foto
Quality Web Hosting

Post March 31st, 2004, 1:36 pm

Here's one I've used for a while.

I have this as an external file called IEfull.js:
Code: [ Download ] [ Select ]
function fullscreen(){
var hdiff;
window.moveTo(-4,-4);
window.resizeTo(screen.width,screen.height);
hdiff=window.screenTop;
window.moveTo(-6,-hdiff-7);
window.resizeTo(screen.width+13,screen.height+hdiff+35)
}
  1. function fullscreen(){
  2. var hdiff;
  3. window.moveTo(-4,-4);
  4. window.resizeTo(screen.width,screen.height);
  5. hdiff=window.screenTop;
  6. window.moveTo(-6,-hdiff-7);
  7. window.resizeTo(screen.width+13,screen.height+hdiff+35)
  8. }


The HTML
Code: [ Download ] [ Select ]
<SCRIPT LANGUAGE="Javascript1.2" SRC="IEFull.js"></SCRIPT>
<SCRIPT LANGUAGE="Javascript1.2">
fullscreen();
</SCRIPT>
  1. <SCRIPT LANGUAGE="Javascript1.2" SRC="IEFull.js"></SCRIPT>
  2. <SCRIPT LANGUAGE="Javascript1.2">
  3. fullscreen();
  4. </SCRIPT>


Of course it only works for IE.

I do find this useful, btw. I've used this for a number of remote demos and web presentations. I wouldn't do it with out warning the user prior to the hijack. Also, be sure you provide them with the means of closing the window (i.e. an exit button), as users tend to panic if there are not any.
;)
- dM
  • Nunzio390
  • Student
  • Student
  • User avatar
  • Joined: Mar 22, 2004
  • Posts: 70
  • Loc: Tharsis Ridge (Martian lowlands)
  • Status: Offline

Post March 31st, 2004, 1:49 pm

Jan_DM...

Are you aware of the fact that your "onLoad /setTimeout " does NOT pop-up the secondary window in Mozilla/Netscape browsers, although it does in IE and Opera?

This will cause any and all site visitors using Netscape/Mozilla to only see your "splash" page (index.htm) for a few seconds before those browsers completely shut down. They will NEVER get to see your site. I use Mozilla Firefox, as many many many other people do. The only way to get to index2.htm is to not use Netscape/Mozilla.

Also, you have a total of 4 <body> statements and absolutely no ending </body> and </html> tags. You have two ending </head> tags, one of which is entirely misplaced at the very beginning of your page code.
Also, this code is IE-specific only and will not play the sound in other browsers...
<bgsound src="zever.wav" loop="1">

If you want some advice on cross-browser sound embedding, refer to this article. If you need assistance in autostarting and hiding player/controls, let me know and I will supply you with cross-browser compatible coding. I'm a firm believer in cross-browser functionality and always code that way.

There are more errors than I've already mentioned.
I'd seriously rethink your coding if I were you.

I recommend that you include the proper DOCTYPE before your starting <html> tag and then visit http://validator.w3.org/ for help in fixing/validating your code.
  • Jan_DM
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 6
  • Loc: Belgium
  • Status: Offline

Post April 1st, 2004, 8:39 am

I am aware of that mozilla etc, but I don't care bout that, only smart guys use that sort of progs ;)
  • Jan_DM
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 6
  • Loc: Belgium
  • Status: Offline

Post April 1st, 2004, 8:45 am

Maybe I should stick by my latest window creation :) because you all say full screen is uselless (I thought it is flashie and groovy :p ) BTW *watch your mouth!* Mozilla and Netscape, long live the almost-monopoly of our best friend Gates!
  • Axe
  • Genius
  • Genius
  • User avatar
  • Joined: Jan 07, 2004
  • Posts: 5755
  • Loc: Sub-level 28
  • Status: Offline

Post April 1st, 2004, 8:59 am

Jan_DM, You stopped taking the pills again didn't you?
John
» PHP Scripts & Resources » Free Photoshop Tutorials
» Anybody wanna pay my mortgage? PM me!
  • Jan_DM
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 6
  • Loc: Belgium
  • Status: Offline

Post April 1st, 2004, 12:07 pm

lol
  • cmontana
  • Novice
  • Novice
  • User avatar
  • Joined: Apr 03, 2004
  • Posts: 18
  • Status: Offline

Post April 4th, 2004, 5:20 am

UNFLUX wrote:
How about not using fullscreen at all? Seems like the most logical choice, especially since fullscreen is useless IMO.


Fullscreen can be pleasant if it is done properly, and if its use is justified. Some art sites, for example, wil use it to prevent the design and the art from being interfered with by a plain browser window.

As long as a closing button or link is provided (I hate being forced to hit Alt-F4), and fullscreen isn't used just for the sake of fullscreen (to be "cool"), I have no problems with it. It is also good to give visitors the choice between fullscreen and a windowed screen.

Post Information

  • Total Posts in this topic: 14 posts
  • Users browsing this forum: No registered users and 202 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2010 Unmelted, LLC. Driven by phpBB © 2010 phpBB Group.