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

Thread: Button Help!

  1. #1
    New Coder
    Join Date
    Oct 2007
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Button Help!

    Hey! I am new to this forum so I don't know if this is the right place to post this. If it is the wrong place, sorry!

    Ok, I am kinda new to HTML and I am having trouble. I am having trouble with buttons. I have little graphic things for my buttons but I can't figure out how to make it so I can click on it and it will open a new window.

    So, can anybody help me? Thanks in advance!

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    Welcome

    Use the code below:
    Code:
    <a href="your_link_here" target="_blank"><img src="your_imagethingy_url_here" alt="your_picture_hover_description_here" /></a>
    The target="_blank" makes the link open in a new window.

  • #3
    New Coder
    Join Date
    Oct 2007
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by CaptainB View Post
    Welcome

    Use the code below:
    Code:
    <a href="your_link_here" target="_blank"><img src="your_imagethingy_url_here" alt="your_picture_hover_description_here" /></a>
    The target="_blank" makes the link open in a new window.
    Thanks so much!

  • #4
    New Coder
    Join Date
    Oct 2007
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I need help with something else now... I want to be able to click on words and a new window come up... Can somebody help me with that?

  • #5
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    window.open() [javascript] or the target attribute
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Quote Originally Posted by BWiz View Post
    window.open() [javascript] or the target attribute
    You may have misunderstood their most recent question.

    @1kenney - Doing some research on your own would have given you the answer to this. You need to show us that are actually trying to learn this stuff rather than just ask and take.

    <a href="your_link_here" target="_blank">These are words.</a>

    Quite simple isn't it?
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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