Solved

Enclose map in a lightbox

Posted on 2014-10-09
3
106 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

776 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