WordPress.org

Support

Support » Plugins and Hacks » Dreamgrow Scroll Triggered Box » [Resolved] Email address box text

[Resolved] Email address box text

  • Hi,

    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 http://www.dreamgrow.com 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!

    http://wordpress.org/extend/plugins/dreamgrow-scroll-triggered-box/

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

    @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!

    Plugin Author madisn

    @madisn

    Resolved

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