1 reply [Last post]
hilarylaw
hilarylaw's picture
Offline
newbie
Australia
Last seen: 6 years 26 weeks ago
Australia
Timezone: GMT+10
Joined: 2015-05-30
Posts: 2
Points: 4

<?php
	include"header.inc.php";
?>
<div id="gap"><h1></h1></div>
<!--top part of a masseuse's photo change-->
<div id="images">
	<img id="image1" src="1.png" />
	<img id="image2" src="1a.png" />
	<img id="image3" src="1b.png" />
	<img id="image4" src="1c.png" />
</div>
 
<div id="slider" align="center">
	<a href="#image1"><img src="1.png" /></a>
	<a href="#image2"><img src="1a.png" /></a>
	<a href="#image3"><img src="1b.png" /></a>
	<a href="#image4"><img src="1c.png" /></a>
 
</div>

#images 	{margin-top: 150px;
			width: 400px;
    		height: 400px;
    		overflow: hidden;
    		position: relative;
    		margin: 20px auto;
			}
#images img {margin-top: 150px;
			width: 400px;
    		height: 400px;
    		position: relative;
    		top: 0;
    		left: -400px;
    		z-index: 1;
    		opacity: 0;
    		transition: all linear 500ms;
    		-o-transition: all linear 500ms;
    		-moz-transition: all linear 500ms;
    		-webkit-transition: all linear 500ms;
			}
#images img:target {left: 0;
    				z-index: 9;
    				opacity: 1;
					}
#images img:first-child {left: 0;
						}

webecho
webecho's picture
Offline
newbie
Deep down under
Last seen: 6 years 24 weeks ago
Deep down under
Timezone: GMT+8
Joined: 2007-02-09
Posts: 8
Points: 10

I don't see a question. What

I don't see a question.
What problem are you having?

@webecho