I would recommend updating your leaflet version to 1.7.1 which is the latest, and note that there are differences between leaflet 0.7 and 1+.

About your popup not opening the link, it's because you set the url as text, and not as a link.

You should do this to create a link:

marker = new L.marker([planes[i][1],planes[i][2]])
            .bindPopup(`<a href="${planes[i][0]}" target="_blank" rel="noopener noreferrer">whatever text you want to display for your link</a>`)
            .addTo(map);
Answer from Dror Bogin on Stack Exchange
🌐
Themeco
theme.co › support
Want image hyperlink to open in popup, rather than new window - Support - Themeco Forum
May 28, 2017 - Hello, fantastic ThemeCo support folks! I am trying to get a clickable image to open a link in a popup window. (The link is to a page off my domain.) The image element provides an “open in new window” option, but not a popup. In the first screenshot below, please see the Custom Headline ...
Discussions

How can I make a hyperlink open as a popup with a given width and height?
I have a hyperlink that is: Test If I click on the Test link, some.html should open as pop up menu with some given width & height. How can I do this? More on stackoverflow.com
🌐 stackoverflow.com
Help w/changing from hyperlink to pop-up box - HTML & CSS - SitePoint Forums | Web Development & Design Community
I’d like help w/changing from hyperlink to some type of pop-up box, so that instead of the user leaving the Form page to read the Terms, a pop-up box appears containing the Terms. A greybox is used elsewhere on the site, using this rel="gb_page_center[600, 635] " , does that help? More on sitepoint.com
🌐 sitepoint.com
0
March 8, 2013
How to get a pop up when we click a a hyper link on a page? - IT & Tech Careers - Spiceworks Community
Hello All, When I click a hyper link on a page system should bring me a small popup window. I do not want to use secondary page as it opens another window. when I was going through sites I under stood that we have to use java script and place in a html object then call the HTML object from ... More on community.spiceworks.com
🌐 community.spiceworks.com
0
June 3, 2009
How to give a direct link to a pop-up
I am trying to give some pop-ups I built on webflow {a click on button activates the pop-ups normally} shareable links, more like an anchor link that can easily open up my pop-ups once clicked on without having to click on the buttons. Here is my site Read-Only: LINK (how to share your site ... More on discourse.webflow.com
🌐 discourse.webflow.com
1
March 31, 2023
🌐
Elementor
elementor.com › help center › themes › popups › trigger a popup on a link click
Trigger a popup on a link click | Elementor
August 27, 2024 - In the panel, click the Advanced tab. In the panel, in the Open by Selector field, add an anchor trigger link shortcode (example: a[href="#link-popup"] )
🌐
Breakdance
breakdance.com › documentation › popups › popup-triggers › opening-a-popup-on-link-click
Opening a Popup On Link Click - Popups Documentation | Breakdance
April 9, 2024 - In the link field, click the settings icon. Change the Type to Action. For the action type, select Popup. Under Popup, choose the specific popup you wish to open. Under Action, select “Open”. Save your changes and exit to the front end of ...
🌐
Medium
medium.com › @thierrymaasdam › how-to-link-to-an-elementor-pop-up-using-an-anchor-link-968e562e3baf
How to link to an Elementor pop-up using an anchor link | by Thierry M. | Medium
July 18, 2020 - Example: add a button — or any widget with a link element to it — and let the link be#contact for the popup to open on clicking the button.
Find elsewhere
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › how-to-open-a-popup-on-click-using-javascript
How to Open a Popup on Click using JavaScript ? - GeeksforGeeks
August 5, 2025 - The Open Popup button shows the dialog, while the "Close" button hides it by toggling visibility between visible and hidden. ... <!DOCTYPE html> <html> <head> <title>Using visibility property</title> <style> body { font-family: Arial, sans-serif; ...
🌐
Supsystic
supsystic.com › home › documentation › opening popup with link
How to open popup on click? Popup with HTML link
September 3, 2018 - Or, if you know HTML basics, – you can insert “onclick” attribute of popup to any of element of your site. In “Whom to show” block choose “Click on certain link / button / other element” radio button -> Copy the code from the second ...
🌐
W3Schools
w3schools.com › howto › howto_js_popup.asp
How To Create Popups
Learn how to create popups with CSS and JavaScript. Click me to toggle the popup!
🌐
PTC Community
community.ptc.com › t5 › ThingWorx-Developers › opening-a-popup-window-on-hyperlink-click-event-within-a-grid-in › td-p › 509724
opening a popup window on hyperlink click event within a grid in thingworxs
March 5, 2018 - But one of my column is a look a like of hyperlink. on click of hyperlink only(not row, its just the hyperlinked column) I need to launch a navigation widget window. if I use the in built, hyperlink option, it will not allow me to navigate to internal mashup's on a popup, it will always open in a new tab or replace the self. ... If you see the screen shot its a grid from thingworx itself, the last column I have framed a HTML and bound to the column data.
🌐
SitePoint
sitepoint.com › html & css
Help w/changing from hyperlink to pop-up box - HTML & CSS - SitePoint Forums | Web Development & Design Community
March 8, 2013 - <a href="http://www.websiteslink/" onclick='window.open( "http://www.websiteslink/", "myWindow", "status = 0, height = 600, width = 635, resizable = 0" ); return false'>Terms</a> I assumed that the numbers given were a width and a height ...
🌐
Spiceworks
community.spiceworks.com › it & tech careers
How to get a pop up when we click a a hyper link on a page? - IT & Tech Careers - Spiceworks Community
June 3, 2009 - Hello All, When I click a hyper link on a page system should bring me a small popup window. I do not want to use secondary page as it opens another window. when I was going through sites I under stood that we have to use java script and place in a html object then call the HTML object from the Iscript function.
🌐
WpPopupMaker
wppopupmaker.com › docs › triggering-popups › trigger-click-open-trigger-a-popup-from-a-link-url
Trigger A Popup Using Its Hash Link - Popup Maker
March 25, 2025 - <p>Click this link to open popup ID 123:</p> <a href="#popmake-123" class="button">Turbo-charge Your Popups Instantly!</a> <p>Replace 'popmake-123' with your actual Popup Maker CSS class.</p>
🌐
Esri Community
community.esri.com › t5 › arcgis-online-questions › hyperlink-in-popup-to-open-in-new-window › td-p › 1541085
Solved: Hyperlink in Popup to open in new window - Esri Community
September 21, 2024 - I hate tabs for the simple reason that I can only see one at a time, thus hiding the map. This is simple enough to do in HTML, but how do you do this in an Arcade expression? Solved! Go to Solution. ... When you add a text element, click the source <> icon to edit in html.
🌐
Mendix
community.mendix.com › link › space › user-experience › questions › 110272
Add hyperlink to text in popup box
October 8, 2021 - The Mendix Forum is the place where you can connect with Makers like you, get answers to your questions and post ideas for our product managers.
🌐
Webflow
discourse.webflow.com › design help › layout & design
How to give a direct link to a pop-up - Layout & Design - Forum | Webflow
March 31, 2023 - I am trying to give some pop-ups I built on webflow {a click on button activates the pop-ups normally} shareable links, more like an anchor link that can easily open up my pop-ups once clicked on without having to click on the buttons. Here is my site Read-Only: LINK (how to share your site ...
🌐
Stack Exchange
sharepoint.stackexchange.com › questions › 274446 › how-to-make-a-modal-popup-when-someone-clicks-a-link-on-my-page
sharepoint on prem - How to make a Modal popup when someone clicks a link on my page - SharePoint Stack Exchange
<script type="text/javascript"> function showModalPopUp() { //Set options for Modal PopUp var options = { url: 'https://share.amazon.com/sites/NHOPlaybook/Shared Documents/Access Documents Message.PNG', //Set the url of the page title: 'Special Access Required', //Set the title for the pop up allowMaximize: false, showClose: true, width: 600, height: 400 }; //Invoke the modal dialog by passing in the options array variable SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options); } function onDOMLoaded() { var linkElementId = 'myLinkId'; var linkElement = document.getEle
🌐
Microsoft Learn
learn.microsoft.com › en-us › previous-versions › windows › desktop › htmlhelp › to-create-a-hyperlink-to-open-the-pop-up-window
To create a hyperlink to open the pop-up window | Microsoft Learn
May 30, 2018 - Copy the following code in your HTML file to call the TextPopup method of the HTML Help ActiveX control: <A HREF="JavaScript:<i>popup</i>.TextPopup(<i>text_variable</i>, <i>font_variable</i>,9,9,-1,-1)"><i>Click Here</i></a>