Setting the size of a popup window
grumbleputty
15 Jan 2023, 06:30I'm trying to use JS.ShowPopup to have an image pop up as an overlay. I have the following script as part of the item's Look script, and it works perfectly- but it pops up much smaller than the<div>
s I'm loading into it, and nothing I've tried so far will resize it.
Anyone know what I'm missing here?
JS.showPopup ("newspaper", ProcessText("<div class='container'><center><img src='" + GetFileURL("newspaper.png") + "' style='float:left;width:512px;'><div class='paper-date'>"+Date()+" "+"</div><div class = 'centered'>"+headline+ "<div class ='photo'><img src='" + GetFileURL("train wreck.jpg") + "' style='float:center;width:175px;'></div></div><div class='top-right'>"+sub1+"</div></center></div>"))