Jump to content

Scrolling DIV content


ilikephp

Recommended Posts

Hello,

I need to create a scroller that contains 2 arrows( up / down)

I am learning from this web site, but I did not understand well :(

www.dyn-web.com/code/scroll/

 

Can some1 provide me please with a link to a video tutorial?

or can u help me plz creating dynamic scrollers inside DIV?

 

Thanks in advance...

Link to comment
Share on other sites

I am using this script: but when I click on the arrows, nothing will happen,

 

Can somebody check it please an disvover the problem?

Note: the JS file is downloaded from:  http://www.dyn-web.com/code/scroll/documentation.php#multi

Thanks a lot...

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

<style type="text/css">

div#wn {

position:relative;

width:280px; height:150px;

overflow:hidden;

}

</style>

 

<script src="js/dw_scroll.js" type="text/javascript"></script>

<script src="js/dw_event.js" type="text/javascript"></script>

<script src="js/dw_scrollbar.js" type="text/javascript"></script>

<script src="js/scroll_controls.js" type="text/javascript"></script>

 

</head>

 

<body>

<table width="295" height="150" border="0" cellpadding="0" cellspacing="0">

  <tr>

    <td width="280"><div id="wn">

    <div id="lyr1">

    Image maps you create can be any size or shape you like. They can provide any number of speed options for mouseover scrolling. Image maps you create can be any size or shape you like. They can provide any number of speed options for mouseover scrolling. Image maps you Image maps you create can be any size or shape you like. They can provide any number of speed options for mouseover scrolling. Image maps you create can be any size or shape you like. They can provide any number of speed options for mouseover scrolling.</div>

</div></td>

    <td width="15"><div id="scrollLinks">

      <p><a class="mouseover_up" href=""><img src="images/btn-up.gif" alt="" /><br />

        <br />

      </a><a class="mouseover_up" href=""><br />

      </a><a class="mouseover_down" href=""><img src="images/btn-dn.gif" alt="" /></a></p>

      </div></td>

  </tr>

</table>

</body>

</html>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.