The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> document.getElementById, Need help in coding "document.getElementById" codes
bjcombs
post Sep 9 2007, 03:30 PM
Post #1





Group: Members
Posts: 7
Joined: 6-September 07
Member No.: 3,738



This code i have basically creates a photoalbum. I want to do the same concept idea but with Text (ie. Name of a person) instead of a thumbnail, and when clicked on i want A: Text to appear, or B: a image to appear.

I have a example of the photoalbum on this page: http://woah.a.avalible.address.googlepages.com

please review and let me know. Thanks.

<div style="TEXT-ALIGN: center" closure hashCode>
<div id="viewPort" style="OVERFLOW-Y: scroll; FLOAT: left; OVERFLOW-X: hidden; WIDTH: 240px; HEIGHT: 400px; a: " closure hashCode>
<table cellpadding="0" border="0" closure hashCode><tbody closure hashCode><tr closure hashCode><td nowrap closure hashCode><br><br><img onclick="document.getElementById('template1').src='THUMBNAIL URL'" tabindex="0" src="URL of BIG IMAGE" closure hashCode GALLERYIMG="no"><br>
</td></tr></tbody></table>
</div>
</div>
<p style="TEXT-ALIGN: center"></p>
<br>
<p style="TEXT-ALIGN: center" closure hashCode><img id="bigpic" style="BORDER-RIGHT: black 6px solid; BORDER-TOP: black 6px solid; BORDER-LEFT: black 6px solid; BORDER-BOTTOM: black 6px solid" tabindex="0" height="291" alt="PhotoAlbum" src="image9.jpg/image9-large.jpg" width="388" closure hashCode closure hashCode GALLERYIMG="no"><br></p>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 03:14 AM