Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am sorry, but I really not found the answer regarding my question that How to open a popup window after specific time ? I need to embed this in my webpage where a popup will appear after 10 second to greet the user. please help me to solve this, actually I am not a JavaScript guy
Since your question does not specify what attempts you've made I'm giving you guidelines rather than code. Feel free to ask questions about them
Use setTimeout to execute code after a certain amount of time.
Use alert to create a popup.
Note - some people consider alert base user experience - one way around this is using a modal-dialog
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am using this tool http://instafollowbutton.com/ in order to create a follow button for Instagram in my site.
I am wondering if it is possible to overwrite the js file so as to change the word "Following" when you follow someone with just "Follow" instead. And if yes how can I do that?
Thanks in advance
If it's on your site, then you can use Javascript (jquery would make this easier) to find the element on the page, and change the text.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
If someone can give me a hint about how to do the crazy text effect example on this site:
(main title on hover)
http://capitolcouture.pn/
You can easially debug the website too see all the code. Note that the effect is loaded in a iFrame so you should open the iFrame to look at the code.
The library that is used for this is the 3D javascript library three.js.
I'm not really familier with this library but i read you need some basic understanding of WebGL if you want to use this library.
You can probably find some great tutorials on the internet of three.js
Hopefully i give you a direction to look at. Note that this is not just a beginners thing to do :)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How can I create a menu navigation that will be hidden on load, but will show when the user hovers over a button?
So for better understanding I did a simple preview how I want:
I know how to create a <div> with the menu the, only thing that I need to know is how to create the show/hide interaction with the mouse cursor.
What language do I need to use? Please tell me how can I create this. What should I search on the internet to create this? I'm not looking for complete code, just a small example or a pointer in the right direction.
I'd go with javascript.... Here is 2 links http://www.w3schools.com/jsref/event_onmouseover.asp
http://www.htmlgoodies.com/beyond/javascript/article.php/3470771
Pretty sure you are looking for these events ;)
You can use this
Demo:
http://tympanus.net/Tutorials/AnimatedBorderMenus/index5.html
Source:
http://tympanus.net/codrops/2013/09/30/animated-border-menus/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
I need to build this form and I have no idea where to begin. What I need is a simple validation form for a medical website. I need users to be able to do the following:
Input Medication name, Dosage, and Frequency.
Select "Add" button and it adds the information to a list (located to the right of this form)
They can add as many medications as they want. When they click submit it will send the information through e-mail.
Is this easy to accomplish? Is there any type of script available open source that can be changed to do this? I'm not too familiar with javascript or jquery but I feel I could figure out how to modify a script if it was close to what I have described.
see these jquery demos, its very helpful:
http://jqueryui.com/dialog/#modal
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to use multiple details tags on a page. However, some may end up containing a lot of content and for that reason I want to limit only one being open at any given time. This naturally means closing one if it's already open.
Is it possible to close a detail tag programmatically using JavaScript?
If I understand you correctly, this should do what you want (jsfiddle). The details element has an open attribute that you can simply remove. I am using jQuery, but it should be straightforward to do the same in vanilla JS.
$(document).ready(function() {
$('details').on('click', function() {
$('details').removeAttr('open');
});
});
You might want to filter out the details tag that the click event was triggered on, but it seems to work this way.