Problems with Anchor and Div
-
Hello!
I have an Info button on top of a carousel that should send me to a Div with an Id.
That Info button has an anchor and when pressed, it lowers you down but stays on a white page and gives me an error.
https://www.carlosadalid.com/tercera
This is the error message it gives me in inspect mode. I don't know if it will help.

Any solution?Thanks!!
-
-
The custom code it's the following one:
<p><span style="color: #000000;"><a style="color: #000000;" href="#info-tercera" data-id="0">Info</a></span></p>
It's the source code of carousel's image caption. The problem that I found it's that the caption it's linking to "https://www.carlosadalid.com/tercera#info-tercera" when it have to been linking to "https://www.carlosadalid.com/#info-tercera".
If fix the problem it's not possible, there's another way to link to the page's bottom?
Thanks.
-
-
Hi @mariusjopen
I'm using the carrousel plugin.I want to put a text / Info button with an anchor to send me to the bottom of the page, just that.
Any suggestions in case my problem cannot be solved?
Thanks!! -
Dear @carlosadalid
what is the div called to which you want to scroll? Do you use the id or the name?Best!
Marius
-
Hi @mariusjopen!
The code of caption is "<p> <span style =" color: # 000000; "> <a style="color: #000000;" href="#info" data-id="0"> Information </ a> </span> </p>" and the info is "id info" is: info
I think the problem is that when you press "info" the anchor that goes down to the "div" is done well, but the "div" shows a blank page above that does not reveal the content.
Can you try to visualize the error in your browser?(https://www.carlosadalid.com/tercera and click on info) I think it's easier to see it than to explain it hahaha
Many thanks!
-
Also see this topic.
This seems to be an issue that’s related to one of the recent updates, because this worked perfectly fine a while ago.
-
@edgrbnz said in Problems with Anchor and Div:
This seems to be an issue that’s related to one of the recent updates, because this worked perfectly fine a while ago.
Thanks for the reply! Did you find any solution to the problem?
-
No nothing yet…
@mariusjopen or @arminunruh might need to have a look at this I guess. -
-
-
I need to solve the problem... :(
-
Hi @mariusjopen & @arminunruh,
we are having the same problem. Is there any possibility to deal with it?
http://karwendelmusik.de -
Ok will be fixed in the next update, I will release it later today!
-
@arminunruh great. Thanks a lot!
-
-
Sweet!!!
-
Many thanks!! 💐💐💐
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login