jQuery lavalamp menu

Permalink 2 users found helpful
Just wondering if anyone is building a lavalamp menu block along the lines of:

http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/...

I have tried implementing this directly into the code of my header.php file but keep getting is not a function errors.

I would be willing to pay for such a menu variant in the market place as I seem inept at adding this myself..

kelbyuk
 
mobius2000 replied on at Permalink Reply
Hi there,

I managed to use this exact menu effect along with the auto nav a few months ago, I have since pulled down that design but i will try to find the source I used to make it work.

It's not a block or a custom template for the auto nav block (I still can't work out how to write my own blocks) but i basically did this as a set part of my theme.

I'll be home in a few hours and see if I can get that over to you.
JimboJetset replied on at Permalink Best Answer Reply
JimboJetset
Add the attached lava_menu.php template into the concrete->blocks->autonav->templates folder

Then add the following code to your header where you want the menu to appear

$bt_main = BlockType::getByHandle('autonav'); 
$bt_main->controller->displayPages = 'top'; 
$bt_main->controller->orderBy = 'display_asc'; 
$bt_main->controller->displaySubPages = 'all'; 
$bt_main->controller->displaySubPageLevels = 'all'; 
$bt_main->render('templates/lava_menu');


You can change the various display options to suit your requirements.
JimboJetset replied on at Permalink Reply 1 Attachment
JimboJetset
ooops.. can't seem to add the attachment to my previous post.
JimboJetset replied on at Permalink Reply
JimboJetset
Forgot to mention that you will also need to upload both the jquery addons mentioned in your link into the autonav folder and also create a new 'images' folder inside the autonav folder and upload the two lava images into it.

any probs pm me..
kelbyuk replied on at Permalink Reply
kelbyuk
Thanks for the help with this, got it working now :)
yashvit replied on at Permalink Reply
VicTheme replied on at Permalink Reply
VicTheme
Thanks for sharing…
I’ve also created a lavalamp menu using Drupal module which can be view herehttp://www.victheme.com/demo_product/7...
if it’s Okay and welcome for any review or comments:)