Page 1 of 1

Empty "href" Attribute

Posted: Wed Mar 09, 2022 9:33 pm
by pacstar
Why is there an empty "href" attribute made when a rollover image is made?

Here is the html code I am getting,,

<div id="wb_LayoutGrid2">
<div id="LayoutGrid2">
<div class="row">
<div class="col-1">
<div id="wb_RollOver1">
<div id="RollOver1">
<a href="">
<img class="hover" alt="Triumph Bonneville T120 ....

Is there a way to correct it? I can't see where in the properties where it is being created.

Thanks,

Re: Empty "href" Attribute

Posted: Thu Mar 10, 2022 7:18 am
by Pablo
There is an empty href because otherwise the rollover will not work.
If you do not want it to be empty then you can set an URL in the 'Link' properties.

Re: Empty "href" Attribute

Posted: Mon Mar 14, 2022 8:45 pm
by pacstar
Pablo,

I figured the work around. The slideshow image(s) had an External Link to URL link "http://" in the image properties. Once I removed that value and left the field blank, the error went away. So, the link checker was seeing <a href="https://">.

It wasn't in all of the slideshow images, so I'm not sure if that was added by default or what caused it?

Thanks