Jump to content

Adding Scrollbar To Popup Window


Drongo_III

Recommended Posts

Hi Guys

 

Strange request but stick with me. I have a site that I can't currently access that opens a popup window targeted at another site i can access. I need to change the content of that popup which is straight forward enough except for that the function that opens the popup window has the new window set to a small size with no scroll.

 

Resizing the window is easy enough with an onload function. But I need the window to be scrollable.

 

So if a window is opened using window.open(), but the window is not opened with a scrollbar, is it possible to subsequently add the scrollbar dynamically - i.e. through an onload function?

 

This is purely as a temporary solution.

 

I've googled for an hour and tried varies snippets of code but none work :/

 

So a definitive answer as to whether this is possible would be amazing!

 

Drongo

Link to comment
https://forums.phpfreaks.com/topic/270746-adding-scrollbar-to-popup-window/
Share on other sites

 

Yes I have :)

 

I think you misunderstood me. It's not the window.open function I have an issue with. The issue is I don't have access to the site that opens the popup window. The only bit I control is the content of the popup window. I need to change that content but the new content is bigger than the dimensions of hte popup window and the popup also has no scroll set.

 

So I need a way to change the scrollbar property of the window from within the popup.

 

Hope that makes more sense :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.