the reason I need a global variable that can auto increment is because the following reason
I’m involve in a project that need to accomplish the following.
using EE and Solspace’s Video module to create a weblog and for each entries from this weblog would have a list of videos found from youtube, blip.tv using the solspace’s video module.
each and every entry would have a list of 9 videos wrap around with a div and you click the thumbail of the video Thickbox(alternative of lightbox) would pop up and the video plays inside the thickbox.
however thickbox requires an id to be the event handler for each of every one of these videos
that’s why I need a global variable that can auto increment, since Solspace’s video module doesn’t have a video id variable.
here’s the code
this div is connected with the code below - because id=“item1”
This line of code is inside the {exp:video:entries} tag
inlineId=item1 - item1 should be the same as the id from the div above so that when the user click on the image or link below the div above gets display in a thickbox, and that’s why I need a variable to can auto increment
<ul class="videoThumbs"><li><a href="#TB_inline?inlineId=item1" class="thickbox">http://a.images.blip.tv/Torent4X90-bleach111691-785-819.jpg</a></li><li class="videoTxtLink"><a href="#TB_inline?inlineId=item1" class="thickbox">Foreign News Video</a></li><li class="videoClient">working blip.tv sample</li></ul>