Create a pop up from a image

in my website I have a share option with a facebook icon, that when clicked it open a webpage in a new page, I wanted to try to implement a pop up to open in the original page but with the same content, is it a specific type of target that needs to be called?

Here I leave a code sample:

if(strpos($atts['on'], "fb") !== false) $html .= aTag("".$atts['href'], getImgTagByImageName($atts['fb-icon']), "_blank", $atts['id'], $atts['class']);

Read more here: Create a pop up from a image

Leave a Reply

Your email address will not be published. Required fields are marked *