dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Onclick button reveal text

  1. #1
    Join Date
    Mar 2013
    Posts
    4

    Onclick button reveal text

    Hello everyone

    I want to make a button that whenever someone clicks on it a ''couponcode '' reveals in the button.
    For example like this one. http://www.vouchercloud.com/bhs-vouc...t-voucher-code

    When you click on '' Get code'' the webshop opens and the code reveals in the button. This is exactly what I want.

    How can I make this? Your help is much appreciated!!

  2. #2
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,435
    Does each "Get Code" link open up a new webpage?
    Or do you want to display the code within the same page?

    Either can be done.
    For the first, you will need to design the webpage to open or create.
    For the second, you will still need to create an in-page display in a <div> section.

  3. #3
    Join Date
    Mar 2013
    Posts
    4
    Hello JMRKER thanks for your answer, but I got it all already solved now!

  4. #4
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,435
    Quote Originally Posted by Kaffo View Post
    Hello JMRKER thanks for your answer, but I got it all already solved now!
    Well good, but since you asked the question on a forum, it would be nice for others viewing the thread
    to see how you solved your problem in case they wish to do something similar based upon your thread title.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles