Looking for a neat new script for a friend's gallery http://www.chanit.com/gallery/index.htm
Fussed around with absolute positioned "expando" http://tchotches.tripod.com/expando/expando2.html but gave that up. Now trying to imitate and add image captions to John Davenport Schecher's great script from http://home.comcast.net/~jscheuer1/s.../vac_plain.htm
See http://tchotches.tripod.com/jScheuer/jSchecherRev.html -- where I have
And name="" alt="" title=''
enableCaption : true, //Should "title" attribute of link and any paired image's 3rd parameter to be used as caption?
captionTop : true , //Place caption at the top of the image?
makeTitle : true, //Make title attribute for enlarged image from name attribute of trigger link?
I also tried to modify the vfs_min.js<a class="" href="../chanitEnergy/coexistance.jpg" name="Coexistance"
rel="vfsimage::mouseover" rev="vac::../chanitEnergy/coexistance.jpg::lightbox[vp]::Coexistance">
<img src="../chanitEnergy/coexistance.jpg" alt="Coexistance" title="Coexistance"></a>
Obviously I'm not a programmer and have no OOP! Where do I look? What do I do? Short of using "innerHTML," how can I display captions under or over the images (like Lightbox)?
var viewfadeslide={
enableCaption:false, makeTitle:true, hideImgMouseOut:false, disableOnClick:true, populateWithFirst:true, enableCount:false, enableTransition:true, writeNumberButtons:true, writeControlButtons:true, useButtons:true, enableSlideShow:false, startSlideShow:false, swapControlVals:true, slideHoverBehavior:'stop', slideTriggerBehavior:'pause', slideNumberButtonsBehavior:'stop', enableLightBoxGroups:false, makeAlt:true, navSlideTitles:['Next','Previous','First', 'Last','Run','Stop'], numDes:'Image ', numPre:'Image number ', numQnt:' of ', pauseValue:'Paused', runningValue:'Running', stoppedValue:'Stopped', enableNavSlide:true, fadecapable:false, iefadecapable:false, preloadedimages:[], register:{}, paired:{}, slidestarted:{}, populated:{}, boolObj:function(v,p){v=this[v];return p=='not_what_you_are_looking_for'?falsev===true||(typeof v=='object'&&typeof v[p]!='undefined'&&v[p]));},parentAtt:function(el,at,t,re){re=re?new RegExp(re):new RegExp();if(t[el[at].replace(re,'')])return el;while(el.parentNode){if(el.parentNode[at]&&t[el.parentNode[at].replace(re,'')])
return el.parentNode;el=el.parentNode;}



v===true||(typeof v=='object'&&typeof v[p]!='undefined'&&v[p]));},parentAtt:function(el,at,t,re){re=re?new RegExp(re):new RegExp();if(t[el[at].replace(re,'')])return el;while(el.parentNode){if(el.parentNode[at]&&t[el.parentNode[at].replace(re,'')])
Reply With Quote

Bookmarks