Hiding link hover information

3 replies · opened May 30, 2019

Ccochn01May 30, 2019

Hi, I was wondering.

Is there a way to turn hover feature off on image links? I tried using:

$(function(){
$("a").each(function (index, element){
var href = $(this).attr("href");
$(this).attr("hiddenhref", href);
$(this).removeAttr("href");
});
$("a").click(function(){
url = $(this).attr("hiddenhref");
// window.open(url);
window.location.href = url;
})
});

But this is affecting light box <a href> selection feature. Is there a workaround?
Please see attached for reference. Thank you!

NC

Ccochn01May 31, 2019

Hi there,

For some strange reason I posted any additional comment that never processed? :-|

  1. How can I reduce height for footer area? (Pict 1)
  2. Video on mobile - preview is getting cut-off and adding additional white space. What could be causing this? (Pict 2).

Thanks again for your help!
NC

Ccochn01Jun 2, 2019

Okay,

I was able to edit the:

  1. Footer height by setting (my-0 mt-0).
  2. The video spacing... I copied the code wrong.

But as for hiding link hover info. Not sure? Now going in a different direction.

Thanks! :-)

NC

SSemicolon WebSTAFFJun 3, 2019

Hello,

Thanks for your Patience!

Unfortunately, there is no inbuilt way to prevent this and hide the HREF information. Additionally, the Lightbox function is bound to get affected as the default tag attributes (href) are modified causing the Lightbox Links to not work in a normal way as the Lightbox Plugin relies on the href tags. It is not recommended to not include the Lightbox Images in your Customized functionality.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard