Log In · Register

 
Help with a popup window, Getting the size right..
protegechris
post 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?
 
 
Start new topic
Replies
protegechris
post Dec 8 2004, 12:05 AM
Post #2


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 -->
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: