I removed reference to thumbchange1.js and it broke the animation, so there is something different in thumbchange1.js from the yahoo-dom-event.js that comes with vShare.
I tried to have your code on the NEW and FEATURED videos on the index.tpl and it wouldn't work, none of the thumbs would scroll. Not sure what I'm doing wrong.
Here's what I did in index.tpl:
for new videos I put
and for the image:Code:<SCRIPT type=text/javascript> stat['N{$new_video[i].VID}']=0; thumb['N{$new_video[i].VID}']=new Array(); thumbs['N{$new_video[i].VID}']=new Array(1,1,1); </SCRIPT>
for featured videos I putCode:[img]{$baseurl}/thumb/1_{$new_video[i].VID}.jpg[/img]
and for the image I putCode:<SCRIPT type=text/javascript> stat['F{$featured_videos[i].VID}']=0; thumb['F{$featured_videos[i].VID}']=new Array(); thumbs['F{$featured_videos[i].VID}']=new Array(1,1,1); </SCRIPT>
Not sure what I did wrong.Code:[img]{$baseurl}/thumb/1_{$new_video[i].VID}.jpg[/img]
Right now I have the thumbchange1.js and thumbchange2.js and both the new and featured work at the same time in index.tpl using the image code:
andCode:[img]{$tmburl}/{$featured_videos[i].VID}.jpg[/img]
It's not "broke" so I'm not gonna fix it.Code:[img]{$tmburl}/{$new_video[i].VID}.jpg[/img]




Reply With Quote
Bookmarks