Skip navigation
Currently Being Moderated

Buttons

Oct 18, 2012 12:00 PM

This might sound stupid but I am looking for a simple subscribe button for my site, I have tried building one in ID but did not have much success, I've looked on the net but most sites seem to be leading you some where else, and I'm not sure about the rest, can any one help please thanks Jeff Lane

 
Replies
  • Currently Being Moderated
    Oct 18, 2012 12:23 PM   in reply to Jeffrey54 Lane

    Subscribe for what exactly -- a newsletter, download link, private log-in page, membership site?

     

    A form button is pretty simple to create.  But what it does depends on what is inside your form-processing script.

     

    <form name="input" action="path/form-processing-script.php" method="get">

    Username: <input type="text" name="user">

    <input type="submit" value="Submit">

    </form>

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 18, 2012 3:00 PM   in reply to Jeffrey54 Lane

    There are lots of ways to do this.  But this is probably the simplest. 

     

    Insert code between your Twitter and Facebook links (or wherever you want this to appear).

     

    <input type=button onClick="location.href='http://google.com'" value='Newsletter' style="color:#000; background:#F90; font-size:12px; cursor:pointer">

     

    Change http://google.com to your actual AWeber page.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 18, 2012 6:32 PM   in reply to Jeffrey54 Lane

    If you need other kinds of buttons then look at these:

    http://slodive.com/web-development/button-maker/

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 19, 2012 8:00 AM   in reply to Jeffrey54 Lane

    Hi Nancy the Aweber link is a link with in the site sorry about that, I tried putting the link but it won’t work. Thanks Jeff

     

    It should work.  Let's see your page.

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 19, 2012 9:47 AM   in reply to Jeffrey54 Lane

    Your code got badly mangled.  Replace this:

     

    <input name="Button" style="color:#000; background:#F90; font-size:12px; cursor:pointer" onclick="location.href='../subscribers.php" type="button"&gt;'" value='Newsletter'&gt;

     

    with this:

     

    <input name="Button" style="color:#000; background:#F90; font-size:12px; cursor:pointer" 
    onclick="location.href='subscribers.php'" type="button"  value="Newsletter">

     

    Note: No leading dots or slash on 'subscribers.php'.  Include links are relative to the parent page; not the include file.  Also, double quotes must be wrapped around attribute values.

     

    For a more consistent look, you might want to use the Button for your 'Contact Us' link, too.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 21, 2012 9:32 AM   in reply to Jeffrey54 Lane

    Use an XHTML closure at the end.

     

    cursor:pointer" />

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 21, 2012 3:14 PM   in reply to Jeffrey54 Lane

    I found this explanation:

    http://webdesignerwall.com/tutorials/css3-gradient-buttons/comment-pag e-19

     

    This is his example button from link above.

     

    • First, copy the .button and .blue CSS

    (view demo source code).  <- In IE go to View> Source

    • Then, add  class="button blue" to the HTML element where you want the button to be (eg. <a href="#" class="button blue">Button</a>). The CSS classes can be applied to any element such as link, p, span, div, input, button, etc.
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points