thesoundsmith Posted April 25, 2010 Share Posted April 25, 2010 I finally have my DashRadio window doing exactly as I want - in Firefox. The window is sized perfectly, and the irrelevant elements - scrollbars, menubar, toolbars, statusbar - are not displayed (I have this set in my browser.) In IE, the window is much too small, because of the menu bars, scrollbars and status bar display. If I make the window large enough to accommodate these elements, the window is huge in FF (or where they are allowed to be shut off.)Is there a way to use window.resizeTo() in conjunction with some js magic to determine the minimum necessary size for the window? It's currently at 300wx240h, actual outer window size. All the dimensioning statements I am aware of work on the outer dimensions of the window, not the display area. I'm thinking of something like a function that determines what elements of the window are currently being displayed, and recalculating the size based on this info.You can see the code at the DashRadio page or see it in action by going to my home page and clicking DashRadio at the upper left. Link to comment Share on other sites More sharing options...
justsomeguy Posted April 25, 2010 Share Posted April 25, 2010 Check here:http://www.howtocreate.co.uk/tutorials/jav...t/browserwindow Link to comment Share on other sites More sharing options...
thesoundsmith Posted April 26, 2010 Author Share Posted April 26, 2010 Check here:http://www.howtocreate.co.uk/tutorials/jav...t/browserwindow ??? Thought I said thanks earlier, but i don't see the post - so, once again... thanks, that's a useful link. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.