Professional Web Applications Themes

gallery page help!!!! - Macromedia Dynamic HTML

Im working on a website and I'm doing a gallery page. The gallery page has one large picture in the middle of the page and smaller thumbnails around it. I have it set up so that when you click a thumbnail it becomes enlarged in the middle of the page with the larger image becoming a thumbnail. The only problem is when you scroll to the bottum of the page and click one of the thumbnails below the larger image the page loads to the top of the new page and the viewer has to scroll down everytime that happens. ...

  1. #1

    Default gallery page help!!!!

    Im working on a website and I'm doing a gallery page. The gallery page has one
    large picture in the middle of the page and smaller thumbnails around it. I
    have it set up so that when you click a thumbnail it becomes enlarged in the
    middle of the page with the larger image becoming a thumbnail.
    The only problem is when you scroll to the bottum of the page and click one of
    the thumbnails below the larger image the page loads to the top of the new page
    and the viewer has to scroll down everytime that happens. Is there a way to
    have the new page load in the middle of the page?

    Thanks

    chichi8 Guest

  2. #2

    Default Re: gallery page help!!!!

    can you post your code
    lihaze Guest

  3. #3

    Default Re: gallery page help!!!!

    Yes the code is:

    <table width="675" border="0" align="center">
    <tr>
    <td colspan="4"><div align="center"><br>
    <strong><font size="4" face="Georgia, Times New Roman, Times,
    serif">Family/Children
    Portraits <br>
    </font></strong><br>
    </div></td>
    </tr>
    <tr>
    <td width="139">&nbsp;</td>
    <td width="184"><div align="center"><a href="family3.html"><img
    src="images/family3small.jpg" width="134" height="136" border="0"></a><br>
    <br>
    </div></td>
    <td width="193"><div align="center"><a href="family2.html"><img
    src="images/family2small.jpg" width="134" height="136" border="0"></a><br>
    <br>
    </div></td>
    <td width="141">&nbsp;</td>
    </tr>
    <tr>
    <td height="159">
    <div align="center"><a href="kids4.html"><img
    src="images/kids4small.jpg" width="134" height="136" border="0"></a></div></td>
    <td colspan="2" rowspan="2"><div align="center"><img
    src="images/family1.jpg" width="350" height="350"></div></td>
    <td><div align="center"><a href="kids3.html"><img
    src="images/kids3small.jpg" width="134" height="136" border="0"></a></div></td>
    </tr>
    <tr>
    <td height="198">
    <div align="center"><a href="kids5.html"><img src="images/kids5small.jpg"
    width="134" height="136" border="0"></a></div></td>
    <td><div align="center"><a href="kids2.html"><img
    src="images/kids2small.jpg" width="134" height="136" border="0"></a></div></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><div align="center"><br>
    <a href="family4.html"><img src="images/family4small.jpg"
    width="134" height="136" border="0"></a><br>
    </div></td>
    <td><div align="center"><br>
    <a href="kids1.html"><img src="images/kids1small.jpg"
    width="134" height="136" border="0"></a><br>
    </div></td>
    <td>&nbsp;</td>
    </tr>
    </table>

    chichi8 Guest

  4. #4

    Default Re: gallery page help!!!!

    Put an anchor where you want to the top of the page to be.

    So prob, something like this:

    <td colspan="4"><a name="topbit"></a><div align="center"><br>
    <strong><font size="4" face="Georgia, Times New Roman, Times,
    serif">Family/Children
    Portraits <br>
    </font></strong><br>
    </div></td>

    The on the links send them to the page with the anchor

    <td width="184"><div align="center"><a href="family3.html#topbit"><img
    src="images/family3small.jpg" width="134" height="136" border="0"></a><br>
    <br>
    </div></td>

    Let me know if this isn't what you mean.
    If you redid the page using javascript to change the images it would be less
    of a maintenance pain.

    lihaze Guest

  5. #5

    Default Re: gallery page help!!!!

    Call me stupid for asking but anchors are the same as bookmarks like you would use on FrontPage aren't they?
    Dugless Guest

  6. #6

    Default Re: gallery page help!!!!

    I've never used front page, but it bookmark/anchor sounds interchangeable!
    lihaze Guest

Similar Threads

  1. Gallery
    By tanktery in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 3
    Last Post: January 14th, 07:53 PM
  2. Photo Gallery help
    By SnakeFAMU in forum Dreamweaver AppDev
    Replies: 0
    Last Post: April 21st, 04:15 PM
  3. 3d gallery
    By benari in forum Macromedia Director 3D
    Replies: 14
    Last Post: July 13th, 01:20 AM
  4. Web Gallery
    By Pete D in forum Adobe Photoshop Elements
    Replies: 92
    Last Post: September 17th, 12:11 PM
  5. New gallery
    By Rob Gray in forum Photography
    Replies: 1
    Last Post: July 29th, 02:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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