SO fiddle

Test Fiddle mainly for SO Questions

by Nick Craver

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
<div id="main">
    <div id="masthead">
        <a href="#">click</a> </div>
    <div id="top_nav">
        <a href="http://www.google.pl">Start</a> <a href="http://www.google.pl">
        Opis</a> <a href="http://www.google.pl">Projekty</a>
        <a href="http://www.google.pl">Zdjecia</a>
        <a href="http://www.google.pl">Linki</a> <a href="http://www.google.pl">
        Kontakt</a> </div>
    <div id="content">
    <div id="textfield"> <p>Profesjonalny web design. </p>
    <span id="left"><a href="#">&#8592;</a></span>
    <span id="right"><a href="#">&#8594;</a></span>
    </div>
    <img id="second" src="http://dummyimage.com/164x120/000/fff&text=Test+Image" alt="model" />
    <img id="third" src="http://dummyimage.com/164x120/000/fff&text=Test+Image" alt="model" />
    <img id="fourth" src="http://dummyimage.com/164x120/000/fff&text=Test+Image" alt="model" />
    <img id="first" src="http://dummyimage.com/164x120/000/fff&text=Test+Image" alt="model" />
    </div>
    <div id="box"></div>
</div>
<div id="blackb"></div>

CSS

body {
    margin: 0;
    padding: 0;
    font-family: Verdana;
    background: silver url(bodygrad2.jpg) fixed;;
}
#main {
    width: 1280px;
    margin: 0 auto;
    padding-bottom: 10px;
}
#masthead {
    height: 40px;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(gray), to(black));
    opacity: 0.3;
    margin-bottom: 4px;
    color: white;
    text-align: center;
    padding-top: 20px;
}
#masthead a{
    color: white;
    display: block;
    text-decoration: none;
}
#masthead a:hover{
    color: #FFFF66;
    display: block;
    text-decoration: none;
}

#top_nav {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid #BFBB04;
}
#top_nav a {
    text-decoration: none;
    color: #a7a236;
    font-family: GraublauWeb; /* "Brush Script Std"; */
    font-size: 120%;
    padding: 0 5px;
}
#top_nav a:hover {
    color: #cfc944;
}
#content {
    height: 20px;
    width: 1px;
    background: gray url(content.jpg) 0 0 no-repeat;
}
#content div#textfield{
    display: none;
    position: absolute;
    top: 15%;
    right: 104px;
    width: 310px;
    height: 200px;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    background: #484B55;
    color: #CCCCCC;
    opacity: 0.5;
    z-index: 9;
}
#content div#textfield p{
    margin: 10px;
}
#content span#left{
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}
#content span#right{
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
}
#content span a{
    text-decoration: none;
    color: #CCCCCC;
}
#content img {
    position: absolute;
    top: 50%;
    right: 50%;
    width: 160px;
    height: 116px;
    border: 2px solid white;
    z-index: 10;
}
#content img:hover {
    width: 164px;
    height: 120px;
    opacity: 0.9;
    z-index: 12;
}
#content img.clicked {
    z-index: 11;
}
#content img#second {
    right: 35%;
}
#content img#third {
    right: 20%;
}
#content img#fourth {
    right: 5%;
}
#footer {
    position:...

JavaScript

$(function() {
  $("#content img").click(function() {
    $(this).addClass('clicked').siblings('img').removeClass('clicked');
  });
});