PDA

View Full Version : editing a webgallery?


minpot
10-18-2007, 06:30 AM
I have this:

http://www.louiscohenwatercolors.com/gallery1/gallery1.htm

and i wish to have this:
http://www.huarahuara.cl/artistas2.php?id=55&artista=ximenaducci&nom=Ximena%20Ducci&foto=5

The principle of both galleries is the same.
I know i need to learn basic html and /or css, but where do i go to learn it?

Is there any "easy" tips so i could edit size, backgrounds, etc. of my webgallery i have so it can be smaller on my page?
If I paste code here, can u tell me where to edit?

Thanks for ADVISES ! ! !! ! ! !

chriskq
10-18-2007, 01:05 PM
ur actually looks alot nicer than the other one, u just gotta find a way of loading the images in a nicer way and quicker.

heres some food for thought
http://www.cssplay.co.uk/menu/art_gallery
http://www.huddletogether.com/projects/lightbox/

cud use a loading gif while the art images load
http://www.ajaxload.info/

edbr
10-19-2007, 02:39 AM
i agree with chris, yours looks better.
sure post the code

minpot
10-19-2007, 03:03 AM
Well thanks. But i want to be able to set mine to a smaller size, not only the size of the photos but the size of the window where the big photo opens, change to a black background, for example. . . . . .
I added my banner and navigation buttons .
Thanks. Looking forward to be able to make changes :-D

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Louis Cohen Watercolors</title>
<META name="generator" content="Adobe Photoshop(R) CS Web Photo Gallery">
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="images/galleryStyle.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url("../stylesheet_04.css");
body {
background-image: url(../images/FONDO_degradado.jpg);
margin-top: 0px;
}
.style1 {
color: #333333;
font-weight: bold;
}
.style10 { font-size: 12px;
color: #333333;
}
.style9 { color: #ECE9D8;
font-size: 12px;
}
.style2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
.style7 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
a:link {
color: #ffffff;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: underline;
color: #660066;
}
a:active {
text-decoration: none;
}
#Layer1 {
position:absolute;
left:1000px;
top:205px;
width:17px;
height:14px;
z-index:1;
}
#Layer2 {
position:absolute;
left:1014px;
top:392px;
width:18px;
height:16px;
z-index:2;
}
#Layer3 {
position:absolute;
width:77px;
height:24px;
z-index:3;
left: 1012px;
top: 408px;
}
.style11 {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #333333;
}
.style13 {font-size: 9px}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>