0 votes
in Rock by TinaStephens (8.6k points)
edited

Asana: https://app.asana.com/0/1202285749308316/1204220999772960/f

Scottsdale Bible would like the web-links on the Project Management boards to open in a new browser tab. This is one of the pages it shows a link https://rock.scottsdalebible.com/Project/64 but they will also want this on a couple other Project Management boards.

The URL attribute is in the workflow https://rock.scottsdalebible.com/admin/general/workflows?workflowTypeId=466&ExpandedIds=C142 in case you need it.

by (13.1k points)
(Originally by Unknown) Have you tried asking the URL Attribute nicely?

1 Answer

0 votes
by (13.1k points)
edited
 
Best answer

Originally posted by Unknown

I adjusted the JQuery script to look for any:

  • Link that points to the GetFile.ashx webhook (any link that opens a file on the page)

  • Link that is a child of a attribute-value-container-display class (any link that is an attribute value)

<script>
    function pageLoad() {
        $("a[href^='/GetFile.ashx'], .attribute-value-container-display a").attr("target","_blank");
    }
</script>
by TinaStephens (8.6k points)
@Russell You are a genius. Thank you!
Welcome! Here you can ask questions and receive answers (hopefully) from other members of our team.
...