Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to implement a scroll-spy to change the active state of buttons in the navigation bar. There are examples that use jQuery but I want to implement it with pure javascript. Is it possible? If it is possible, can you provide me an example code?
Edit: What I mean with pure js is not using any external libraries. Sorry for misrepresenting.
You can just define an handler for the scroll event with
document.getElementById("mydiv").onscroll = function(event){
update_buttons();
};
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
This is the link:
danielcoding.me/resume/#contact
I want this animition :
screenshot
I inspect element on this page , but there is no pics as background, I found nothing.
How to create this animition ?
Is it made only by javascript or css?
Are there more example like this animition?
I really like this style , I want to study more
It looks like they're using something like fullpage.js, a pretty cool jQuery plugin. Pretty simple to setup, check out the demos they have.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Hi i am creating a web based application where i created buttons for cut,copy,paste,undo,redo,delete options.I wanted to make all these buttons to work according to their functionality after clicking the button how can i implement that in my application? I am using html for my design and JavaScript and JQuery for Functionality.
application screen shot
You can use an iframe and set iframe.document.designMode = "On"; using javascript.
then use iframe.document.execCommand(aCommandName,aShowDefaultUI,aValueArgument);
find out more here link
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Dropbox's official page teaches how to implement a single chooser, but doesn't teach how to implement multiple choosers on a page.
Is it possible to do that?
Yes, this is possible. The createChooseButton method can be used multiple times to create multiple Chooser buttons that you can put wherever you want. E.g.:
var button = Dropbox.createChooseButton(options);
document.getElementById("container").appendChild(button);
var button2 = Dropbox.createChooseButton(options2);
document.getElementById("container").appendChild(button2);
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
First poster here, but I wanted to know if there was anyway that it was possible to customize the JavaScript prompt boxes without using jQuery? I'm wanting to keep my site vanilla as possible. Thanks.
You can create your own modal dialog boxes. However you cannot customize how, for example, window.alert("Hello!") would look. That is completely up to the browser manufacturer.
create a 'div' and show that using an event.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to be able to create a similar effect that Facebook paper link have created.
Having a button on the right hand slide that slides in new content while then creating the back button. But I don't know what language or what method is best to implement this. Could anyone point me in the right direction?
Thanks.
The quick and dirty would be use jQuery and jQuery UI.
$('#your-object').show("slide", { direction: "left" }, 1000);
For a more detailed answer, see jQuery .slideRight effect