Dear all,
When I create à link on a image only, I would like to have a neu attribut call "rel".
In other word I would like to have a new line called "rel" in the tab "advanced" of the Insert/edit link windows. (See attachment).
Would you have an idea, how to change? And that the change remain after an upgarde?
Many thank for your support
I need the same, if you find a solution let me know!
This in not a MODx form, it is a TinyMCE form...
it is in the image plugin, maybe ask in their forums.
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
http://www.google.com/search?hl=en&q=tinymce+rel+attribute&cad=h
But this piece of jQuery rocks:
$('a[href^="http"]').click(function(e){
// stop the default action
e.preventDefault();
window.open(link);
});
Source:
http://line25.com/articles/top-5-web-design-debates-that-cause-the-most-riots
Comment by: andy matthews
Thanks Mr.Haw, this looks good too:
http://www.bibblan.com/martin/tinymce-rel-with-lightbox
but, andy mathews solution looks better...
and easier...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner