Hi Quiddity. I'm working with an old script, that (beyond other things) creates a collapsed navigation template below imagemap tags. For better reading, for browser search, for desktop view in mobile etc. So, the links created using javascript, as hlist. And selflink does not get ".mw-selflink .selflink". I can add the styles of course, but I need the behavior too. Thank you. Igal
2018-05-10 19:48 GMT+03:00 Nick Wilson (Quiddity) nwilson@wikimedia.org:
Igal, For what reason (use-case) are you wanting to deactivate the link? Are you trying to make an image un-clickable [1], or something else? If you explain that context, then we might be able to help better. I.e. Examples/links always help!
[1] If this is your goal, then see this link AND the warning underneath https://www.mediawiki.org/wiki/Help:Images#Altering_the_ default_link_target
On Thu, May 10, 2018 at 5:42 AM, יגאל חיטרון khitron@post.bgu.ac.il wrote:
Thank you. But how can I create this element using css? Igal
2018-05-10 15:34 GMT+03:00 bawolff bawolff+wn@gmail.com:
You could force the link to be behind (in a z-index sense) another transparent element.
(Not really deactivated because you can still reach it via keyboard, but it would stop people clicking) -- Brian
On Thu, May 10, 2018 at 12:15 PM, יגאל חיטרון khitron@post.bgu.ac.il wrote:
Hello. Is there a way to deactivate a hyperlink using CSS? I tried pointer-events: none, but wiki does not recognize it. Thank you. Igal (User:Ikhitron) _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Nick Wilson (Quiddity) Community Liaison, Wikimedia Foundation _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l