Drongo_III Posted November 15, 2012 Share Posted November 15, 2012 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 More sharing options...
Manixat Posted November 15, 2012 Share Posted November 15, 2012 So you've googled an hour you say Link to comment https://forums.phpfreaks.com/topic/270746-adding-scrollbar-to-popup-window/#findComment-1392711 Share on other sites More sharing options...
Drongo_III Posted November 15, 2012 Author Share Posted November 15, 2012 So you've googled an hour you say 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 Link to comment https://forums.phpfreaks.com/topic/270746-adding-scrollbar-to-popup-window/#findComment-1392717 Share on other sites More sharing options...
Manixat Posted November 15, 2012 Share Posted November 15, 2012 Oh my bad, apologies. Well I guess you can use the overflow property? Link to comment https://forums.phpfreaks.com/topic/270746-adding-scrollbar-to-popup-window/#findComment-1392747 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.