0
Hello
I wish someone would help me tell me how I can create a <a>
and through it lead to a pop-up created on a site other than my own.
So far I have this code:
<h5 id="denuncia">Caso saiba de algum caso de violencia doméstica
<a href="https://www.cmjornal.pt/mais-cm/eu-reporter-cm?ref=geral_MenuHeader" class="denunciastyle" target="_blank">denuncie aqui</a>
</h5>
and I wanted through that link to take to this popup:
and not for the site that later has a button for popup, thank those who try to help me.
Dude is hard to understand what you want.... You need to click on the page open a Popup? Or on the page has a link that when you click should open a Popup?
– hugocsl
@hugocsl I think he wants a modal with an iframe, and in the iframe the src of another site shown in the href of <a> above
– Sam
basically by clicking on <a> open the site already with the pop-up open.
– David Mv
@Sam In this case I think it would be better to put a btn over the iframe, something that Google considers as Blackhat, because I believe he can not insert a link inside the iframe...
– hugocsl
I could not understand very well what you need, you do not want to leave the page to display the link page?
– Douglas Benitez
can do this using
window.open
– Ricardo Pontual
I don’t know how to explain myself better basically that’s all I needed to know, I tried to put in the href of the <a> the link of the other site but it doesn’t open the pop-up because to open this pop-up and I need to click the button that is on the site and what I want is to avoid the click and yes lead straight to the pop-up
– David Mv
From what I understand, you want to open the modal of another site within your site, I believe that just to do this, if the other site is yours too, then you can create a route to return only the modal and call it on your site with Jquery....
– Alisson Marqui
@Alissonmarqui that’s what I want to do! but I need to have access tbm to the other site? isn’t there a pop-up http? that I can link to?
– David Mv
@Davidmv From what I saw of the site in question (https://www.cmjornal.pt) it does not have a link to the pop-up only, it is loaded along with the full page...
– Alisson Marqui
@Alissonmarqui OK! thanks for the help! from all inclusive!
– David Mv
@Davidmv Which url accesses this pop-Pup?
– MagicHat
@Magichat link this is the main site and clicking the Verd button will lead to the pop-up
– David Mv
What you really need is a modal with the components organized inside. uses bootstrap in the project?
– Douglas Benitez