Glad you figured something out. A little bit of javascript goes a long way!
On Tue, Jan 14, 2014 at 2:37 PM, John Barham <[email protected]> wrote: > Thanks, Josh. I managed to solve it with some pretty trivial jQuery, e.g.: > > $(document).ready(function(){ > $('a[href^="http://blog.example.com"]').attr('target', '_blank'); > }) > > On Tue, Jan 14, 2014 at 4:39 AM, Josh Cartmell <[email protected]> > wrote: > > Hey John, another idea would be to use Mezzanine field injection to add a > > boolean to Page. Then in the menu template check the boolean and if true > > add target="_blank" to the link. > > > > > > On Sun, Jan 12, 2014 at 5:49 PM, Stephen McDonald <[email protected]> > wrote: > >> > >> Nothing like that at the moment. > >> > >> > >> On Mon, Jan 13, 2014 at 10:48 AM, John Barham <[email protected]> > wrote: > >>> > >>> I have a Page Link that I'd like to open in a new window when the user > >>> clicks the URL (i.e., the equivalent of <a target="_blank">...) Is > >>> there a way to require this from the Mezzanine admin interface? I > >>> could achieve the same result by injecting the target attribute via > >>> jQuery after the page has loaded, but am just wondering if Mezzanine > >>> supports this. > >>> > >>> Cheers, John > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > Groups > >>> "Mezzanine Users" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > an > >>> email to [email protected]. > >>> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > >> > >> > >> -- > >> Stephen McDonald > >> http://jupo.org > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "Mezzanine Users" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to [email protected]. > >> For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Mezzanine Users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
