Images open a new tab anyway
-
Hi,
Using this syntax :
<a href="https://image.jpg" class="fancybox image" ><img class="" src="https://image.jpg" alt="" width="640" height="360"/></a>
When this is integrated into a page a click have two effects :
- Open a new tab with the image width=”640″ height=”360″
- Open over the orginal tab, what is waited : the image into colorbox with suitable parameters defined into easy fancyBox
The user has to close the opened tab before viewing the FancyBox, this is boring and stupid particularly on mobiles.
I spent time to find what happens because it was into a more complex context so I have built a simple test of this (a page with just one photo on my site).What is the way to avoid that the image is opened into a new tab (so twice). This is the opposite to the purpose of FancyBox ?
Best regards
Trebly
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Images open a new tab anyway’ is closed to new replies.