{"id":194,"date":"2009-05-04T12:15:41","date_gmt":"2009-05-04T08:15:41","guid":{"rendered":"http:\/\/judepereira.com\/blog\/?p=194"},"modified":"2009-05-11T19:46:12","modified_gmt":"2009-05-11T15:46:12","slug":"pp-lava-lamp-nav-for-your-wp-blog","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/","title":{"rendered":"P&#038;P Lava Lamp nav for your WP Blog"},"content":{"rendered":"<p>After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from <a href=\"http:\/\/http:\/\/www.gmarwaha.com\/blog\/2007\/08\/23\/lavalamp-for-jquery-lovers\/\">G. Marwaha&#8217; Blog<\/a> and <a href=\"http:\/\/hekimian-williams.com\/?p=146\">Cory&#8217;s Place<\/a>. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one&#8230; but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my <a href=\"http:\/\/judepereira.com\/blog\/?wptheme=cleanskies\">developmental theme.<\/a> This is also for the lazy man, the quick &#8220;copy &#038; paste&#8221; method.<\/p>\n<p><strong>So let&#8217;s get started, shall we?<\/strong><\/p>\n<p><strong><a href=\"http:\/\/judepereira.com\/blog\/wp-content\/uploads\/2009\/05\/lava-query.zip\">Download this zip file containing the jQuery files for Lava Lamp Menu<\/a><\/strong> Unzip the files in your theme direcrory.<\/p>\n<p><!--more--><br \/>\nPut the following code in your header.php before the head tag closes:<\/p>\n<pre>\r\n&lt;script type=\"text\/javascript\" src=\"http:\/\/YOUR_SITE.com\/blog\/wp-content\/themes\/YOUR_THEME\/jquery-1.2.3.min.js\"&gt;&lt;\/script&gt; \r\n&lt;script type=\"text\/javascript\" src=\"http:\/\/YOUR_SITE.com\/blog\/wp-content\/themes\/YOUR_THEME\/jquery.easing.min.js\"&gt;&lt;\/script&gt; \r\n&lt;script type=\"text\/javascript\" src=\"http:\/\/YOUR_SITE.com\/blog\/wp-content\/themes\/YOUR_THEME\/jquery.lavalamp.min.js\"&gt;&lt;\/script&gt; \r\n&lt;script type=\"text\/javascript\"&gt;\r\n$(function() {\r\n$(\"#nav\").lavaLamp({\r\nfx: \"backout\",\r\nspeed: 700\r\n});\r\n});\r\n&lt;\/script&gt;\r\n<\/pre>\n<p>Replace &#8220;your_site&#8221; and &#8220;your_theme&#8221;.<\/p>\n<p>Then put the following wherever your navigation part is(generally in header.php):<\/p>\n<pre>\r\n&lt;!-- Begin Lava Lamp Navigation --&gt;\r\n&lt;div id=\"catnav\"&gt;\r\n&lt;ul id=\"nav\" class=\"lavaLamp\"&gt;\r\n &lt;li&gt;&lt;a href=\"&lt;?php echo get_settings('home'); ?&gt;\"&gt;Home&lt;\/a&gt;&lt;\/li&gt;\r\n &lt;?php wp_list_pages('title_li=&depth=1'); ?&gt;\r\n &lt;?php wp_list_categories('title_li=&depth=1'); ?&gt;\r\n &lt;li&gt;&lt;?php if (is_user_logged_in()) { ?&gt;&lt;a href=\"&lt;?php echo get_option('home'); ?&gt;\/wp-admin\/\"&gt;Site Admin&lt;\/a&gt;&lt;?php } ?&gt;&lt;\/li&gt;\r\n&lt;\/ul&gt;\r\n&lt;\/div&gt; &lt;!-- End Lava Lamp Navigation --&gt;\r\n<\/pre>\n<p>Then put the following in your style.css:<\/p>\n<pre>\r\n#catnav {\r\nmargin:0 auto;\r\nclear:both;\r\nheight:14px;\r\n}\r\n\r\n#nav {\r\nlist-style:none;\r\noverflow:visible;\r\n}\r\n\r\n#nav ul {\r\nmargin:0;\r\npadding:0;\r\n}\r\n\r\n#nav li {\r\nmargin:0;\r\nheight:14px;\r\npadding:0;\r\ntext-align:center;\r\n}\r\n\r\n#nav a {\r\ndisplay:block;\r\nline-height:12px;\r\nmargin:0 10px;\r\npadding:0;\r\nfont-size:11px;\r\nfont-weight:bold;\r\ncolor:#000;\r\ntext-align:center;\r\n}\r\n\r\n#nav li a:hover {\r\ncolor:#000;\r\ntext-decoration:none;\r\ndisplay:block;\r\n}\r\n\r\n#nav li ul {\r\nlist-style:none;\r\nposition:absolute;\r\nwidth:150px;\r\nleft:-999em;\r\n}\r\n\r\n#nav li li {\r\nwidth:150px;\r\nleft:auto;\r\n}\r\n\r\n#nav li li a {\r\nwidth:150px;\r\nline-height:12px;\r\ncolor:#FFF;\r\n}\r\n\r\n.lavaLamp {\r\nposition:relative;\r\nheight:14px;\r\noverflow:hidden;\r\n}\r\n\r\n.lavaLamp li {\r\nfloat:left;\r\nlist-style:none;\r\n}\r\n\r\n#nav li.back {\r\nborder-bottom:solid 1px #cdd;\r\nheight:14px;\r\nz-index:1;\r\nposition:absolute;\r\n}\r\n\r\n.lavaLamp li a {\r\nz-index:1;\r\n}\r\n<\/pre>\n<p>Save all files and refresh your blog page! What the above does is that it creates an line sliding below the menu.<\/p>\n<p \/>Have fun! <\/p>\n<p \/>You can post any related problems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from <a href=\"http:\/\/http:\/\/www.gmarwaha.com\/blog\/2007\/08\/23\/lavalamp-for-jquery-lovers\/\">G. Marwaha&#8217; Blog<\/a> and <a href=\"http:\/\/hekimian-williams.com\/?p=146\">Cory&#8217;s Place<\/a>. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one&#8230; but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my <a href=\"http:\/\/judepereira.com\/blog\/?wptheme=cleanskies\">developmental theme, releasing soon.<\/a> This is also for the lazy man, the quick &#8220;copy &#038; paste&#8221; method.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[52],"tags":[59,56,57,58],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-code","tag-jquery","tag-lava-lamp","tag-nav","tag-slide"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha&#039; Blog and Cory&#039;s Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick &quot;copy &amp; paste&quot; method.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jude Pereira\"\/>\n\t<meta name=\"keywords\" content=\"jquery,lava lamp,nav,slide,another snippet | code\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"@judepereira | Fleeting Thoughts\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"P&amp;P Lava Lamp nav for your WP Blog | @judepereira\" \/>\n\t\t<meta property=\"og:description\" content=\"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha&#039; Blog and Cory&#039;s Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick &quot;copy &amp; paste&quot; method.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-05-04T08:15:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-05-11T15:46:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@judebpereira\" \/>\n\t\t<meta name=\"twitter:title\" content=\"P&amp;P Lava Lamp nav for your WP Blog | @judepereira\" \/>\n\t\t<meta name=\"twitter:description\" content=\"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha&#039; Blog and Cory&#039;s Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick &quot;copy &amp; paste&quot; method.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@judebpereira\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#article\",\"name\":\"P&P Lava Lamp nav for your WP Blog | @judepereira\",\"headline\":\"P&#038;P Lava Lamp nav for your WP Blog\",\"author\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jude Pereira\"},\"datePublished\":\"2009-05-04T12:15:41+05:30\",\"dateModified\":\"2009-05-11T19:46:12+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":23,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#webpage\"},\"articleSection\":\"another snippet | code, jquery, lava lamp, nav, slide\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/code\\\/#listItem\",\"name\":\"another snippet | code\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/code\\\/#listItem\",\"position\":2,\"name\":\"another snippet | code\",\"item\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/code\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#listItem\",\"name\":\"P&#038;P Lava Lamp nav for your WP Blog\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#listItem\",\"position\":3,\"name\":\"P&#038;P Lava Lamp nav for your WP Blog\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/category\\\/code\\\/#listItem\",\"name\":\"another snippet | code\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#person\",\"name\":\"Jude Pereira\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jude Pereira\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Jude Pereira\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jude Pereira\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#webpage\",\"url\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/\",\"name\":\"P&P Lava Lamp nav for your WP Blog | @judepereira\",\"description\":\"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha' Blog and Cory's Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick \\\"copy & paste\\\" method.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/pp-lava-lamp-nav-for-your-wp-blog\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2009-05-04T12:15:41+05:30\",\"dateModified\":\"2009-05-11T19:46:12+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/\",\"name\":\"@judepereira\",\"description\":\"Fleeting Thoughts\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/judepereira.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"P&P Lava Lamp nav for your WP Blog | @judepereira","description":"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha' Blog and Cory's Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick \"copy & paste\" method.","canonical_url":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/","robots":"max-image-preview:large","keywords":"jquery,lava lamp,nav,slide,another snippet | code","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#article","name":"P&P Lava Lamp nav for your WP Blog | @judepereira","headline":"P&#038;P Lava Lamp nav for your WP Blog","author":{"@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/judepereira.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g","width":96,"height":96,"caption":"Jude Pereira"},"datePublished":"2009-05-04T12:15:41+05:30","dateModified":"2009-05-11T19:46:12+05:30","inLanguage":"en-US","commentCount":23,"mainEntityOfPage":{"@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#webpage"},"isPartOf":{"@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#webpage"},"articleSection":"another snippet | code, jquery, lava lamp, nav, slide"},{"@type":"BreadcrumbList","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/judepereira.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/category\/code\/#listItem","name":"another snippet | code"}},{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/category\/code\/#listItem","position":2,"name":"another snippet | code","item":"https:\/\/judepereira.com\/blog\/category\/code\/","nextItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#listItem","name":"P&#038;P Lava Lamp nav for your WP Blog"},"previousItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#listItem","position":3,"name":"P&#038;P Lava Lamp nav for your WP Blog","previousItem":{"@type":"ListItem","@id":"https:\/\/judepereira.com\/blog\/category\/code\/#listItem","name":"another snippet | code"}}]},{"@type":"Person","@id":"https:\/\/judepereira.com\/blog\/#person","name":"Jude Pereira","image":{"@type":"ImageObject","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g","width":96,"height":96,"caption":"Jude Pereira"}},{"@type":"Person","@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author","url":"https:\/\/judepereira.com\/blog\/author\/admin\/","name":"Jude Pereira","image":{"@type":"ImageObject","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0a1089f1857938099c95297539cf443242d71c86831e7fa280fdb2a8ff57c360?s=96&r=g","width":96,"height":96,"caption":"Jude Pereira"}},{"@type":"WebPage","@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#webpage","url":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/","name":"P&P Lava Lamp nav for your WP Blog | @judepereira","description":"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha' Blog and Cory's Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick \"copy & paste\" method.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/judepereira.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/#breadcrumblist"},"author":{"@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/judepereira.com\/blog\/author\/admin\/#author"},"datePublished":"2009-05-04T12:15:41+05:30","dateModified":"2009-05-11T19:46:12+05:30"},{"@type":"WebSite","@id":"https:\/\/judepereira.com\/blog\/#website","url":"https:\/\/judepereira.com\/blog\/","name":"@judepereira","description":"Fleeting Thoughts","inLanguage":"en-US","publisher":{"@id":"https:\/\/judepereira.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"@judepereira | Fleeting Thoughts","og:type":"article","og:title":"P&amp;P Lava Lamp nav for your WP Blog | @judepereira","og:description":"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha' Blog and Cory's Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick &quot;copy &amp; paste&quot; method.","og:url":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/","og:image":"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png","og:image:secure_url":"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png","og:image:width":512,"og:image:height":512,"article:published_time":"2009-05-04T08:15:41+00:00","article:modified_time":"2009-05-11T15:46:12+00:00","twitter:card":"summary","twitter:site":"@judebpereira","twitter:title":"P&amp;P Lava Lamp nav for your WP Blog | @judepereira","twitter:description":"After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha' Blog and Cory's Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one... but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick &quot;copy &amp; paste&quot; method.","twitter:creator":"@judebpereira","twitter:image":"https:\/\/judepereira.com\/blog\/wp-content\/uploads\/cropped-foo.png"},"aioseo_meta_data":{"post_id":"194","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-25 19:04:20","updated":"2025-06-03 20:03:34","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/judepereira.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/judepereira.com\/blog\/category\/code\/\" title=\"another snippet | code\">another snippet | code<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tP&amp;P Lava Lamp nav for your WP Blog\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/judepereira.com\/blog\/"},{"label":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},{"label":"P&#038;P Lava Lamp nav for your WP Blog","link":"https:\/\/judepereira.com\/blog\/pp-lava-lamp-nav-for-your-wp-blog\/"}],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pqtyx-38","jetpack-related-posts":[{"id":1659,"url":"https:\/\/judepereira.com\/blog\/clion-and-openframeworks\/","url_meta":{"origin":194,"position":0},"title":"CLion 1.1.1 and openFrameworks 0.8.4","author":"Jude Pereira","date":"October 2, 2015","format":false,"excerpt":"A basic template to start building oF projects using CMake within CLion. It's here on GitHub! All credits go to kureta for the CMake files. I've just pieced it together as a project which can be imported.","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1675,"url":"https:\/\/judepereira.com\/blog\/sending-notifications-via-apples-new-http2-api-using-jetty-9-3-6\/","url_meta":{"origin":194,"position":1},"title":"Sending notifications via Apple&#8217;s new HTTP\/2 API (using Jetty 9.3.6)","author":"Jude Pereira","date":"January 9, 2016","format":false,"excerpt":"HTTP\/2 is still very much new to Java, and as such, there are just two libraries who support it - Jetty (from 9.3), and Netty (in alpha). If you're going the Jetty way (as I have), you'll need to add their ALPN library to your boot classpath. Note: Jetty 9.3.x\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1665,"url":"https:\/\/judepereira.com\/blog\/openframeworks-and-appcode\/","url_meta":{"origin":194,"position":2},"title":"openFrameworks and AppCode","author":"Jude Pereira","date":"November 8, 2015","format":false,"excerpt":"Developing an openFrameworks app with AppCode is pretty easy. However, if you just open and run the project created by the project generator, you might see the following errors: Why doesn't it just work? This is because openFrameworks doesn't support 64 bit builds yet on the Mac, due to a\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"Building a stock openFrameworks app results in these errors","src":"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/fails_by_default-1024x407.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/fails_by_default-1024x407.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/fails_by_default-1024x407.png?resize=525%2C300 1.5x"},"classes":[]},{"id":1918,"url":"https:\/\/judepereira.com\/blog\/sending-ota-updates-over-wifi-to-your-esp8266\/","url_meta":{"origin":194,"position":3},"title":"Sending OTA updates over WiFi to your ESP8266","author":"Jude Pereira","date":"December 21, 2020","format":false,"excerpt":"This Christmas, I added a whole bunch of lights powered by 5V power sources. My goal was to switch them on at sunset, and switch them off on sunrise, by using a MOSFET for power control :) While I was doing this, I wanted to send OTA updates of my\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1696,"url":"https:\/\/judepereira.com\/blog\/mocking-the-http2-apple-push-notification-gateway-in-go\/","url_meta":{"origin":194,"position":4},"title":"Mocking the HTTP\/2 Apple push notification gateway in Go","author":"Jude Pereira","date":"February 17, 2016","format":false,"excerpt":"At CleverTap, we had the need to mock the new HTTP\/2 Apple push gateway API. After trying to do this in Java, and then in Python, I succeeded in getting it to work in Go. Go out of all languages! To me, Go has a completely strange syntax, compared to\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1845,"url":"https:\/\/judepereira.com\/blog\/intellij-on-steroids-with-g1-gc\/","url_meta":{"origin":194,"position":5},"title":"IntelliJ on steroids with G1 GC","author":"Jude Pereira","date":"June 15, 2018","format":false,"excerpt":"Lately, I noticed that IntelliJ started to pause for quite some time during it's GC cycles, and that it was very frequent when I was editing three files (over 1.2k LOC each) split vertically. The current version of IntelliJ runs on a bundled version of Java 1.8, who's default garbage\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":20,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"predecessor-version":[{"id":259,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/194\/revisions\/259"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}