I am using the wordpress as framework.
In the PHP code i have used the flickr api to access the images from the flickr.
So i need to open in the new window when i clicked on a particular image.
Does anybody have any idea about doing it through the api.Something like passing the parameter like “target=’_blank’”
OR
Should we have to write the custom method for it in javascript.
Ideas are most welcome!!
Thank u.
I don’t think it can be done using the API, but it’s quite easy to do with Javascript.
I grabbed some code from the Flickr badge creator for reference:
With jQuery then, it’s just a matter of targetting the links within the Flickr badge and adding the target=_blank attribute: