Internet0 min ago
Javascript window resize problem
Hi I need some code to resize an internet page so that it opens to the maximum screensize
possible onload. I have found some code here that works, but has issues:
http://support.microsoft.com/kb/287171
If I click links on my page then it makes ALL hyperlinks max screen size but I only want the homepage to be the maximum size onload.
Can anyone help, at a guess I'd say the document.all would need chaning to specify just the right page but I don't know the code
Thanks
possible onload. I have found some code here that works, but has issues:
http://support.microsoft.com/kb/287171
If I click links on my page then it makes ALL hyperlinks max screen size but I only want the homepage to be the maximum size onload.
Can anyone help, at a guess I'd say the document.all would need chaning to specify just the right page but I don't know the code
Thanks
Answers
Best Answer
No best answer has yet been selected by mzpresto. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Not sure why you need the Java code but try this:-
Open an ordinary web page on the Internet.
Go to the top right of the screen and click the Square button (between the _ and the X). Now go to the FILE Menu (top Left) and click on EXIT.
I believe the page should now always open in the FULL position.
(Fingers crossed!!!)
Or have I misunderstood the question??
Open an ordinary web page on the Internet.
Go to the top right of the screen and click the Square button (between the _ and the X). Now go to the FILE Menu (top Left) and click on EXIT.
I believe the page should now always open in the FULL position.
(Fingers crossed!!!)
Or have I misunderstood the question??
Ok the problem is I have a 3 column table layout on the site which looks AWESOME at max screensize, but people link to my site on their intranet pages and when clicked it opens up in a smaller browser window, approx 75% of the screen.
All I want it to do is force to full screen when they click a link to my page and it opens.
I have already acheived this with the code I posted above, however this means that any links clicked on my page also open full screen and I only want my home page to open full screen
Thanks
All I want it to do is force to full screen when they click a link to my page and it opens.
I have already acheived this with the code I posted above, however this means that any links clicked on my page also open full screen and I only want my home page to open full screen
Thanks
Yeah yeah ok I knew that people would get their backs up about how they don't want their browsers a certain size but you wont ever see it, this not on the world wide web, this is just for an intranet page.
Full screen is important as it shows a lot of imformation and is it too much to ask that if you know how to solve the problem then you might help me anyway without letting your personal opinion of strict browser size guidelines getting in the way?
Sorry I have had no caffeine today :D
Full screen is important as it shows a lot of imformation and is it too much to ask that if you know how to solve the problem then you might help me anyway without letting your personal opinion of strict browser size guidelines getting in the way?
Sorry I have had no caffeine today :D
it's
<script language="javascipt" type="text/javascript">
self.moveTo(0,0);self.resizeTo(screen.availWi
dth,screen.availHeight);
</script>
But think seriously before you use it, people with large area desktops might not need the browser full size to see everything and by the sounds of it your page is not going to deal with different screen resolutions very well at all.
You would be better making the page suit any size window (within reason).
<script language="javascipt" type="text/javascript">
self.moveTo(0,0);self.resizeTo(screen.availWi
dth,screen.availHeight);
</script>
But think seriously before you use it, people with large area desktops might not need the browser full size to see everything and by the sounds of it your page is not going to deal with different screen resolutions very well at all.
You would be better making the page suit any size window (within reason).
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.