Is there an html code for?

HTML Code for overlay images in a website gallery in notepad?

  • I have gone to many websites that have the html code to overlay images in HTML code for a website. Does anyone know the html code to overlay a gallery image in the same window like in these websites? It confuses me . http://www.nickstakenburg.com/projects/lightview/ http://lokeshdhakar.com/projects/lightbox2/ If you click on the pictures in those websites, thats the code i want. My HTML right now looks like this: <html> <head><title>Gallery</title></head> <body bgcolor="black" background="pics/kb_snakeskin_bg_bigger.… style+"background-attachment: fixed;"> <!-- Hidden msg to self --> <table align="center" width="850" height="100%" border="1" bordercolor="blue" cellpadding="0" cellspacing="0" bgcolor="grey"> <tr> <td align="center" height="125"> <img src="pics/kobe_banner.gif"></td> </tr> <tr> <td align="center" height="40"> <a href="mm_index.html"> <img src="pics/home_button.gif" border="0"></a> <a href="mm_one_column.html"> <img src="pics/button_bio.gif" border="0"></a> <a href="mm_two_column.html"> <img src="pics/button_sponsors.gif" border="0"></a> <a href="mm_three_column.html"> <img src="pics/button_achievements.gif" border="0"></a> <a href="mm_gallery.html"> <img src="pics/button_gallery.gif" border="0"></a> </td> </tr> <tr> <td valign="top" style="padding: 10px;"> <!-- Start of Inner Table for my Gallery --> <table width="100%" height="100%" border="1" bgcolor="grey" bordercolor="blue" cellpadding="0" cellspacing="0"> <tr> <td width="33%" align="center"> <a href="pics/kb_40.jpg"> <img src="pics/kb_thumb_1.jpg" border="0"></a> </td> <td width="33%" align="center"> <a href="pics/kb_19.jpg"> <img src="pics/kb_thumb_10.jpg" border="0"></a> </td> <td width="33%" align="center"> <a href="pics/kb_5.jpg"> <img src="pics/kb_thumb_3.jpg" bgcolor="blue" border="0"></a> </td> </tr> <tr> <td width="33%" align="center"> <a href="pics/kb_32.jpg"> <img src="pics/kb_thumb_4.jpg" border="0"></a> </td> <td width="33%" align="center"> <a href="pics/kb_27.jpg"> <img src="pics/kb_thumb_5.jpg" border="0"></a> </td> <td width="33%" align="center"> <a href="pics/kb_33.jpg"> <img src="pics/kb_thumb_6.jpg" border="0"></a> </td> </tr> <tr> <td width="33%" align="center"> <a href="pics/kb_20.jpg"> <img src="pics/kb_thumb_7.jpg" border="0"></a> </td> <td width="33%" align="center"> <a href="pics/kb_11.jpg"> <img src="pics/kb_thumb_8.jpg" border="0"></a> </td> <td width="33%" align="center"> <a href="pics/kb_16.jpg"> <img src="pics/kb_thumb_9.jpg" border="0"></a> </td> </tr> </table> <!-- End of the Inner --> </td> </tr> <tr> <td align="center" height="40"> <b> © 2012 - (Name) - ® </b> </td> </tr> </table> </body> </html> I made it in notepad. from the <td width all the way to </td> is one thumbnail. It looks fine for what i need it to look for my project but I want to click the thumbnails so it will open up to overlay images. I am a freshman in High School trying to get good grades so please help me. Thank you

  • Answer:

    They use JQuery and either something like Lightbox 2 or Shadowbox: Lightbox 2: http://www.huddletogether.com/projects/lightbox2/ Shedding Some Light on Lightbox: http://www.webreference.com/programming/javascript/Lightbox/ VisualLightBox is a free wizard program that helps you easily generate online photo albums, lightbox gallery with a nice Lightbox-style overlay effect, in a few clicks without writing a single line of code: http://lightbox2.com/lightbox2-how.html Lightbox image viewer 2.03a: http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm Shadowbox (Like Lightbox): http://www.shadowbox-js.com/ Ron

Stanley at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.