here is my jquery which i want to set in xslt and put my image dynamic path aftre images in the script but i don't have any idea that how can i set it?
Not sure why you want to mix JavaScript and XSLT? :)
You should at all costs see if it's possible to avoid this since it creates confusion and mixes code and is a bad practice. And it's almost always possible to avoud this mixing if you think carefully about what it is you're trying to achieve.
So what is it exactly you're trying to do with the above script?
how to use of jquery in xslt?
hello friends
here is my jquery which i want to set in xslt and put my image dynamic path aftre images in the script but i don't have any idea that how can i set it?
so please any busy have solutions than tell me
<script type='text/javascript'>
(function(jQuery) {
function init() { wSlideshow.render({elementID:"491099086771648837",nav:"numbers",navLocation:"top",captionLocation:"bottom",transition:"fade",autoplay:"0",speed:"5",aspectRatio:"auto",showControls:"true",randomStart:"false",images:[{"url":"\/3111\/3733317_orig.jpg","width":"323","height":"250"},{"url":"\/595\/3889208.jpg","width":"323","height":"250"},{"url":"6\/9\/4\/5\/6945512.jpg","width":326,"height":250}]}) }
jQuery ? jQuery(init) : document.observe('dom:loaded', init)
})(window._W && _W.jQuery)
</script>
Hi Shine
Not sure why you want to mix JavaScript and XSLT? :)
You should at all costs see if it's possible to avoid this since it creates confusion and mixes code and is a bad practice. And it's almost always possible to avoud this mixing if you think carefully about what it is you're trying to achieve.
So what is it exactly you're trying to do with the above script?
Looking forward to hearing from you.
/Jan
is working on a reply...