Top Menu

Vertical and horizontal marquee 
Vertical and horizontal marquee with java script 
html Code 

 <html>
<head>
<style>
#marqueehor
{
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
    height: 60px;
    border: 1px solid black;
}
#marqueehor div
{
    border: 1px solid red;
    padding: 20px;
    height: 60px;
    position: absolute;
    top: 0;
}
#marqueever
{
    position: absolute;
    left:0;
    top: 0;
    border: 1px solid black;
    width: 100px;
    height: 400px;
}
#marqueever div
{
    border: 1px solid red;
    padding: 20px;
    width: 60px;
    position: absolute;
    left: 0;
}
.wop
{
    padding: 0;
    margin: 0;
}
</style>
</head>
<body style=’text-align: center;’>

<div id=’marqueehor’>
    <p class=’wop’><a href=”>Some text</a></p>
    <p class=’wop’><a href=”>More text</a></p>
  
</div>
<div id=’marqueever’>
    <p class=’wop’><a href=”>Some text</a></p>
    <p class=’wop’><a href=”>More text</a></p>
    <p class=’wop’><a href=”>demo</a></p>
</div>
<script type=”text/javascript” src=”marquee.packed.js” ></script>
<script type=”text/javascript”>
var horizontal = new marquee(“marqueehor”).horizontal();
var vertical = new marquee(“marqueever”).vertical();
</script>
</body>
</html>

see some Demo 

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Close