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-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 10:09 PM.


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