SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Hybrid View

  1. #1
    SitePoint Zealot Technics's Avatar
    Join Date
    Aug 2000
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Whats wrong with this?

    I'm slowly changing all buttons on my site to this format and i've got one that doesnt work :


    <input type="image" type="submit" src="http://www.kchat.org/images/leave.gif" name="logoff" value="Logoff" target="top">

    When i click it instead of compeltly leaving the script like it does without an image it just fires the chatform to the top, if i take the image part out it works right. any ideas? It should break free from the script and frames.

  2. #2
    SitePoint Member Artur's Avatar
    Join Date
    Apr 2002
    Location
    Chicagoland, USA
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here try something like this:

    <input border="0" value="Submit" type="image" src="https://secure.eboundhost.com/images/btnsubmit.gif" width="90" height="26" name="image">

    This works for us.

    Your problem is the "type" redefinition. The browser is getting confused.

  3. #3
    SitePoint Zealot Technics's Avatar
    Join Date
    Aug 2000
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thata didn't work either

    Thanks Though

  4. #4
    SitePoint Member Artur's Avatar
    Join Date
    Apr 2002
    Location
    Chicagoland, USA
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have a link to look at? It would be easier to troubleshoot the actual code.

  5. #5
    SitePoint Zealot Technics's Avatar
    Join Date
    Aug 2000
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.kchat.org/echat43/public/

    i have actually removed the image for now as it was doing people's heads in when it came to logging out. But i'm sure by clicking the log off button you'll see what i'm trying to achieve with a graphic button.

  6. #6
    SitePoint Member Artur's Avatar
    Join Date
    Apr 2002
    Location
    Chicagoland, USA
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've looked at your link and everything seems to be kosher. Try doing what I told you before. Here is a link to our order page that has a graphic link at the bottom. Try looking at the source:
    https://secure.eboundhost.com/secureorder.php

  7. #7
    SitePoint Member
    Join Date
    Mar 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are wrong

  8. #8
    SitePoint Wizard bronze trophy KevinR's Avatar
    Join Date
    Nov 2004
    Location
    Moon Base Alpha
    Posts
    1,053
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jtjohn632 View Post
    You are wrong
    And you're replying to a thread that is 7 years old.


Bookmarks

Posting Permissions

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