Click to See Complete Forum and Search --> : Help


Corki
04-04-2007, 01:12 PM
I'm working on a website for my company, and I have hit a road block. I'm using HTML and they want the images to be lined up on the side, and then when u click on it, it will appear larger and in the middle. I'm using a table with the links on the left side, the small images on the right, and I want to have them enlarge into the middle. Is this possible? and if so what is the code?:confused:

Tweak4
04-04-2007, 02:19 PM
It depends on whether you want the enlarged images to come up within the context of the same page, or if you want them to appear in a separate one. In the case of the latter, a simple hyperlink should do the trick (or if you want to get slightly fancier and use a little php & javascript, you can submit the url of the image in question as a form field. Then on the receiving page, retrieve the url from either the GET or POST collection and display the image).

If you want them on the same page, you'll probably need to create a div that can float over the rest of you content. You can use JS to control the visibility of that div, as well as it's content.

Hopefully that will at least steer you in the right direction... try some things and post some code, and we'll go on from there...

Corki
04-04-2007, 03:02 PM
I want it to stay in the same page, but the problem is that I don't even know where to start with the coding. :(

Centauri
04-04-2007, 06:51 PM
Have a look at some of the photo gallery demos here (http://www.cssplay.co.uk/menu/index.html) - all css and NO tables...

Cheers
Graeme

Corki
04-05-2007, 10:13 AM
I don't know CSS. I only know HTML... :( can anyone help me with an html code, or a brief description of how to use another code for the one page to work?