Search the Community
Showing results for tags 'pop-up'.
I have this as one of my switch statements as the default: default: document.getElementById("default2").innerHTML = window.alert("I don't know that color."); break; The pop-up box appears and says the message, but when I click "ok" the word "undefined" shows up on the screen. How do I make it so the box pops up, and when you click "ok" nothing shows up on the screen?
Hello everyone. I have this question for you and I hope someone can suggest a solution. Should I open an image of a webcam in a pop-up, the problem is that the image opens it in full resolution photo and I would rather resize it to make it fit perfectly in the pop-up. What you see below is the code I used. What should I add to resize the image inside of the pop-up. <a title="Titolo" href="http://www.sito.net/webcam/webcam.php" data-lightbox="width:1280;height:800;titlePosition:inside;padding:0"><img width="200" height="120" alt="Titolo" src="http://www.sito.net/webcam/webcam.php"></a> Thanks Marco