star107
01-11-2010, 03:18 AM
I found marqueeInit at:
http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm
I try to use it on my source code :
<div class="marquee0" id="mycrawler23">
<span class="category_r_text"><a href="#">aaaaaaaaaaaaaaaaaaaaaaaaaaaa</a></span>
<span class="category_r_text"><a href="#">bbbbbbbbbbbbbbbbbbbbbbbbbbbb</a></span>
<span class="category_r_text"><a href="#">cccccccccccccccccccccccccccc</a></span>
<span class="category_r_text"><a href="#">ddddddddddddddddddddddddfddd</a></span>
<span class="category_r_text"><a href="#">eeeeeeeeeeeeeeeeeeeeeeeeeeee</a></span>
<span class="category_r_text"><a href="#">ffffffffffffffffffffffffffff</a></span>
<span class="category_r_text"><a href="#">gggggggggggggggggggggggggggg</a></span>
<span class="category_r_text"><a href="#">hghhhhhhhhhhhhhhhhhhhhhhhhhh</a></span>
<span class="category_r_text"><a href="#">iiiiiiiiiiiiiiiiiiiiiiiiiiii</a></span>
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler23',
style: {
'padding': '0px',
'width': '805px',
'height': '235px'
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
savedirection: true
});
with css:
.category_r_text{
width:204px;
height:24px;
margin-right:3px;
margin-top:3px;
background:#9c0001;
}
.category_r_text a{
text-decoration:none;
color:#FFFFFF;
}
.category_r_text a:hover{
text-decoration:underline;
}
It work well on firefox and chrome but it doesn't work on IE7 (sometime it work but some time it doesn't work.)
When it doesn't work, it show nothing, event a word.
http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm
I try to use it on my source code :
<div class="marquee0" id="mycrawler23">
<span class="category_r_text"><a href="#">aaaaaaaaaaaaaaaaaaaaaaaaaaaa</a></span>
<span class="category_r_text"><a href="#">bbbbbbbbbbbbbbbbbbbbbbbbbbbb</a></span>
<span class="category_r_text"><a href="#">cccccccccccccccccccccccccccc</a></span>
<span class="category_r_text"><a href="#">ddddddddddddddddddddddddfddd</a></span>
<span class="category_r_text"><a href="#">eeeeeeeeeeeeeeeeeeeeeeeeeeee</a></span>
<span class="category_r_text"><a href="#">ffffffffffffffffffffffffffff</a></span>
<span class="category_r_text"><a href="#">gggggggggggggggggggggggggggg</a></span>
<span class="category_r_text"><a href="#">hghhhhhhhhhhhhhhhhhhhhhhhhhh</a></span>
<span class="category_r_text"><a href="#">iiiiiiiiiiiiiiiiiiiiiiiiiiii</a></span>
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler23',
style: {
'padding': '0px',
'width': '805px',
'height': '235px'
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
savedirection: true
});
with css:
.category_r_text{
width:204px;
height:24px;
margin-right:3px;
margin-top:3px;
background:#9c0001;
}
.category_r_text a{
text-decoration:none;
color:#FFFFFF;
}
.category_r_text a:hover{
text-decoration:underline;
}
It work well on firefox and chrome but it doesn't work on IE7 (sometime it work but some time it doesn't work.)
When it doesn't work, it show nothing, event a word.