• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 24. Layer Slider > Sliding Around

Sliding Around

Example 24-1 shows what the HTML of our page looks like.

Example 24-1. HTML of sliding function

<html>
<head>
    <title>keypress slider</title>
</head>
<body onLoad="moveImage()">

<div id="blockDiv" style="position:absolute; left:317px; top130px;">
<br><br><br><br>Hi there
</div>

Use <b>A</b> to move left, <b>D</b> to move right.

</body>
</html>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint