PHP CSS Styling pause?

Right now I’m trying to make a scroll down menu that has the links to different pages . . .

[php]
#links:hover {
background-image: url(image.png);

<?php $top = -90; for($top=-90;$top<=0;$top++) { echo "margin-top: " . $top . "px;"; $top++; } ?>

}
[/php]

It works fine, but I want it to slide, not just come out in one chunk.

sleep doesn’t work and usleep doesn’t seem to do anything.

Sorry but . . . bump.

If you want it to slide you will need to use javascript. If you’ve not got much experience in javascript you may want to look into using the jQuery library.

Sponsor our Newsletter | Privacy Policy | Terms of Service