tags:

views:

12

answers:

1

hi to all i am using mootools for the slideshow in these i wanna add lightbox on click of slideshow image my slideshow code is following. so plz tell me how i integrate lightBox with it.

$table= WB_AD_PHOTO; $where.='nBusinessAdID="'.$businessid.'" AND bAdminApproved="1"'; $data='sPhotoName'; $photoData = getData($table, $where, $data, '', ''); $num=count($photoData); $str=''; for($i=0; $i

}

//pr($str,'1');
/*$sql="SELECT sPhotoName FROM $table where nBusinessAdID=$businessid AND bAdminApproved=1 ";
$count='';
$count=& $db->getAll($sql);*/

?> noobSlide - mootools

<script type="text/javascript">
window.addEvent('domready',function(){
    //SAMPLE 1 (auto, every 5 sec)

    //SAMPLE 3 (play, stop, playback)
    var nS3 = new noobSlide({
        box: $('box3'),
        items: [<?php echo $str;?>],
        interval: 3000,
        startItem: 4,
        autoPlay: true,

    });

    //SAMPLE 4 (walk to item)


});
</script>

$value) { ?> business_photo_thumb_path_web.$value['sPhotoName'];?>" alt="Photo" width="215" height="160"/> < Playback Stop Play >

A: 

here is an example LightBox Example

Lightbox 2 site example

Tumbleweed
thanks for your answer but i need mootools script
praveen