Page 2 of 2

Posted: Thu Nov 10, 2005 6:33 pm
by Guest
Is my english so bad :?

good idea

Posted: Fri Nov 11, 2005 5:32 am
by dk70
An alternative might be this script http://www.dynamicdrive.com/dynamicinde ... indow2.htm Put it in a "HTML Nugget on Page" plugin, head tag and shown all the time. Edit script and tell it to exclude new window as long as you are on your blog domain.

A little Firefox trick for testing is to put this into usercontent.css

Code: Select all

/* Change cursor for links that open in new window */
:link[target="_blank"], :visited[target="_blank"],
:link[target="_new"],   :visited[target="_new"] {
   cursor:  crosshair;
}
So crosshair means new window or more likely tab.

Posted: Wed Oct 18, 2006 8:32 am
by FFL
I had the same request and I did it in a very simple way: You need the "Track Exits" plugin. Change line 191 in "serendipity_event_trackexits.php" into following:

Code: Select all

        $link     = '<a%shref="%sexit.php?url%s=%s%s" ' . (!$is_title ? 'title="%s" ' : '%s') . (!$is_over ? ' onmouseover="window.status=\'%s\';return true;"
 ' : '%s') . (!$is_out ? 'onmouseout="window.status=\'\';return true;"' : '') . '%s target="_blank">';
E.g: add a target="_blank" to the end of the line.
RFE: add a configuration option to the plugin to make it configurable ;-)