Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5987035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:45:25+00:00 2026-05-22T22:45:25+00:00

In my application, I have a map (esri), that runs on javascript. When I

  • 0

In my application, I have a map (esri), that runs on javascript. When I click a point, I do a simple identify, no need to dig into details here

When the identify is successful, I open up a popup, based on the parameters of the point – no magic here.

The current code looks like this

 if (confirm("Do you want to see my secret information?"))
 {
      var newWindow = window.open("http://www.google.com, "mywindow", "scrollbars=yes,menubar=0,resizable=1,width=1000,height=650");
      if (window.focus) {newWindow.focus()}
 }

Well, this approach works, however, my users should not setup their popup blockers to allow my site, and IOS users are not at all able to use this – not good.

I want a more reliable way to show them this infomation, like opening the windows in a new tab. If I had a <a href='http://www.google.com' target=_blank>google</a>

In a map, I do not have elements, that I can make to links.

How can I use confirm(‘smth’), and when successful, do the action of a normal link?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:45:25+00:00Added an answer on May 22, 2026 at 10:45 pm

    Maybe it’s worth to change the way it works – when user clicks on a point display a DIV popup with the link like:

    <a href='http://www.google.com' target=_blank onclick="return confirm('Do you want to see my secret information?')">google</a>
    

    I don’t think that there’s an easy way to imitate a click on the link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an ASP.NET intranet application that needs to have an interactive map
In my spring application context file, I have something like: <util:map id="someMap" map-class="java.util.HashMap" key-type="java.lang.String"
We have a Hibernate/Spring application that have the following Spring beans: <bean id=transactionManager class=org.springframework.orm.hibernate3.HibernateTransactionManager
In my application I have a DataGridView control that displays data for the selected
In my current application I have a form that requires the user to enter
In my iphone application i have integrated Google Map.I want to show the country
I am new to iphone development.I have created a map application.I have created a
I have to map a REST Webservice URL like http://server:8080/application/service/customer/v1 to createCustomer method in
I am using google map in my application. I have an application regarding to
In my application I have a map, this map has a lot of annotations...

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.