2012-05-18, 07:48 AM
2012-05-18, 08:03 AM
Moved. Once again this isn't a part of MyBB, so please post in the correct forum in the future.
2012-05-18, 10:09 AM
Where do you want this code to use? In attachment thumbnails ??
2012-05-18, 10:15 AM
nope on index page only like slideshow and news
2012-05-18, 10:26 AM
It wouldn't be difficult. Just paste the code they're providing and add in index template. You've to edit the code slightly as well just where the img tags are.
2012-05-18, 11:10 AM
nope not works with mybb
marquee not works
marquee not works
2012-05-18, 06:22 PM
It should, if you've installed (edited template) correctly.
2012-05-18, 06:33 PM
(2012-05-18, 06:22 PM)Yaldaram Wrote: [ -> ]It should, if you've installed (edited template) correctly.
yes i do
first add this code in headerinclude
<script type="text/javascript" src="crawler.js">
/* Text and/or Image Crawler Script v1.5 (c)2009-2011 John Davenport Scheuer
as first seen in http://www.dynamicdrive.com/forums/
username: jscheuer1 - This Notice Must Remain for Legal Use
updated: 4/2011 for random order option, more (see below)
*/
</script>
After that add second ones in header or index,but marquee not works
<div class="marquee" id="mycrawler">
Those confounded friars dully buzz that faltering jay. An appraising tongue acutely causes our courageous hogs. Their fitting submarines deftly break your approving improvisations. Her downcast taxonomies actually box up those disgusted turtles.
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'padding': '5px',
'width': '450px',
'background': 'lightyellow',
'border': '1px solid #CC3300'
},
inc: 8, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 4,
neutral: 150,
savedirection: true
});
</script>
<div class="marquee" id="mycrawler2">
<img src="http://img42.imageshack.us/img42/6331/beachgl.jpg" /> <img src="http://img222.imageshack.us/img222/8854/waterox.jpg" /> <img src="http://img405.imageshack.us/img405/7314/cocovv.jpg" /> <img src="http://img853.imageshack.us/img853/5038/bonsaiy.jpg" />
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '600px',
'height': '180px'
},
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,
random: true
});
</script>