Jump to content
StudioWeb Forums

Nice photo gallery

Recommended Posts

Hi everybody,


Does anyone know how this photo gallery was made?:


http://ww w.hakanphotography.com/g alleries.htm


A client wants something like that (specially the scroll bar, which I hate, by the way). But the fact the images go one after the others, with no captions or title, I really like it.





Link to post
Share on other sites

As far as the scrollbar is concerned, you can edit its width and colors with CSS for IE but for other browsers you have to use javascript. I agree that the plain gray scrollbar looks terrible.


The page has Flash files and object and nested embed code, but strangely they don't work in my Firefox even when I have enabled Javascript, so they are just plain images which I used the scrollbar to move.


I also noticed that the doctype is incomplete, it should have the url like this:-




but I'm not sure if that's why the Flash doesn't work for me.


Edit: I've had a closer look and the Flash is just for the text like "Order Prints". The images use a javascript array to place them in a long horizontal line, but I can't see why that can't be done with CSS.

Edited by Wickham
Link to post
Share on other sites

Hello again,


I finally found the js gallery I was looking for:


http://jquery fordesigners.com/slid er-gallery/


and adapted it to my needs:


http://www.pun tabahareque.com/s lideshow.html


Everything looks ok, except the little white gap between the pictures. I've been working with the css but I couldn't' find the problem. I've tried assigning 0 to all margins and paddings, but it doesn't work.





Link to post
Share on other sites

Hello again,


Well, I found a non elegant solution, but it works.


I deleted the float:left you suggested and added a margin-left: -5px


So, we have:


.sliderGallery ul li img {margin-left: -5px;}


You can see it here:


http://w ww.puntabahareque.com/slid eshow.html


Still, I'd like to know if there is a more professional o elegant solution, other than using negative margins.


Thanks again,



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...