ColdFusion - I need to create a link that will open a _blank in full screen mode

Hey eveyone,

This CF question could be done with using Java, but that is what I am trying to stay away from.  I've got a testing site and when the students log into the site they receive a list of the tests that they are scheduled to take.  In that list a button is presented that they can click on to start the test.  I would like the test to start in another full screen window that has No tool bars or anything.

How might I go about this:

<cfform name="startTest" action="student_StartTest.cfm" target="_blank">
<div align="center">
<input name="TS_ID" value="#TS_ID#" type="hidden">
<br>                          
<input type="Submit" value="Start">
</div>
</cfform>

Thanks a lot,
Chris
LVL 2
inverted_2000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

inverted_2000Author Commented:
I figured it out...and I'll need to use JAVA to get it to work...but it does work (o:

I just called the function on the testing page once it started to load and it goes to full screen.

Please Close this question (o:

<SCRIPT>
function open_fullscreen() { window.open("student_StartTest.cfm", "", "height="+window.screen.availHeight+", width="+(window.screen.availWidth-10)+", top=0, left=0,fullscreen=yes");;}
function open_nobars() { window.open("index.html", "", "height="+window.screen.availHeight+", width="+(window.screen.availWidth-10)+", top=0, left=0, toolbar=no, status=no, scrollbars=no, location=no, menubar=no, directories=no, resizable=no");;}
function open_normal() { window.open("index.html", "", "height="+window.screen.availHeight+", width="+(window.screen.availWidth-10)+", top=0, left=0, toolbar=no, status=no, scrollbars=no, location=no, menubar=no, directories=no, resizable=no");;}
function window_close() { window.opener = self; window.close();}
</SCRIPT>

<body  onload="open_fullscreen()">
0
lennagyCommented:
Just so you know your terms, you said you used Java to solve you problem.  Technically you used Javascript.  While they share the same four characters in the language name 'java' , they are not the same language.  

Javascript is a browser-based language. Requires no plugins, code is intermingled as necessary with HTML.

Java, on the other hand, runs in a browser only within an applet frame, completely separate from Javascript and HTML. Most commonly, Java is used on the server side, rather than the browser, in .jsp pages.

As an educator, I'm sure you wish to convey the correct term when discussing your solution with your peers.

:)

0
GranModCommented:
PAQed with points refunded (300)

GranMod
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.