Support » Plugin: Dreamgrow Scroll Triggered Box » Email address box text

  • Resolved KasparP



    How to change the “by default” text in the box where people can write their e-mails so that it will disappear when clicked and started typing?

    The example would be your own box, where the text goes lighter after clicking.

    Right now, without editing the plugin settings, if one wants to type in their email, the typing starts from the end of the original text, for example”Enter Your Aadress” and the subscribed address looks like this “Enter Your AadressTim@…com”

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • madisn


    The easiest way is to use a HTML5 placeholder:

    <input type="email" name="email" placeholder="XXX" />

    Second option without jquery:

    <input type="text" name="email" onblur="if (this.value == '') {this.value = 'XXX';}"
    onfocus="if(this.value == 'XXX') {this.value = '';}" value="XXX" />



    Thanks for your quick help!


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Email address box text’ is closed to new replies.