1
Beta / Re: version 2.4
« on: June 18, 2023, 05:09:36 PM »A few days ago, I've received a private message from "TEA-Time", and he said that my code posted previously here, takes effect even on links to folders too (it's true, I misinterpreted his original request). What he wants is just to open in a new tab/window, only the "URL type" of links (those you get by right-clicking on "Root ยป New link"). Having this in mind, please follow the very same given instructions, but then on step 5, paste the following text:Code: [Select][+]
<script>
$("img").each(function () {
if($(this).attr("src").indexOf('~img_link') > -1) {
$(this).parent().attr('target', '_blank');
}
});
</script>
This is only valid for the default template of HFS (has been successfully tested with v2.4.0 RC6, RC7 and even with older v2.3m).
I hope that is useful...
Cheers,
Leo.-
Excellent, that's just what I was looking for. Sorry I wasn't more clear.
Thank you so much for the help, Leo. 👍