Click to See Complete Forum and Search --> : Help Me Ahhhhh!!!


SuperJavaNoob
11-24-2003, 12:09 AM
Java Homework Help Me Please (http://seattlecentral.edu/faculty/kjensen/itc_216/assign_2.html)




please help me out people:confused: I need a lot of help:) like how do i set the screen to 90 percent of the avail height and width. Go to the link, its my homework in description.

Pittimann
11-24-2003, 03:36 AM
Hi!

Your gonna be a web designer isn't it? You should consider that this means more, than being able to copy and paste.

I read the code you wrote (or pasted??) so far and I don't think, that you're on the right college. And you'll never make real progress if you have your homework done by others...
Anyway - copy this:

var newWidth=Math.round(screen.availWidth*0.9);
var newHeight=Math.round(screen.availHeight*0.9);

Cheers - Pit

SuperJavaNoob
11-24-2003, 09:34 AM
Thanks for replying to my post. I didnt copy and paste anything. The code i sent was the code i wrote myself. But thank u for the screen avails:)