martynball
New Member
- Messages
- 60
- Reaction score
- 0
- Points
- 0
I am trying to find a way to make a div slide out into the page, slowly. Not just appear. I was think of something like this:
Then add a php condition to say ++1 (on the left: until ==20%. But I don't know how, and I don't know how to make a variable to get the value of left:;. Is there another way.
I want to enhance that with by making a scrolling div scroll when I put my mouse to the sides... I don't know where to start with any of this .
Sort of like this: http://www.gapmedics.co.uk/
Scroll over the word NAMIBIA and the others on that line.
-----
Also, to know how this is done would be nice:
http://bestwebgallery.com/page/3/
When you mouseover a image it goes darker and a tool tip is displayed, I want to know how its made to go darker.
Code:
<script type="application/javascript">
var xmlhttp;
function divBigger(id)
document.getElementById("moveDiv").style.left="8%";
</script>
Then add a php condition to say ++1 (on the left: until ==20%. But I don't know how, and I don't know how to make a variable to get the value of left:;. Is there another way.
I want to enhance that with by making a scrolling div scroll when I put my mouse to the sides... I don't know where to start with any of this .
Sort of like this: http://www.gapmedics.co.uk/
Scroll over the word NAMIBIA and the others on that line.
-----
Also, to know how this is done would be nice:
http://bestwebgallery.com/page/3/
When you mouseover a image it goes darker and a tool tip is displayed, I want to know how its made to go darker.