Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Dec 2003
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing Form Buttons To Graphics (Not As Easy As Normal Conversions)

    Hello...

    Can you please help me convert my FORM BUTTONS to GRAPHIC BUTTONS? I have tried, but then the buttons don't work properly...

    Click Here To View The Page


    Thanks,
    Dan

  • #2
    Regular Coder
    Join Date
    Dec 2003
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    I know that some of the smart people in here can help me... Right?


    Thanks,
    Dan

  • #3
    New Coder
    Join Date
    Dec 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Instead of typing [RED]"<input type="button" value="Button" name="B3">"[/RED] for your form button, type:

    [RED]"<input type="image" src="button.gif" width="60" height="21">"[/RED]

    Hope this helps

    Murdz
    Spiral Out

  • #4
    New Coder
    Join Date
    Dec 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Instead of typing <input type="button" value="Search" name="B3"> for your form button, type:

    <input type="image" src="whatever_your_button.gif" width="60" height="21">

    Hope this helps (sorry bout the previous screw up)

    Murdz
    Spiral Out

  • #5
    Regular Coder
    Join Date
    Dec 2003
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [RED]?

    How can I replace the "SEND" button with this graphic http://www.PianoManFan.com/LootTool/EnterButton.gif in this code:

    Code:
    <table width="480" height="10" border="8" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#000000">
              <tr>
                <td width="444" height="64"> 
                  <form name="eMailer" style="{display:inline}" class="two">
                    <strong><font size="3" face="Verdana, Arial, Helvetica, sans-serif">
                    <script language="JavaScript">
    <!-- Begin
    
    var initialsubj="Check Out: www.LOOTTOOL.com"
    var initialmsg="Hey...\n Check Out The Best Comparison Price Search Portal: http://www.LOOTTOOL.com"
    var good;
    function checkEmailAddress(field) {
    
    var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
    if (goodEmail) {
    good = true;
    }
    else {
    alert('Please Enter A Valid E-Mail Address...');
    field.focus();
    field.select();
    good = false;
       }
    }
    u = window.location;
    function mailThisUrl() {
    good = false
    checkEmailAddress(document.eMailer.email);
    if (good) {
    
    //window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u;
    window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg
       }
    }
    //  End -->
    </script><form name="eMailer" style="{display:inline}" class="two">
    <strong><font color="#CCFF99" size="3" face="Verdana, Arial, Helvetica, sans-serif">Tell 
    A Friend: </font> </strong>
    <input type="text" 
        name="email" 
        size="26" 
        onFocus="this.value='';this.style.background='#CCFF99'" 
        onMouseOver="window.status='Enter E-Mail Address Here & Tell A Friend About This Site...'; return true" 
        onMouseOut="window.status='';return true"
        style="background: #CCFF99;background-image: url('http://www.pianomanfan.com/LootTool/TextField1.gif'); background-repeat: no-repeat;" />
    
    <input name="button" type="button" onClick="mailThisUrl();" onMouseOver="window.status='Click Here To Tell A Friend About www.LOOTTOOL.com'; return true" onMouseOut="window.status='';return true" value="Send">
    </form>
    			
    			</td>
              </tr>
            </table>

    THANKS!
    Dan

  • #6
    Regular Coder
    Join Date
    Dec 2003
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It showed up, however, when I press "ENTER" without putting in a valid e-mail address, the address bar changes. How can I avoid that?


    Thanks,
    Dan
    Last edited by Dan6971; 01-17-2004 at 06:54 AM.


  •  

    Posting Permissions

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