I am trying to use the following code to open my images in. This code will open my images on my current page, but I want each image to open on a new tab.
echo '';
I am trying to use the following code to open my images in. This code will open my images on my current page, but I want each image to open on a new tab.
echo '';
I’ll give you a hint…
You can use Javascript in the href just pass in the URL into the function you want to open
Then you call the window.open function which is also javascript.
[php]
[/php]Why go through all that when you can just add target="_blank"
I was thinking the same thing after I posted that