|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I found some code to resize an existing window but after I resize it I need to add a scrollbar. How can I do this?
Code:
<script language="JavaScript"><!-- if (window.resizeTo) self.resizeTo(300,530); //--></script> I tried adding this right under the resizing line but it doesn't work: self.scrollbars.visible = true; location.refresh() ; There still is no scrollbar In my final code, which includes some PHP, I made the ability to enlarge or shrink the window. In the shrunken form I'll need to remove the scrollbar. Thanks Usagi |
|
#2
|
||||
|
||||
|
scrollbar
Hi Usagi, welcome to the forums,
AFAIK, (and I may be wrong), scrollbars do not have a visible property. Either they're there or not. Try Code:
self.scrollbars = true;
__________________
WP plugins - Error Reporting, Clean Options http://www.mittineague.com/dev/er.php http://www.mittineague.com/dev/co.php |
|
#3
|
||||
|
||||
|
scrollbar
Hi Usagi, welcome to the forums,
AFAIK, (and I may be wrong), scrollbars do not have a visible property. Either they're there or not (when the content requires them). Try Code:
self.scrollbars = true; |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Adding a scrollbar to a resized window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|