Click to See Complete Forum and Search --> : Window Style
I was wundering if it was possible to change the border on a pop-up window I have? As you know a pop-up window has an inset border so you can tell where the window ends and the page begins. I want to change the inset to solid gray and then have my page background grey so it will look like its a prompt to the user but its really a pop-up window! I'm not sure if this can be done in javascript or even at all. If you can help me to do this I will greatly appreciate it. I will do this in any language that is possible: php, cgi, javascript, etc. Thank you. :)
I think you could do it with a script they call "Frameless Pop-up" or something. Please help me... :(
AdamGundry
07-13-2003, 01:55 PM
I think you want a "Chromeless window" script, like this one: http://www.dynamicdrive.com/dynamicindex8/chromeless.htm
Adam
P.S. Remember the W3C recommends not using popups.
like this:
http://www.codelifter.com/main/javascript/amazingframelesspopup1.html
I looked at that and it makes it so the pop-up is always full screen. I want a little window that is centered in the screen. Does anybody know how to make it so its not full screen? Thanks. :)
David Harrison
07-13-2003, 05:37 PM
Talk to Khalid Ali about that, he's made a script that opens a pop-up window in the centre of the screen.
He uses screen.availWidth and Height then subtracts the appropriate amount from them to account for the size of the window, divides that by 2 and positions the top left corner at that point.
But like I said, for the full script ask him.
Itīs not possible to do so i think, but what about an IFRAME?
Example:
<iframe src="test.htm"
width="300" height="600"
align="right" name="test" border="0" frameborder="0" style="font-family: Arial; font-size: 8pt" class="menulines" scrolling="yes";>
<p>See our <a href="test.htm">newsflashes</a>.</p></iframe></p>
</td>
David Harrison
07-13-2003, 05:48 PM
I had a look at your Dandy Group page using IE 6 (I use it by default, old habit's die hard), and I thought it was very good, but then I noticed the marquee at the top of the page so I viewed it in Opera 7 and Netscape 7, oh dear.
Here is the Opera screen shot, in Opera the marquee didn't scroll at all.
David Harrison
07-13-2003, 05:51 PM
And here is the Netscape screen shot, in Netscape it did scroll but it still looked pretty awful.