guywalder Posted March 31, 2014 Share Posted March 31, 2014 (edited) Hi guys, I know my question is stupid and I know the answer is even stupider but my lack of knowledge in PHP got me to a dead end. I've got a Joomla site with a slider module which I need to modify. As for now, the main slider shows tabs to the left and main image+text to the right. The only way to get to the article itself is by clicking the text title at the bottom of the image which is small and stupid. I would like to add an href to the activated item to link to the article page. The h3 title in the tab is linked to the proper image so I can't do nothing with that. To simplify things, I wish the first click to show the image and the text and a second click on the active tab will link to the article page. This is my site's URL: http://gmys.guywalderonline.com/ This is the left side tab code: <?php foreach($slides as $item) { ?><li class="nav_item" style="<?php echo $css_item_heigth; ?>"> <div class="nav_slideitem_wrap"> <div class="nav_slideitem"> <?php if($item->thumbs !=''){ ?> <img border="0" alt="thumbnail" src ="<?php echo JURI::base().$item->thumbs; ?>" /> <?php } ?> <?php if($params->get('lago_enable_link_artslidebar')) { ?> <a class="slidetitle" href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a> <?php } else { ?> <h3 class="slidetitle" href="<?php echo $item->link;?>"><?php echo $item->title; ?></h3> <?php } ?> <p class="slidedes"><?php echo $item->introtext; ?></p> </div> </div> </li> <?php } ?> Will appreciate any help here. Thanks in advance, Guy. Edited March 31, 2014 by Zane Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.