|
Basic_Instructions
Basic instructions on getting dynoBox working on your page.
Featured Basic InstructionsSimplest MethodThe simplest steps are: 1. Add the following to your <head> <script type="text/javascript" src="http://dynobox.googlecode.com/files/jquery.dynobox.0.8.js"></script> 2. Also add the following to your <head> or in an external .js file. <script type="text/javascript">
$(function(){
$('input').dynoBox();
});
</script>This will make dynoBox function for each input field. Adding ParametersAdding parameters is quite easy, and just like any other jQuery plugin. This will, instead of erasing the text in the input, will select it all and changes the default text to 'Type to Search' <script type="text/javascript">
$(function(){
$('input').dynoBox({
value:'Type to Search',
defaultTextFocus:'select'
});
});
</script>
|
► Sign in to add a comment
Ah hah