Little box where I could write in [closed] - javascript

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 9 years ago.
Improve this question
I would need to use a little textbox in order to write in and to get the value but without creating a window. (In which I would have created a textbox element)
I would need something like the alert box but I would like to write in.
Do you know what I could use ?

To get an dialog box with input using javascript you can use window.prompt, look for more info here.
If you want something prettier go for a modal window. There are plenty plugins for jQuery (and there should be enough scripts available in vanilla JS as well) to achieve this.

Related

How to acheive background animition like the page has given below [closed]

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.

JavaScript custom prompt boxes without using jQuery [closed]

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.

How to get primefaces elements value with javascript [closed]

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 9 years ago.
Improve this question
I have a primefaces project and I'm facing a problem. I have a simple HTML component which is an input element of type hidden which gets its value from a backend bean. Now I need the value of that component as a javascript variable in order to validate it.
How can I access the value from the hidden input element?
For the next time, please post what you have tried so far. You can't expect us to write code for you. Show a little bit of effort. But because in that case it is not too much:
If you have something like this
<input id="myHiddenComponent" type="hidden" value="something received from your bean" />
you can access it with jQuery for example
$('input#myHiddenComponent').val();
If you dont know the id, you can use other jQuery selectors and the jQuery find as well, pick one which suits you.

need some help for a image slide show? [closed]

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 9 years ago.
Improve this question
On my first day of work with html I built a navigation bar yesterday which looks pretty sweet to me ...take a look at it here
Now I want to include a slideshow like thing in my site next probably using some javascript or jquery plug ins...I am looking for something similar to the one at www.forward.co.uk/ (the text on the image looks a pretty good to me)
I have searched on github too ..but the results i got did not match the style i want ..probably my keywords for the search were not too precise..
try this
http://jsfiddle.net/JhVsn/1/
or this ( only for text)
http://jsfiddle.net/JhVsn/2/

confirm box customized? [closed]

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 4 years ago.
Improve this question
i need a green color confirm box along with yes no button instead of ok/cancel . Can u please suggest how i can achieve this.. if there is an alternative please give me the code for it including the css and jquery, javascript files needed to run it. I am a novice in web field so your help will be highly appreciated..thanks.
Here is a jQuery Plugin Confirm Box: jDialog. You can basically skin it the way you like with CSS. Or, you can use jQuery UI's modal box
You can check out here
it's really easy to be done!

Categories

Resources