?
Solved

Enclose map in a lightbox

Posted on 2014-10-09
3
Medium Priority
?
120 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
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…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 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