Skip to content

Tag: html

DOM change font color by using addEventListener

I am a beginner of JS and HTML. I encounter a problem with changing the font color by using addEventListener here is my part of HTML code here is my js code. the situation I encounter is when I click the color box, it pops up the Palette, and then you have to “click” again for choosing the color. …

Can’t get MiradorImageTools Plugin to work

I’m trying to get the MiradorImageTools plugin to work with mirador image viewer. I’m using a very basic html page to test: This gives me the following error: If I leave the plugin out, replacing the problematic line with the commented-out line above it, the whole thing works and I get mirador sho…

Class two time repeating in Jquery

Here is slideshow of three images, which is have fadeIn and fadeOut effect on every image, but when i add one new css animation effect fadeInLeft to middle image then it repeats two time, why ? But if i remove fadeInLeft class to middle image then all three image comes one by one correctly, i need to add fade…