Help with a popup window, Getting the size right.. |
![]() ![]() |
Help with a popup window, Getting the size right.. |
Dec 7 2004, 12:34 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Nov 2004 Member No: 62,714 |
http://www.xanga.com/home.aspx?user=protegechris
If you click on the picture for weather, it pops the window open, but as you see, there is white space on the top and on the left. I'd like the picture to be the only thing visible in the window, with no blank space. Is this possible? |
|
|
|
| *mona lisa* |
Dec 7 2004, 12:40 PM
Post
#2
|
|
Guest |
it looks just fine to me.
|
|
|
|
Dec 7 2004, 01:36 PM
Post
#3
|
|
![]() Um....Its meeee ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,218 Joined: Mar 2004 Member No: 8,264 |
Yes, just change the width and the height of the pop up script.
|
|
|
|
Dec 7 2004, 09:00 PM
Post
#4
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Nov 2004 Member No: 62,714 |
I changed the window to 380x250, the size of the image, and as you see, it leaves the white space there and the window is sized too small because of it.
|
|
|
|
Dec 7 2004, 09:06 PM
Post
#5
|
|
![]() :hammer: ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,849 Joined: Mar 2004 Member No: 7,700 |
..What weather link?
|
|
|
|
Dec 7 2004, 09:51 PM
Post
#6
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Nov 2004 Member No: 62,714 |
Look on the left, there is a 7 day forecast image, click that :P
|
|
|
|
Dec 7 2004, 09:57 PM
Post
#7
|
|
![]() :hammer: ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,849 Joined: Mar 2004 Member No: 7,700 |
|
|
|
|
Dec 8 2004, 12:05 AM
Post
#8
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Nov 2004 Member No: 62,714 |
I just tried that, and it does the same thing!
I'm using: CODE <!-- begin code provided by createblog.com --> <script> function openpopup(){ var popurl="http://www.ktbs.com/weather/gfx/7df.jpg" winpops=window.open(popurl,"","width=380,height=250,scrollbars,") } </script> <!-- end code provided by createblog.com --> CODE <!-- begin code provided by createblog.com -->
<a href="javascript:openpopup()"><img src="http://www.ktbs.com/weather/gfx/7df.jpg" border="0" width="222" height="160"></a> <!-- end code provided by createblog.com --> |
|
|
|
Dec 9 2004, 05:14 PM
Post
#9
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Nov 2004 Member No: 62,714 |
I know I know, No double posting.
It's been 2 days |
|
|
|
Dec 17 2004, 07:20 PM
Post
#10
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Nov 2004 Member No: 62,714 |
Anyone?
|
|
|
|
Dec 17 2004, 08:01 PM
Post
#11
|
|
![]() F a y t i s d e s t i n y ![]() ![]() ![]() ![]() Group: Member Posts: 214 Joined: Sep 2004 Member No: 49,153 |
i see what you mean about the white space, but i think it looks just fine as it is, it put like a border around it.
sorry but i can't really help you, i don't know much HTML myself |
|
|
|
![]() ![]() |