This extension is Jquery Ajax Tabs , Provides 10 kinds of style.
protected/extensionsimagescssSee the following code example:
<script type="text/javascript" src="jquery.js"></script> <?php $tabs = array( array('title'=>'customer','url'=>'/general/customer/admin'), array('title'=>'account','url'=>'/general/account/admin'), ); $this->widget('application.extensions.slajaxtabs.SlAjaxTabs', array('tabs'=>$tabs));
Total 1 comment
After much work I got the tabs to show up (one problem is that the CSS link needs to be moved to the page head).
However, I cannot get two things to work. One is the links. Even though the tabs array contains the correct links for each tab, they are not loaded into the tabs.
Second, there are no instructions about the rendering of the views for each tab. Prior to installing the tabs, I would do a render. Now, however, doing that returns the page in ajax as it should, but it also appears on the screen superimposed over the content of the current tab. Changing the parm for returning the render instead of showing it to true results in no ajax return, even if I put 'return' before the render. Switching to renderpartial, with any combination of the two parms being true/false, results in the same problem: a superimposed render, or no ajax return.
Leave a comment
Please login to leave your comment.