IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes My popup like window wont appear scrollable, help, please. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "My popup like window wont appear scrollable, help, please." Watch "My popup like window wont appear scrollable, help, please." New topic
Author

My popup like window wont appear scrollable, help, please.

Will Reilly
Greenhorn

Joined: May 09, 2003
Posts: 24
Hi there,
this is absolutely driving me mad, I have a dynamic page that need to be opened and appear like a popup to the client but it must be scrollable, and I have set scrolling=yes and have also tried 0 and 1 but it won�t work. Does anyone have any idea why as I am totally at a loss. Any help would be great.
Thanks in advance
Williery
<script language="javascript">
function opnNewWin(filename,windowname,hght,wdth) {
var winTop = (screen.height - hght) / 2
var winLeft = (screen.width - wdth) / 2
window.open(filename,windowname,'top='+winTop+',left='+winLeft+',height='+hght+',width='+wdth+',menubar=no,toolbars=no,status=no,scrolling=yes,resizable=yes')
}
</script>
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1028
Hi Will,
use the word "scrollbars" not "scrolling"
hihi, guess i'll hear the "UUAAARRR" over here
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
I would recommend using this utility for making pop up windows...
http://www10.brinkster.com/A1ien51/scripts/PopUpWinGenV3.htm
Eric
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1028
@Eric that's a cool tool ! ( even though i quitted popupping )
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Originally posted by Christian Baron:
@Eric that's a cool tool ! ( even though i quitted popupping )

That utility keeps getting tons of hits, I only use pop ups when nesecary since people and their pop up blockers....Easiest pop up blocker...STAY AWAY FROM THOSE PORN SITES!! LOL
Eric
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1028
I just tried out "fullscreen"...
...should be forbidden by law !
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
fullscreen works in only IE (thank God!)
there used to be a bug in IE where you could open full screen and resize the window. So you had no chrome at all. It looked like a layer popped up on your screen. It was neat at first since you could build your own browser window, but IE fixed the bug due to misuse...
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1028

but IE fixed the bug due to misuse...

...obviously not in my ie6.0, the only way to get out is the task-manager
[ May 09, 2003: Message edited by: Christian Baron ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Full Screen is allowed, changing size can not be done with the service pack
easy way to get rid of it is Alt-F4
Eric
 
 
subject: My popup like window wont appear scrollable, help, please.
 
Threads others viewed
pop up window to display an array object using Tomcat
problem with Frame
Passing Value From Parent to Popup Window by Pressing the Enter Key
Problem with if..else..
Frameless Pop up window in JavaScript
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com