# Browser auto resize itself

**URL:** <https://forum.kirupa.com/t/browser-auto-resize-itself/204790>\
**Category:** Uncategorized\
**Created:** [October 23, 2006, 3:45pm UTC](https://forum.kirupa.com/t/browser-auto-resize-itself/204790 "2006-10-23T15:45:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pitale](https://avatars.discourse-cdn.com/v4/letter/p/cc9497/32.png) [@pitale](https://forum.kirupa.com/u/pitale)\
**Post date:** [October 23, 2006, 3:45pm UTC](https://forum.kirupa.com/t/browser-auto-resize-itself/204790/1 "2006-10-23T15:45:20Z")

</div>

how a browser automatically resize itself, once visitors type in the link ? and no rescale allowed.  
i know the way to open a fixed size pop up window, but i haven’t seen any tutorial about auto-resize browser ?

---

<div class="post-metadata">

**Author:** ![LittleFenris](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@LittleFenris](https://forum.kirupa.com/u/LittleFenris)\
**Post date:** [October 23, 2006, 4:20pm UTC](https://forum.kirupa.com/t/browser-auto-resize-itself/204790/2 "2006-10-23T16:20:21Z")

</div>

This isn’t an Actionscript related question, it would be more of an HTML/CSS/Javascript issue. I’d post in a more appropriate place. I’m sure someone in here will know the answer though…since its programming and the AS people are more likely to care about that then others might.

---

<div class="post-metadata">

**Author:** ![xohol](https://avatars.discourse-cdn.com/v4/letter/x/59ef9b/32.png) [@xohol](https://forum.kirupa.com/u/xohol)\
**Post date:** [October 23, 2006, 9:29pm UTC](https://forum.kirupa.com/t/browser-auto-resize-itself/204790/3 "2006-10-23T21:29:05Z")

</div>

try something like this:

[AS]  
on (release) {  
getURL(“javascript:self.resizeTo(screen.availWidth,screen.availHeight);”);  
getURL(“javascript:self.moveTo(0,0);”);  
}  
[/AS]

you can change the ‘screen.availWidth’ to a specific dimention such as 400
