I created simple image switcher gallery, without any JavaScript. And it works in most browsers: MAC: FF, Safari; PC: FF, GChrome, IE 7/8 (IE6 doesn't support).
.gallery-wrapper a span { position: absolute; /* This is necessary, for our Links position */ width: 150px; /* This width is half of our Image width */ background: #333; }
.one span { /* First link position */ left: 0; bottom: -30px; } .two span { /* Second link position */ left: 150px; bottom: -30px; } .three span { /* Third link position */ left: 0; bottom: -60px; } .four span { /* Fourth link position */ left: 150px; bottom: -60px; }
.gallery-wrapper a:hover { /* This is necessary, for image roll-over */ z-index: 2; } .gallery-wrapper a:hover span { background: #eee; } </style>
And here is video tutorial how to create small image gallery CSS only:
Adobe Flash Player not installed or older than 9.0.115!