Xternalinks
Xternalinks 1.0
Automatically add a specific css class to a link according to a part of this link.
It's now easy to add icons to your links like here :
http://www.framasoft.net/article4210.html
Add an "external" generic css class to http links without attributed classes
FTP and HTTPS supported
Custom protocol support
It's now easy to add icons to your links like here :
http://www.framasoft.net/article4210.html
Description
Automatically add a specific css class to a link according to a part of this link.Add an "external" generic css class to http links without attributed classes
FTP and HTTPS supported
Custom protocol support
Instructions
After installation you will have 6 parameters :- Sites : domains or part of an http links that you want to add a specific css class
Exemple : www.modxcms.com->modxcmscomclass||modxhost->modxhostclass||modxcms.fr->modxcmsfrclass
Will add "modxcmscomclass" css class to all http://www.modxcms.com links
Will add "modxhostclass" css class to all links like http://www.modxhost.com/net/org.. or http://modxhost.com/net/org..
Will add "modxcmsfrclass" css class to links like http://www.modxcms.fr or http://modxcms.fr - Generic external links css class : css class for http links not in Sites parameter (default = external)
- Internal links css class : css class for no http, https, ftp or custom links i.e :<a href="index.php?id=1>" (default= internal)
- HTTPS css class : css class for https links (default= httpsXternal)
- FTP css class : css class for ftp links (default= ftpXternal)
- Custom protocol : here you can associate a css class to protocols not http, https, ftp links
The system is base on the 5 first char after href="
Exemple : if you want to add the "jsclass" css class to links like <a href="javascript:myjsfunction()">link</a>
put javas->jsclass for this parameter, and use || to separate each custom protocols
Previous Releases
Extras
No results found.