Skip to content

Append a link when text overflowing parent

I’m using Ajax to get comments. Comment text is treated as max-height:90px by default. When importing comments, I want to attach a link if the text length is longer than the parent element. The code below doesn’t work well. It works imperfectly. All comments have a link or only the first one. Is t…

Why is the site navigation collapsing so fast?

When you look at the menu of this website: https://www.eurotuin.be/ And when you try to hover it, it collapses really fast. see the menu here I’ve tried experimenting with the following code, but it doesn’t seem to work: This one has same effect: Answer Two things : How transition would have any e…

Regexpr with a string

I have to get the result from this regular expression; the regular expression is a string in a variable: but the xlslHrefRegExpResult variable is null. If I use: without the string variable containing the expression, the result is achieved. Where is the error using a string to build the regexp? Answer The cor…

How to parse html div text to json

I try to parse data from html to json structure, but I get empty strings. I do it first time. Here example of repeatable div block: But I get this: How I can get json text from classes .itemVuzTitle and .tooltipq to json structure with fields name like title and scores? Please, help with this question. It hel…

How can I fetch Clash Of Clans API?

I’m trying to do a discord bot with the clash of clans api. But I get a weird error message. Thanks Error Message: Answer The API URL is api.clashofclans.com and you are also lacking an API KEY in your authorization header unless you removed it for security purposes Clash of Clans API uses JSON Web Toke…