how to open next image when u click on the current image
Posted: 09 Jun 2010, 04:00
hi friends.
i have problem with my phoca gallery.
in detail view my theme is no-pop up. i want my visitors can change images by clicking on the current image.
next button is not comfortoble and its hard to see..
can u help me pls.
in /components/com_phocagallery/views/detail folder default.php
i see this rows
.'<a href="#" onclick="'.$this->tmpl['detailwindowclose'].'">'.$this->item->linkimage.'</a>';
if u delete # and enter a url the image goes to that url. but i want it to go next image .
i tried this but it did not work :
<a href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='. $value->catslug.'&id='.$value->slug.$tmplCom.'&Itemid='. JRequest::getVar('Itemid', 1, 'get', 'int')).'"'
.' title="'.JText::_( 'Next image' ).'" id="next" onclick="disableBackAndNext()" >
can u help me pls?
i have problem with my phoca gallery.
in detail view my theme is no-pop up. i want my visitors can change images by clicking on the current image.
next button is not comfortoble and its hard to see..
can u help me pls.
in /components/com_phocagallery/views/detail folder default.php
i see this rows
.'<a href="#" onclick="'.$this->tmpl['detailwindowclose'].'">'.$this->item->linkimage.'</a>';
if u delete # and enter a url the image goes to that url. but i want it to go next image .
i tried this but it did not work :
<a href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='. $value->catslug.'&id='.$value->slug.$tmplCom.'&Itemid='. JRequest::getVar('Itemid', 1, 'get', 'int')).'"'
.' title="'.JText::_( 'Next image' ).'" id="next" onclick="disableBackAndNext()" >
can u help me pls?