Help Me With My Banner Please

Discussion in 'HTML & Website Design' started by ComicStix, Jul 10, 2010.

  1. #1
    So here's my website:
    My Website

    I made this at camp and I was actually satisfied with it so I wanted to put it online. One problem, whenever you expand the page the banner only stays one size. So when you push your window in it goes over the page and when you extend your web browser window to the max the image doesn't cover the whole page. I want it to be so that it expands and shrinks with the page depending on how the viewer has their window stretched. Help would be appreciated. :cool:
     
    ComicStix, Jul 10, 2010 IP
  2. anderson1234

    anderson1234 Peon

    Messages:
    153
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey dear yo have to use the javascript code to use this functionality... Here this is....

    <HTML>
    <HEAD>
    <TITLE>The Image Gallery</TITLE>
    <script language="Javascript">
    function PopupPic(sPicURL) {
    window.open( "popup.htm?"+sPicURL, "",
    "resizable=1,HEIGHT=200,WIDTH=200");
    }
    </script>
    </HEAD>
    <BODY bgcolor="#FFFFFF">
    <a href="javascript:popupPic('Image1.gif')">Image 1</a><br>
    <a href="javascript:popupPic('Image2.gif')">Image 2</a><br>
    <a href="javascript:popupPic('Image3.gif')">Image 3</a><br>
    </BODY>
    </HTML>
     
    anderson1234, Jul 12, 2010 IP