![]() |
Showing a hidden content page
I have the following code that hides a content page on click of the menu to show a google maps in the background. I would like to modify it so that on click, the content page is shown along with the google maps background.
Code:
$bf_menu_items.bind('click', function(e) { |
without knowing anything about the other functions on your page or the html, I'll guess that you just need to remove "hidePageContent();" so it doesnt hide the contentpage?
Code:
$bf_menu_items.bind('click', function(e) { - you are using jQuery alreayd so i remove the return false in favor of e.preventDefault() - you were never really using $item for anything so I did things a little differently. |
| All times are GMT +1. The time now is 08:14 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.