Solved

Enclose map in a lightbox

Posted on 2014-10-09
3
102 Views
Last Modified: 2014-10-10
Hi,

I want to enclose a google map in a lightbox. This reference shows what I have WITHOUT the lightbox:

http://fwsprinklercdb.info/drive_dirs.html.

I added a lightbox per attached code; it displays nothing. See at http://fwsprinklercdb.info/drive_dirslb.html.

See also http://fwsprinklercdb.info/Murfur_lightbox.html for lightbox that works; uses the same Jquery lightbox_me function.

Why does drive_dirslb.html not work?
drive-dirslb.html
0
Comment
Question by:Richard Korts
  • 2
3 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 40371680
replace :
       $("#calculate-route").submit(function(event) {
		$('#map').lightbox_me({
          event.preventDefault();

Open in new window

by :
       $("#calculate-route").submit(function(event) {
                event.preventDefault();
		$('#map').lightbox_me({

Open in new window

0
 

Author Comment

by:Richard Korts
ID: 40373201
leakim971,

Same result, no map.

fwsprinklercdb.info/drive_dirslb.html

Thanks
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40373270
replace :
$('#map').lightbox_me({
          calculateRoute($("#from").val(), $("#to").val());

Open in new window

by :
          calculateRoute($("#from").val(), $("#to").val());
          $('#map').lightbox_me({

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Facebook React and SyntheticEvents 6 49
Centering Vertically 3 28
Error in script 11 47
insert text field data into html script 13 27
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now