Skip to content
Advertisement

Tag: popup

Close Popup Before Opening Popup

I am attempting to improve an old calendar page I built using free “internet code” nearly 15 years ago. When the seven-column by six-row calendar displays, moving the mouse cursor over any one of the days displayed shows a “More Info” link, and clicking that link pops up a new window. The effective JS code: url looks like ‘2022-11-27.html’ ‘striing’

How do I toggle CSS features with JS functions

I want to run my function which then starts displaying a CSS element, I currently have CSS HTML JS (the function is called within another function, the calling of the function itself works) I’ve tried to chnange the id’s to classes, the order of .popUpNames .show and the regular .popUpNames https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_popup I tried extrapolating it from this website, but to

how to display js 1 time a day?

I have a code show popup on the website, I want this popup only show 1 once/day for user. I use the code below to show the popup: For functions theme flatsome: For js: Please help me, thanks. Answer

How to add konami code in a website based on html?

I was asked to implement the Konami Code in a website I’m currently working on. It should do the following: Change Background Image Play sound Bring some pop-up What’s the easiest way to achieve this using javascript? Answer Place the code below in a file js/konami.js and reference it in the body of your html file like this: <script src=”js/konami.js”></script>

How to show a popup modal in codeIgniter?

I have written a javascript click function to a class to display a popup when the relevant class be clicked. When i just put an alert it gives me the correct output. but the popup modal is doesn’t show up Model I am using following model function And i am calling that method in the following controller funtion Controller Here

Auto-closing a popup with a file to download

I have a file, named download.php, which contains a file to be downloaded, so it has the following headers (declared with PHP): download.php is opened as a popup with jQuery by an other page. Now I want download.php to self-close (using JavaScript) after some seconds (so I’m secure that download started) but I didn’t manage to write working code. Here

Advertisement