Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Grave sites for documentation
· 11 years ago
Good afternoon) I will not talk long compliments, I will say that I need) I wrote a book. I need software that would allow normally publish a book on the Internet. In fact, this lack of software - no
-
Links that open in new window or tab?
· 11 years ago
Bingo! Thanks very much w00fz and Andy, that works like a charm.
-
Links that open in new window or tab?
· 11 years ago
Can confirm this works, just tested it.
-
Links that open in new window or tab?
· 11 years ago
That JS from rhukster needs to be wrapped into a domready function as you need the DOM to be available before you can change the target to the links. The full code should be like this: $(document).rea
-
Links that open in new window or tab?
· 11 years ago
It looks like it... here is the related chunk of code I see via view source: <script src="/grav/user/themes/mytheme/js/modernizr.custom.71422.js" type="text/javascript" ></script> <scri
-
Links that open in new window or tab?
· 11 years ago
If you inspect/view source on the page, is the my.js file being loaded?
-
Links that open in new window or tab?
· 11 years ago
Ok, I am already using the (awesome) theme inheritance feature with the bootstrap theme, so I am trying to add the needed JS somewhere in that same 'mytheme' folder. I can see CS changes made to myth
-
Links that open in new window or tab?
· 11 years ago
Anywhere really. You can add it via addInlineJs() method or in a js file and just use addJs() to add that file. Look at antimatter for examples of this.
-
Links that open in new window or tab?
· 11 years ago
That alternative approach is brilliant Andy! My end-goal is to share a working skeleton of this site if I can get it going - where in the site folder structure would it be best to add that bit of Java
-
Links that open in new window or tab?
· 11 years ago
If you know those layouts are structured enough that you can output those links in a defined way. Another alternative is to use markdown_extra to set a class like { .external } and then use a JavaScri