Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Test browser size 2

Status
Not open for further replies.

pindky

Programmer
Apr 26, 2002
101
US
What is the javascript I can put in the URL line of my browser to make it resize to 800x600, 1024x768, etc. so that I can see my work at different screen resolutions without changing my own display resolution. Thank you,
 
forum216

--Chessbot

There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
 
You could also start using Firefox, and use the addon web developer extension- this is brilliant , it allows re-sizing, turning off of various things like images, javascript and css. I'm not sure if it's a seperate extension, but it also has direct links to the www3 validation, so you can veiw a page, then valaidate it against css, html etc.
I use this browser extensivly now, and it has made my development time significantly quicker.


the extension I use most, is Web Developer, I also use Checky, DOM Inspector and googlebar

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
I'll 3rd the FireFox recommendation. Web Developer extension is fantastic! All kinds of stuff you may have once abstractly thought about how cool it would be have, only to now have them and wish you could remember that time when you wanted something similar. You say, "I don't see myself needing to disable that" only to use it the next day.

Very cool! And FREE!!!!!!
 
Thank you!! Actually, I have been using FireFox for some time now, but never knew about the WD tools. Love the tabbed windows!
 
You can use this code as well
Code:
<script>
javascript:external.AddFavorite('javascript:void(m=window.open("","m","height=30,width=150"));m.focus();m.document.write(\'<form><select onchange="opener.eval(this[this.selectedIndex].value)"><option value=""><option value="self.resizeTo(640,480)">640x480<option value="self.resizeTo(800,600)">800x600<option value="self.resizeTo(1024,768)">1024x768</select></form>\')','Resize')
</script>
It will add a favorite to your favorites folder then when you want to resize a window you just open the favorite and choose the size.

Glen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top