Skip to content
Advertisement

Tag: jquery

Problem with lightbox, on click event is not working

I have a stupid problem with jQuery.. I’m trying to make a simple lightbox and I have problems with the “close” button.. Here is what I have – a grid with some color variations. We have an image and a text for the color. When we click on it, we should see the image in a lightbox with bigger size.

array javascript loop wrong

it´s a simple question but i can´t solve. Always when i tray to do loopp in my array return index 0 llamadas its my varaible from controller, i´m working with laravel 5.6 how backend llamadas contain this: and his original content content wihtout for never i show one array for this way in push i need extract desc for to

CSP issues with javascript and css – password visibility toggle

I am currently working on some frontend development on a server. However when I try to add inline css and javascript for my password visibility toggle I keep getting the same CSP errors in google chrome. Refused to execute inline script because it violates the following Content Security Policy directive: “script-src ‘self’ ‘unsafe-eval’ ssl.google-analytics.com The code I have tried :

Search in current page using jQuery

I have a code in jQuery that searches if a div tag exists with a certain class, a function should be executed. The code works fine, but the issue is that the function is executed in every page because the div exists on the website. Is there a way to check if the div exists on the current page or

CSS Border animation takes space inside table, rough animation when using position absolute

I’m trying to make a notification button with animation effect using border, but the animation is affecting the width and height of cell: What have I tried: This code should executedly fine by theory, though it’s rough when it animates. Using position: absolute and fixed broke the entire notification’s position. I tried applying overflow:hidden or scroll, doesn’t really do the

Advertisement