• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button
#1
Hi,
at time we have the theme "create a html site" but i dont get my button to work! The button should send you to another site my code is yet

Code:
    <div>
     <button name="Klickmich" type="button"

       <p>
        <img src="" width="106" height="109" alt="Gstebuch"><br>
       </p>
     </button>
    </div>

  Reply
#2
line 2

PHP Code
  1. <button type="button">Klickmich</button>


Edit: If you want it to redirect to another page
Code:
<button type="button" onclick="window.location = 'otherfile.html'">Klickmich</button>

More info:
http://www.w3schools.com/tags/tag_button.asp
  Reply
#3
Thanks

  Reply
#4
rep me Awesome




i r repwhore
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Creating Wait Binds for a consecutive button presses? clxyeah 3 2,838 02-10-2013, 14:01
Last Post: koil
  Help Add To Favorites Button mathieutje12 0 1,654 02-13-2012, 19:50
Last Post: mathieutje12
  Help opening a form via button ? TheCodKingz10 10 5,774 11-24-2011, 11:58
Last Post: Rendflex
  Choose Class button disappearing after side switch (intermission) thre3pi 2 2,096 08-05-2011, 02:13
Last Post: thre3pi
  Action upon a button press cervantes 4 3,205 07-19-2011, 15:38
Last Post: Scripts18
  Help anyway to detect sprint / breathe button being pressed in? koil 3 2,401 07-13-2011, 17:20
Last Post: koil
  saying an actionslot button on screen koil 0 1,317 07-09-2011, 10:05
Last Post: koil
  Help Press Attack Button akim14 4 3,020 07-04-2011, 10:00
Last Post: akim14
  Help Can you disable the jump button for a period of time? clxyeah 5 3,128 07-02-2011, 02:01
Last Post: koil
  [REQUEST] Calling function on button press little morgy 2 2,460 12-10-2010, 08:41
Last Post: d0h!

Forum Jump:


Users browsing this thread: 1 Guest(s)