Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-21-2005, 09:48 AM   #1
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Website help -full screen script

Hiya all!

Is there a script to make a website in full screen (without the start bar, toolbars, lines at the sides and no scrollbars)?

Thanks
Jamie!
__________________

__________________
jamieoliver22 is offline   Reply With Quote
Old 06-21-2005, 10:20 AM   #2
Daemon Poster
 
Join Date: Jun 2005
Location: US
Posts: 676
Default Re: Website help -full screen script

just add the code to your html

Or add to your php, cgi..

But code like that would make people mad they can't see any of the status bars.

edit:
Well you can make the window go full screen, remove the scroll bars, address bars. but not to take away from the start menu and task bar..

For that to happen you would have to malicisously code your site to allow the computer to execute F11. And that would definatily make me never to return.
__________________

__________________
"The Crazy American says.."
A well regulated Militia, being necessary to the security of a free State,
the right of the people to keep and bear Arms, shall not be infringed.
BuzzStPoint is offline   Reply With Quote
Old 06-21-2005, 10:28 AM   #3
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

i have found a code that alows you to open a window full screen but it has a scroll bar at the side. is there anyway to turn them off?

the code is:

Code:
function fullwin(targeturl){
window.open(targeturl,"","fullscreen,scrollbars")
thanks
jamie
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-21-2005, 12:47 PM   #4
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

anyone?

(sorry, im inpatient, lol)
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-21-2005, 01:19 PM   #5
Daemon Poster
 
Join Date: Jun 2005
Location: US
Posts: 676
Default Re: Website help -full screen script

Try this
Code:
function fullwin(targeturl){
window.open(targeturl,"","fullscreen")
__________________
"The Crazy American says.."
A well regulated Militia, being necessary to the security of a free State,
the right of the people to keep and bear Arms, shall not be infringed.
BuzzStPoint is offline   Reply With Quote
Old 06-21-2005, 01:52 PM   #6
Daemon Poster
 
rdcmmnst's Avatar
 
Join Date: Jun 2005
Posts: 914
Default Re: Website help -full screen script

yeah just get rid of the scrollbar part of the script.
__________________
-Red Communist- what you don't know probably will hurt you!
rdcmmnst is offline   Reply With Quote
Old 06-21-2005, 02:21 PM   #7
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

ive tried that already, it still wont work.
i dont know why?

thanks
j
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-22-2005, 02:31 AM   #8
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

does anyone know why?
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-22-2005, 08:34 AM   #9
Daemon Poster
 
Join Date: Jun 2005
Location: US
Posts: 676
Default Re: Website help -full screen script

I'll look into it today..

Is this standard HTML?
__________________
"The Crazy American says.."
A well regulated Militia, being necessary to the security of a free State,
the right of the people to keep and bear Arms, shall not be infringed.
BuzzStPoint is offline   Reply With Quote
Old 06-22-2005, 08:37 AM   #10
BSOD
 
Computergen's Avatar
 
Join Date: Dec 2004
Posts: 3,175
Default Re: Website help -full screen script

Nah thats javascript right?
__________________
Computergen is offline   Reply With Quote
Old 06-22-2005, 08:39 AM   #11
Daemon Poster
 
Join Date: Jun 2005
Location: US
Posts: 676
Default Re: Website help -full screen script

If it's java, then it needs to be in the javascript code.

Should have been more clearer.. The site he's building.. Is he building a html website, CGI, PHP...
__________________
"The Crazy American says.."
A well regulated Militia, being necessary to the security of a free State,
the right of the people to keep and bear Arms, shall not be infringed.
BuzzStPoint is offline   Reply With Quote
Old 06-22-2005, 08:41 AM   #12
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default

that script is in javascript.

my site is made of HTML and javascript

thanks

jamie
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-22-2005, 03:12 PM   #13
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

anyone?! i need the awsner soon!

thanks
j
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-22-2005, 04:12 PM   #14
Daemon Poster
 
Join Date: Jun 2005
Location: US
Posts: 676
Default

In the head of the html file put this..
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=no');
}
//  End -->
</script>
In the Body section of the html file put this.
Code:
<a href="javascript:void(0);" onClick="fullScreen('full-screen.html');">Open Full Screen Window</a>
edit the "full-screen.html to your file and change the "open Full Screen Window" to the name of the link.. Copy that whole line, and use that for each new link you want to open in full screen with no scroll bars.
__________________
"The Crazy American says.."
A well regulated Militia, being necessary to the security of a free State,
the right of the people to keep and bear Arms, shall not be infringed.
BuzzStPoint is offline   Reply With Quote
Old 06-23-2005, 02:07 AM   #15
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

i dont know why, but it still has scroll bars!?
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-23-2005, 08:40 AM   #16
Daemon Poster
 
Join Date: Jun 2005
Location: US
Posts: 676
Default Re: Website help -full screen script

Then your not putting in the code correctly..

Note..

This code isn't going to remove teh scroll bars from the current page. Only the new page that you click on the link.
__________________
"The Crazy American says.."
A well regulated Militia, being necessary to the security of a free State,
the right of the people to keep and bear Arms, shall not be infringed.
BuzzStPoint is offline   Reply With Quote
Old 06-23-2005, 11:57 AM   #17
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

i know that, it still doesnt work

i have added the script to a button (it still didnt work with the text hypalink)

here is the script:

Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=no');
}
//  End -->
</script>

<input type="button" onClick="fullScreen('main_menu.htm')" value="Enter the simulator!"><font color="#FFFF00">
thanks
J
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-23-2005, 01:22 PM   #18
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

why wont it work?!
__________________
jamieoliver22 is offline   Reply With Quote
Old 06-23-2005, 02:05 PM   #19
Daemon Poster
 
Join Date: Jun 2005
Location: US
Posts: 676
Default Re: Website help -full screen script

You must have something else in your <head> I just use your code and the button shows, When you click the button it opens a new window, fullscreen with no scrolls.
__________________
"The Crazy American says.."
A well regulated Militia, being necessary to the security of a free State,
the right of the people to keep and bear Arms, shall not be infringed.
BuzzStPoint is offline   Reply With Quote
Old 06-23-2005, 02:17 PM   #20
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Website help -full screen script

i tried the sctipt on its own and it still has scroll bars!?

J
__________________

__________________
jamieoliver22 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 07:59 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
×