Difference between #3 and #4 of
Using the jqueryslidemenu plugin with CMenu

Revision #4 has been created by Antonio Ramirez on Nov 2, 2010, 8:43:15 PM with the memo:

updated order of files registries (css first, js later)
« previous (#3) next (#5) »

Changes

Title unchanged

Using the jqueryslidemenu plugin with CMenu

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

Interface, Menu, Widgets

Content changed

[...]
// remember that you can actually point to the js files directly if
// your script file is outside of protected/subfolders
$jqueryslidemenupath = Yii::app()->assetManager->publish(Yii::app()->basePath.'/scripts/jqueryslidemenu/');

//Register jQuery, JS and CSS files
Yii::app()->clientScript->registerC
oreScript('jqueryssFile($jqueryslidemenupath.'/jqueryslidemenu.css');
 
Yii::app()->clientScript->registerCssFile($jqueryslidemenupath.'/jqueryslidemenu.css'); oreScript('jquery');
 
 
Yii::app()->clientScript->registerScriptFile($jqueryslidemenupath.'/jqueryslidemenu.js');
```

And finally we create our menu. Please note that our menu is wrapped with a layer 'div' and one its classes to jqueryslide menu.
[...]
18 1
8 followers
Viewed: 34 338 times
Version: 1.1
Category: How-tos
Written by: Antonio Ramirez
Last updated by: pc131
Created on: Oct 28, 2010
Last updated: 7 years ago
Update Article

Revisions

View all history