Plugin Author
jeff_
(@jeff_)
it not implemented by default but you can create your own template by copying the actual into another folder then add the target="_blank" to the “fs-place-holder” element
That does in fact work. Unfortunately, what I need is a way to selectively choose which slides open in a new window.
I guess I will need to figure out how to run a regular expression function on the fs-link parameter to determine if the link is an internal or external link. I’m okay with all external links opening in a new window. I’ll post the solution if I can figure it out (regular expressions are not my strength). If someone else is a regex wiz, please post a solution here.
I created a new template as Jeff suggested and modified the frontpageSlideshow function to test if the link is an indexOf the site’s URL. If it isn’t, then I added a target, “_blank” attribute to the link. Here’s the code:
[Code moderated as per the Forum Rules. Please use the pastebin]