Full screen

  • Jan_DM
  • Newbie
  • Newbie
  • Jan_DM
  • Posts: 6
  • Loc: Belgium

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Not exactly sure what you're asking Jan_DM. Could you be a little clearer?
  • Cibok
  • Beginner
  • Beginner
  • Cibok
  • Posts: 38

Post 3+ Months Ago

I think that he is looking for something like this:
http://www.javascripter.net/faq/browserw.htm
:?
  • Jan_DM
  • Newbie
  • Newbie
  • Jan_DM
  • Posts: 6
  • Loc: Belgium

Post 3+ Months Ago

I need the same function as F11 but in a link to put on a page...
  • Cae
  • Expert
  • Expert
  • User avatar
  • Posts: 734

Post 3+ Months Ago

what is your site? you have the poll at the top but no link...
  • Jan_DM
  • Newbie
  • Newbie
  • Jan_DM
  • Posts: 6
  • Loc: Belgium

Post 3+ Months Ago

link is at the bottom of my messages (www) ;)
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

How about not using fullscreen at all? Seems like the most
logical choice, especially since fullscreen is useless IMO.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

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

I have this as an external file called IEfull.js:
Code: [ 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: [ 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.
;)
  • Nunzio390
  • Student
  • Student
  • User avatar
  • Posts: 70
  • Loc: Tharsis Ridge (Martian lowlands)

Post 3+ Months Ago

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
  • Jan_DM
  • Posts: 6
  • Loc: Belgium

Post 3+ Months Ago

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
  • Jan_DM
  • Posts: 6
  • Loc: Belgium

Post 3+ Months Ago

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
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Jan_DM, You stopped taking the pills again didn't you?
  • Jan_DM
  • Newbie
  • Newbie
  • Jan_DM
  • Posts: 6
  • Loc: Belgium

Post 3+ Months Ago

lol
  • cmontana
  • Novice
  • Novice
  • User avatar
  • Posts: 18

Post 3+ Months Ago

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 33 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.