Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default New Window Size

    I'm trying to get a window to pop up when someone clicks on the picture I've
    got the picture setup to pop up a _blank window with the enlarged photo. I get
    the new window to pop up but the window itself isn't the right size I would
    like the window to be the same size as the enlarged photo.
    Here's a link to my site:
    [url]http://www.rentageekusa.com/index2.htm[/url]
    Here's my code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
    <!-- saved from url=(0034)[url]http://rentageekusa.com/index2.htm[/url] -->
    <HTML
    xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Anna's Wedding Cakes</TITLE>
    <META http-equiv=imagetoolbar content=no>
    <STYLE type=text/css>
    BODY {
    MARGIN-TOP: 25px; BACKGROUND-IMAGE: url(Pictures/bkg.gif); MARGIN-LEFT:
    150px; BACKGROUND-COLOR: #c8c8c8
    }
    .Style1 {
    FONT-WEIGHT: lighter; FONT-SIZE: 36px; TEXT-TRANSFORM: uppercase; COLOR:
    #ffffff; FONT-STYLE: normal; FONT-FAMILY: "Times New Roman", Times, serif;
    FONT-VARIANT: normal
    }
    .Style2 {
    FONT: lighter 18px "Times New Roman", Times, serif; TEXT-TRANSFORM: none;
    COLOR: #ffffff
    }
    .Style3 {
    FONT: lighter 16px "Times New Roman", Times, serif; TEXT-TRANSFORM: none;
    COLOR: #ffffff
    }
    </STYLE>

    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
    <BODY>
    <TABLE height=1193 cellSpacing=0 cellPadding=0 width=800 border=0>
    <TBODY>
    <TR>
    <TD vAlign=center align=middle width=800 height=300>
    <TABLE id=Header cellSpacing=0 cellPadding=0 width=800 border=0>
    <TBODY>
    <TR>
    <TH scope=col width=250 height=300><img id=Logo height=300 alt=""
    src="http://www.rentageekusa.com/pictures/logo.jpg" width=246
    name=Logo></TH>
    <TH class=style2 scope=col width=377 height=300> <TABLE
    height=250 width=300 border=0>
    <TBODY>
    <TR>
    <TD class=Style1 vAlign=center align=middle height=60><div
    align="center">Anna's
    Wedding Cakes </div></TD></TR>
    <TR>
    <TD class=Style2 vAlign=center align=middle><div
    align="center">Professional
    Licensed Home Bakery </div></TD></TR>
    <TR>
    <TD class=Style3 vAlign=center align=middle><div
    align="center">Mankato, MN, 56001 </div></TD></TR>
    <TR>
    <TD class=Style2 vAlign=center align=middle><div
    align="center">Ph: 507-345-7432 </div></TD></TR>
    <TR>
    <TD class=Style2 vAlign=center align=middle><div
    align="center">Serving Southern
    Minnesota </div></TD></TR></TBODY>
    </TABLE></TH>
    <TH scope=col width=250 height=300><IMG id=Logo height=300 alt=""
    src="http://www.rentageekusa.com/pictures/logo.jpg" width=246
    name=Logo></TH>
    </TR></TBODY></TABLE>
    <TABLE height=50 width=800 align=center border=0>
    <TBODY>
    <TR>
    <TD class=Style3 vAlign=center align=middle height=21><div
    align="center">Mankato</div></TD>
    <TD class=Style3 vAlign=center align=middle><div align="center">St.
    Peter </div></TD>
    <TD class=Style3 vAlign=center align=middle><div align="center">New
    Ulm </div></TD>
    <TD class=Style3 vAlign=center align=middle><div
    align="center">Owatonna</div></TD>
    <TD class=Style3 vAlign=center align=middle><div
    align="center">Waseca</div></TD>
    <TD class=Style3 vAlign=center align=middle><div
    align="center">Belle Plaine </div></TD>
    <TD class=Style3 vAlign=center align=middle><div
    align="center">Hutchinson</div></TD>
    <TD class=Style3 vAlign=center align=middle><div
    align="center">Fairmont</div></TD>
    <TD class=Style3 vAlign=center align=middle><div
    align="center">Faribault</div></TD>
    <TD class=Style3 vAlign=center align=middle><div align="center">Blue
    Earth </div></TD>
    <TD class=Style3 vAlign=center align=middle><div align="center">St.
    Cloud
    </div></TD></TR></TBODY></TABLE></TD></TR>
    <TR>
    <TD><table width="800" height="360" border="1">
    <tr>
    <td width="262" height="25" class="Style2"><div align="center">Apple
    Blossom </div></td>
    <td width="322" height="25" class="Style2"><div
    align="center">Chocolate Dream </div></td>
    <td width="194" height="25" class="Style2"><div align="center">Lattice
    of Love </div></td>
    </tr>
    <tr>
    <td width="262" height="300"><a
    href="http://www.rentageekusa.com/pictures/ab.jpg" target="_blank"><img
    src="http://www.rentageekusa.com/pictures/absmall.jpg" alt="" name="cake"
    width="262" height="300" border="0"></a></td>
    <td width="322" height="300"><a
    href="http://www.rentageekusa.com/pictures/cd.jpg"><img
    src="http://www.rentageekusa.com/pictures/cdsmall.jpg" alt="" name="cake"
    width="262" height="300" border="0"></a></td>
    <td width="194" height="300"><a
    href="http://www.rentageekusa.com/pictures/lol.jpg"><img
    src="http://www.rentageekusa.com/pictures/lolsmall.jpg" alt="" name="cake"
    width="262" height="300" border="0"></a></td>
    </tr>
    <tr class="Style2">
    <td width="262" height="25"><div align="center">Majetic Column
    </div></td>
    <td width="322" height="25"><div align="center">Top of Pearls
    </div></td>
    <td width="194" height="25"><div align="center">Winter Snowflake
    </div></td>
    </tr>
    <tr>
    <td width="262" height="300"><a
    href="http://www.rentageekusa.com/pictures/mc.jpg"><img
    src="http://www.rentageekusa.com/pictures/mcsmall.jpg" alt="" name="cake"
    width="262" height="300" border="0"></a></td>
    <td width="322" height="300"><a
    href="http://www.rentageekusa.com/pictures/top.jpg"><img
    src="http://www.rentageekusa.com/pictures/topsmall.jpg" alt="" name="cake"
    width="262" height="300" border="0"></a></td>
    <td width="194" height="300"><a
    href="http://www.rentageekusa.com/pictures/ws.jpg"><img
    src="http://www.rentageekusa.com/pictures/wssmall.jpg" alt="" name="cake"
    width="262" height="300" border="0"></a></td>
    </tr>
    </table></TD>
    </TR>
    <TR>
    <TD vAlign=top align=left width=800 height=235>&nbsp;
    <TABLE height=150 cellSpacing=0 cellPadding=0 width=800 border=0>
    <TBODY>
    <TR>
    <TH scope=col height=216>
    <DIV class=Style2 align=left>
    <P>To compliment your celebration, I would like to help you choose
    from a selection of beautiful and delicious wedding cakes. From
    elaborate to simple but always elegant. A true reflection of you
    and
    your wedding day. Phone for a free consultation with Anna.</P>
    <P align=center>Discover the large range of options for flavors,
    fillings, techniques, and construction.</P>
    <P align=center>Request and enjoy a taste of Anna's most popular
    flavors.</P>
    <P align=center>Professionally home baked, decorated and
    delivered.</P>
    <P align=center>Brochure and information
    available.</P>
    <P align=center>Copyright 2005 Anna's Wedding Cakes </P>

    </DIV></TH></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>


    G33kman Guest

  2. Similar Questions and Discussions

    1. Window size
      What sets the default size of a newly opened window. When I open a new browser window, it is half size vertically and I can't figure out how to...
    2. Re-Size Window
      G5 - Dual 2Gb OS X (10.3.2) Photoshop CS Might be a silly question - but I've searched in vain for a way to re-size the window and have it STAY...
    3. Movie Window size to big
      I have a great big screen on my laptop so I have made a projector with a movie window size of 800*600. Of course this is too big for some displays...
    4. Window Size/ alternative window size
      I have created a site using a 1024x768 screen size, as this is the deafault for my moniter. Is there a quick way of changing the size to 800x600,...
    5. Window Size Disabled?
      Many thanks to Alan Ames for the quick response to my previous question. It's probably already obvious that I'm a newbie. In fact I'm going through...
  3. #2

    Default Re: New Window Size

    My method for doing something like this is:


    onClick="window.open('','newwin','width=450,height =600,left=200,top=10')"href="p
    ix-html/hangingplants.html"

    I make an html page for each picture so I can control what you see. (caption,
    background, whatever) You control the width and height of the window as well as
    the placement this way.

    here's the html page it's from:

    [url]http://www.concordart.org/exhibitions/0511[/url] Beyond Categories/frame-pix.html

    (I know... spaces in the title... bad form. Copy and paste the line)

    RikPierce Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139