Hi,
I wanted to figure out how to make the thumbnail links that lead to single portfolio pages open in new windows instead of in the current window?
http://therealmofpossibility.org/partners/harvardglobalhealthinstitute/
Thanks!
Hi,
I wanted to figure out how to make the thumbnail links that lead to single portfolio pages open in new windows instead of in the current window?
http://therealmofpossibility.org/partners/harvardglobalhealthinstitute/
Thanks!
I'd use jquery for this task. Open up angular/js/avia.js and replace following code at the very top:
jQuery(document).ready(function(){
with:
jQuery(document).ready(function(){
jQuery(".portfolio-sort-container .featured a").attr('target', '_blank');Thank you for this!
There is one problem: for the 1st and 2nd portfolio items on the second row of thumbnails, the container is not large enough to make the picture clickable. How do I make it so that when people hover over all of these portfolio thumbnails that they will indeed be able to follow a the link to the single page?
http://therealmofpossibility.org/home-2/
Thanks
Hi InterdisciplinaryInnovation,
It looks like those profiles (portfolio items) just don't have links associated with them. Go to the individual portfolio item and expand the image in the featured images. Where it has the drop down for Link options, select the option you want and then update the item.
Regards,
Devin
Along a similar line, I'd like my Read More links to open in a new tab as well as my Project URL links in project meta. What's the best way to make this happen? Thanks!
Open up angular/js/avia.js and replace following code at the very top:
jQuery(document).ready(function(){
with:
jQuery(document).ready(function(){
jQuery(".portfolio-sort-container .featured a, .portfolio-meta-value a, .ajax-portfolio-response a.more-link").attr('target', '_blank');Thanks, Dude.
Solution works great except for the portfolio items on the portfolio page.
I'd like the Project URL links to open in a new window.
I thought portfolio-meta-value a would've done the trick--and it does on the individual project pages--but not on my main portfolio page.
See http://grafficart.com
Thanks!
Hi TheImageFarm,
I would actually suggest just passing a _blank target directly in the url for the meta field. If you put in the entire link as an html line it just gets passed through.
So you would put the following in the Project URL meta field:
<a href="thelink.com" target="_blank">www.thesitedisplayedastext.com</a>
Regards,
Devin
Awesome! Works perfectly. Thanksamillion for the expertise!
This topic has been closed to new replies.