December 11, 200916 yr The people I am making a website for have decided to be extremely awkward about their photo galleries. I have almost finished their site and have shown them it, and they are very happy aside from the photos. I created the galleries in the photo gallery generator, which they didn't like as they wanted the photos be in the main div so it didnt change the look of the site. They have told me that they want a thumbnail gallery for each job, and when you click on an image that you want to see, it zooms out of the thumbnail toward the screen. I understand almost anything is possible when it comes to exoensive web programmes, but are there any ways of achieving this without it costing anything.
December 11, 200916 yr Sounds like you just need some kind of lightbox feature; its free - just google lightbox (first result i got - http://leandrovieira.com/projects/jquery/lightbox/)
December 11, 200916 yr Hi, I guess you don't use flash do you. You probably don't have time to learn it with this particular project but you might want to think about it for the future - it gives you a lot of scope to achieve what you need. What size gallery are you talking about - how many images? If you have Flash installed I could send you some very useful code. I was in the situation you're in now a couple of years ago so I understand how you feel. Best, Jo
December 11, 200916 yr Author I don't use flash, allthough I am aware of the concept. Thing is, my Dad has made a flash site and when I showed the people I am making a site for my Dad's link, it didn't work on their computer. can you send me some code anyway? private message me? I've got all weekend to crack it as I really need toget paid by next friday.
December 11, 200916 yr Is it lightbox you want? It's all over the web these days. Link:Lightbox. Edit: Sorry I didn't read all the posts!
December 12, 200916 yr Hi, Can you put a jpeg of the layout online - showing where the thumbnails and main image should appear. Also, if you give me the sizes (height and width) of the thumbnails and the enlarged image I might be able to put together something useful for you pretty quick. But need to see layout to supply relevant code. To be honest, you might be quicker with the free lightbox. But does that fit in with your layout. Also, sounds like your clients don't have flash installed in their browser. That's a big obstacle obviously unless they're willing to install. Jo
December 12, 200916 yr http://orderedlist.com/demos/fancy-zoom/ sounds bang on what you need, a lightbox but with the zoom effect
December 14, 200916 yr Author The Script is as follows: CSS /* Design by Free CSS Templates http://www.freecsstemplates.org'>http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License */ body { background: #000000; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 11px; color: #E7E7E7; } h1, h2, h3 { margin: 0; padding: 0; font-family: Georgia, "Times New Roman", Times, serif; color: #FFFFFF; } h1 { font-size: 34px; } h2 { margin-bottom: 10px; padding: 0 0 22px 0; font-size: 24px; background: #000000 url(images/img3.gif) repeat-x left bottom; } h3 { padding: 0 0 22px 0; font-size: 13px; background: #000000 url(images/img3.gif) repeat-x left bottom; } p { margin-top: 0; text-align: justify; line-height: 160%; } ul.cssMenu ul{display:none} ul.cssMenu li:hover>ul{display:block} ul.cssMenu ul{position: absolute;left:-1px;top:98%;} ul.cssMenu ul ul{position: absolute;left:98%;top:-2px;} ul.cssMenu,ul.cssMenu ul { margin:0px; list-style:none; padding:0px 2px 2px 0px; background-color:#000000; background-repeat:repeat; border-color:#cccccc #111111 #111111 #cccccc; border-width:1px; border-style:solid; } ul.cssMenu table {border-collapse:collapse}ul.cssMenu { display:block; zoom:1; float: left; } ul.cssMenu ul{ width:155.4px; } ul.cssMenu li{ display:block; margin:2px 0px 0px 2px; font-size:0px; } ul.cssMenu a:active, ul.cssMenu a:focus { outline-style:none; } ul.cssMenu a, ul.cssMenu li.dis a:hover, ul.cssMenu li.sep a:hover { display:block; vertical-align:middle; background-color:#000000; border-width:1px; border-color:#000000; border-style:solid; text-align:left; text-decoration:none; padding:2px 5px 2px 10px; _padding-left:0; font:14px Arial; color: #FFFFFF; text-decoration:none; cursor:default; } ul.cssMenu span{ overflow:hidden; } ul.cssMenu li { float:left; } ul.cssMenu ul li { float:none; } ul.cssMenu ul a { text-align:left; white-space:nowrap; } ul.cssMenu li.sep{ text-align:left; padding:0px; line-height:0; height:100%; } ul.cssMenu li.sep span{ float:none; padding-right:0; width:0px; height:100%; display:inline-block; background-color:#cccccc #111111 #111111 #cccccc; background-image:none;} ul.cssMenu ul li.sep span{ width:100%; height:3px; } ul.cssMenu li:hover{ position:relative; } ul.cssMenu li:hover>a{ background-color:#00ff00; border-color:#000000; border-style:solid; font:14px Arial; color: #FFFFFF; text-decoration:none; } ul.cssMenu li a:hover{ position:relative; background-color:#00ff00; border-color:#000000; border-style:solid; font:14px Arial; color: #FFFFFF; text-decoration:none; } ul.cssMenu li.dis a { color: #666 !important; } ul.cssMenu img {border: none;float:left;_float:none;margin-right:2px;width:16px; height:16px; } ul.cssMenu ul img {width:16px; height:16px; } ul.cssMenu img.over{display:none} ul.cssMenu li.dis a:hover img.over{display:none !important} ul.cssMenu li.dis a:hover img.def {display:inline !important} ul.cssMenu li:hover > a img.def {display:none} ul.cssMenu li:hover > a img.over {display:inline} ul.cssMenu a:hover img.over,ul.cssMenu a:hover ul img.def,ul.cssMenu a:hover a:hover ul img.def,ul.cssMenu a:hover a:hover a:hover ul img.def,ul.cssMenu a:hover a:hover img.over,ul.cssMenu a:hover a:hover a:hover img.over,ul.cssMenu a:hover a:hover a:hover a:hover img.over{display:inline} ul.cssMenu a:hover img.def,ul.cssMenu a:hover ul img.over,ul.cssMenu a:hover a:hover ul img.over,ul.cssMenu a:hover a:hover a:hover ul img.over,ul.cssMenu a:hover a:hover img.def,ul.cssMenu a:hover a:hover a:hover img.def,ul.cssMenu a:hover a:hover a:hover a:hover img.def{display:none} ul.cssMenu a:hover ul,ul.cssMenu a:hover a:hover ul,ul.cssMenu a:hover a:hover a:hover ul{display:block} ul.cssMenu a:hover ul ul,ul.cssMenu a:hover a:hover ul ul{display:none} ul.cssMenu span{ display:block; background-image:url(./images/arr_white.gif); background-position:right center; background-repeat: no-repeat; padding-right:12px;} ul.cssMenu li:hover>a>span{ background-image:url(./images/arrv_white.gif); } ul.cssMenu a:hover span{ _background-image:url(./images/arrv_white.gif)} ul.cssMenu ul span,ul.cssMenu a:hover table span{background-image:url(./images/arr_white.gif)} a { color: #Ffffff; } a:hover { text-decoration: underline; } .list { margin: 0; padding: 0; list-style: none; } .list li { padding: 5px 0; background: url(images/img5.gif) repeat-x; } .list li.first { background: none; } /* Header */ #header { width: 850px; margin: 0 auto; padding: 40px 0 0 13px; height: 90px; background: url(images/img1.gif) repeat-x left bottom; } #header h1 { float: left; } #header h2 { display: none; } #header ul { float: right; margin: 0; padding: 15px 0 0 0; list-style: none; } #header li { display: inline; } #header a { display: block; float: left; padding: 0 14px 0 20px; background: url(images/img2.gif) no-repeat left center; text-decoration: none; color: #FFFFFF; } #header a:hover { text-decoration: underline; } #header .first a { background: none; } /* Content */ #content { width: 850px; margin: 0 auto; } #colTwo { float: left; width: 394px; padding: 10px 10px 10px 10px; border:1px dotted #00ff00; } #colone { float: left; width: 394px; padding: 10px 10px 10px 10px; border:1px dotted #00ff00; } #colfour { float: left; width: 750px; padding: 10px 10px 10px 10px border:1px dotted #00ff00; } /* Footer */ #footer { clear: both; width: 694px; margin: 0 auto; padding: 30px 0 0 0; } #footer p { padding: 20px 0 0 0; background: url(images/img4.gif) repeat-x; text-align: center; color: #8A8A8A; } HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- Design by Free CSS Templates http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>McCarthy (Contractors) SW Limited</title> <meta content="Render, Plaster, Builder, South West, Contractors, Devon, " name="keywords" /> <meta content="Contractors" name="description" /> <link href="default.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .style1 { font-size: xx-large; font-family: Arial, Helvetica, sans-serif; margin-top: 0; } .style2 { text-align: center; } .style3 { font-size: medium; } .style5 { font-size: large; color: #FF0000; } body *{line-height:1.22em} .style7 { color: #FFFFFF; } .style9 { color: #00FF00; } .style11 { font-family: Eurostile; } .style13 { color: #FF0000; font-size: medium; } a { color: #FFFFFF; } a:visited { color: #FFFFFF; } a:active { color: #FFFFFF; } a:hover { color: #FFFFFF; } .style16 { margin-bottom: 0; } .style17 { text-align: center; font-size: small; } .style18 { color: #FFFFFF; font-size: medium; font-family: Arial, Helvetica, sans-serif; } .style20 { text-decoration: none; } .style21 { font-family: Arial, Helvetica, sans-serif; } </style> </head> <body> <div id="header" style="width: 835px" class="style16"> <h1 style="width: 365px; height: 89px" class="style1"><span class="style9">Mc</span>Carthy (Contractors) <span class="style1">SW Limited</span></h1> <h2 class="style11">Menu</h2> <ul class="cssMenu cssMenum"> <li class=" cssMenui"><a href="index.html">Home</a></li> <li class=" cssMenui"><a class=" cssMenui" href="#"><span>Services</span><![if gt IE 6]></a><![endif]><!--[if lte IE 6]><table><tr><td><![endif]--> <ul class=" cssMenum"> <li class=" cssMenui"><a class=" cssMenui" href="external.html">External</a></li> <li class=" cssMenui"><a class=" cssMenui" href="throughcolour.html">Through Colour Renders</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--></li> <li class=" cssMenui"><a class=" cssMenui" href="products.html">Products</a></li> <li class=" cssMenui"><a class=" cssMenui" href="#"><span>Contact</span><![if gt IE 6]></a><![endif]><!--[if lte IE 6]><table><tr><td><![endif]--> <ul class=" cssMenum"> <li class=" cssMenui"><a class=" cssMenui" href="contactus.html">Contact Details</a></li> <li class=" cssMenui"><a class=" cssMenui" href="enquiry.html">General Enquiry</a></li> <li class=" cssMenui"><a class=" cssMenui" href="subenq.html">Subcontractor Enquiry</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--></li> </ul> </div> <div id="content"> <h3 class="style2"> <img alt="" height="245" src="img16.jpg" width="849" /></h3> <div id="colTwo" style="width: 260px; height: 325px;" class="style23"> <strong> <span class="style13">Company Projects<br /> </span> </strong> <span class="style18"><a class="style20" href="wilson.html">David WIlson Homes</a><br /> <a class="style20" href="gloss.html"target="_blank">Glossbrook</a><br /> <a class="style20" href="linden.html"target="_blank">Linden Homes</a><br /> <a class="style20" href="mcalpine.html"target="_blank">Sir Robert McAlpine</a><br /> <a class="style20" href="midas.html"target="_blank">Midas Construction</a><br /> <a class="style20" href="morgan.html"target="_blank">Morgan Ashurst</a><br /> <a class="style20" href="paulcompton.html"target="_blank">Paul Compton</a><br /> <a class="style20" href="premier.html"target="_blank">Premier Construction</a><br /> <a class="style20" href="marine.html"target="_blank">Marine Palms</a></span></div> <div id="colone" style="width: 545px; height: 325px;"> <span class="style5">McCarthy (Contractors) SW Limited</span><span class="style3"><p class="style21"> <font size="3"><span class="style7">McCarthy (Contractors) SW Limited has been established since 2001. Formerly McCarthy and Sons (Contractors) Limited which had been established for over thirty years by Tony McCarthy. We specialise in all External Through Coloured & Insulated Render Systems and can also offer extensive estimating and surveying services. We work throughout the South of England and have also undertaken extensive projects in Jersey, Guernsey and Bermuda.</span></font></p> <p style="height: 103px" class="style21"><font size="3"><span class="style7">As well as the rendering side of the company we also have our own development business specializing in the construction and sale of high quality apartments. The managing director and contracts manager responsible for this is Sean McCarthy.</span></font></p> </span></div> <div id="colfour" style="width: 848px; height: 96px;"> <br /> <!-- HTML codes by Quackit.com --> <marquee behavior="scroll" direction="left"><img src="images/bellway.jpg" width="100" height="75"/><a> </a><img src="images/bam.jpg" width="100" height="75"/><a> </a><img src="images/bloor.jpg" width="100" height="75"/><a> </a><img src="images/bluestone.jpg" width="100" height="75"/><a> </a><img src="images/bourntex.jpg" width="100" height="75"/><a> </a><img src="images/churchill.jpg" width="100" height="75"/><a> </a><img src="images/costain.jpg" width="100" height="75"/><a> </a><img src="images/crest.jpg" width="100" height="75"/><a> </a><img src="images/ecotrust.jpg" width="100" height="75"/><a> </a><img src="images/jarvis.jpg" width="100" height="75"/><a> </a><img src="images/kier.jpg" width="100" height="75"/><a> </a><img src="images/leadbitter.jpg" width="100" height="75"/><a> </a><img src="images/linden.jpg" width="100" height="75"/><a> </a><img src="images/mansell.jpg" width="100" height="75"/><a> </a><img src="images/mcstone.jpg" width="100" height="75"/><a> </a><img src="images/midas-group.jpg" width="100" height="75"/><a> </a><img src="images/morgan.jpg" width="100" height="75"/><a> </a><img src="images/pearce.jpg" width="100" height="75"/><a> </a><img src="images/pollard.jpg" width="100" height="75"/><a> </a><img src="images/rok.jpg" width="100" height="75"/><a> </a><img src="images/sirrobert.jpg" width="100" height="75"/><a> </a><img src="images/tw.jpg" width="100" height="75"/><a> </a></marquee><p class="style17"> Some of the companies we have worked for</p> </div> </div> <div id="footer" style="width: 848px; height: 57px;"> <p class="style2">Copyright © 2009 McCarthy</p> <br> </div> </body> </html> The site can be found on westcountrydental.angelfire.com. I want the photographs to be contained within div 1. Also, how do I tidy up the drop down box so the black box covers all the writing? Thanks
Create an account or sign in to comment