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/
Related
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
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
I'm not sure if this should be under a different question or not, but I would like to know where to start with this. I have a set of 84 cards front and back, when a user starts, he/she sees the front(question) side of the card, then, he/she clicks the flip button and sees the back(answer) side. On the answer side, there's a button to continue to the next card. My question is, how would I set this up without creating a lot of show/hide/toggle functions, while animating each of them, for each card?
Take a look at jQuery plugins at official website or at Google. You need to find some plugins you want. See, for example:
http://www.jqueryrain.com/2012/12/best-jquery-page-flip-book-effect-with-examples/
http://blog.guilhemmarty.com/flippy/
You will get more help here with some code. But you need to find first the code example.
I think this links above are good places to start, and choose a plugin is probably the best way for you now. Maybe you find exactly what you want in a plugin, maybe you just need to extend it.
I like this 3d card flip jquery plugin: http://www.zachstronaut.com/projects/rotate3di/#demos
If you want to use jQuery as a starting point for the abstraction of this problem, then maybe jQuery widgets are a good pattern: http://jqueryui.com/widget/
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.