Closed (works as designed)
Project:
External Links
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2009 at 09:09 UTC
Updated:
14 Nov 2009 at 13:13 UTC
The js code checks if an has a line display. If so, it wraps a span around it with the class ext. If not, the ext class is added to the tag itself. However, extlink.css only contains a icon background for span.ext and span.mailto, not for a.ext and a.mailto.
I have some links in my site with display:block (some CCK Links in my sidebar for example). On these links, the icon does not appear.
Comments
Comment #1
BarisW commentedApologies, forgot to add
<code>blocks...The js code checks if an
<a>has adisplay:inlinedisplay. If so, it wraps a span around it with the class ext. If not, the ext class is added to the<a>tag itself. However, extlink.css only contains a background-image for span.ext and span.mailto, not for a.ext and a.mailtoI have some links on my site with display:block (some CCK Links in my sidebar for example). On these links, the icon does not appear.
Comment #2
quicksketchThis is intentional, since often times links are display: block because they have a background image or are part of the primary navigation or tabs.
Comment #3
RaiMan commentedDon't know wether same problem:
in menu items: ext link is recognized (opens in new window) but icon is not attached.
Comment #4
quicksketchYes this is probably because your theme uses
display: blockfor displaying menu items in your navigation.As I noted above, this is by design.
Comment #5
RaiMan commentedThanks.
I just started with drupal and for my intentions your module is a must.
Using standard Garland, because my priority is functionality in the moment.
I've reset status to 'by design', but it would be great to get an answer, wether there will be a chance to get a solution for that or not.