Automatisk galleri vha JS og CSS
Nu har jeg skrevet dette her spørgsmål en gang før på en engelsk side, og derfor poster jeg det her igen også på engelsk. (længe leve de dovne) :PHey
I need someone to help me. I need some kind of image-gallery script like this:
http://www.dynamicdrive.com/dynamici...box2/index.htm
or
http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm
But i need it to be "automatic", so that if I through my CSS, makes the table cell activate the script to the images that might get insertet there.
The table might look something like this:
Code:
<table width="100" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top" class="thumbnail"><img src="images/pic1.jpg" width="100" height="100"> <img src="images/pic2.jpg" width="100" height="100"></td>
</tr>
</table>
I know this might not be a possibility, but if the javascript or class automatically could make the links to the bigger pictures (ex. pic1_big.jpg) so that it would open the big picture and not the thumbnail. And it should also create the link it self..
So if my client uploads a new picture (ex. pic3.jpg and pic3_big.jpg) it automatically makes it a part of the script, because the CSS and JS adds it into the script automatically...
Anybody who can make this sort of script or ??
Thanks in advance!
-----
Hvis der ikke var nogen der forstod det, så går det i bund og grund ud på om man vha. JS og CSS kan gøre sådan, så hvis man ligger et nyt billede op, kommer det automatisk ind i galleriet, uden man tilføjer link osv...
