I already have a button function in place on a page. Now, I'd like to add a second button. Since I am new at this, I can't seem to figure out the right coding to do so.
I need your help... again!
thanks
JL
I already have a button function in place on a page. Now, I'd like to add a second button. Since I am new at this, I can't seem to figure out the right coding to do so.
I need your help... again!
thanks
JL
A button can be made with <button>Click Me</button> or <input type="button" value="Click Me"/>. If you want it to do anything more, you'll have to link to the page in question or post your code (in [code] tags please!).
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
yeah, i meant to also say that I would like to create a "second button" to click on to link to another page.
thanks..
JL
Ah, right. Rather than actually using a button, I suggest using a link styled to look like a button. This will be better for non-JS browsers, and will also allow you more control over the "button's" appearance.
HTML Code:<a href="page.htm" style="cursor:default; background-color:grey; border-width:10%; border-style:outset;" onmousedown="this.style.borderStyle='inset';" onmouseup="this.style.borderStyle='outset';">Click Here</a>
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks