Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    4
    Member #
    11955
    I'm using dreamweaver, and I want to use those xp-style buttons on my webpage. I inserted one in dreamweaver, but I dont know how to code it! I want it to go to a webpage when I click the button.. What woudl the code be for that?

    Thanks
    John

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    HTML Code:
    <input type="button" onClick="window.location='newpage.htm'" />

  4. #3
    Senior Member
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    435
    Member #
    8983
    Quick Question I am assumeing that when you say XP style buttons that you mean an every day button in that case then yes the above would work an alternitive would be:
    HTML Code:
    <button onclick="cpage(URL_HERE)">Name Here</button>
    Code:
    //handeler for the button
    function cpage(page)
    {
    window.location = page
    }
    The above allows you to have more then one button on a web page. notice the alternet syntax for button to i belive that this syntax is valid without being imbeded in a form tag.
    Thee Pyro Wolf


Remove Ads

Posting Permissions

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

Search tags for this page

css xp style buttons

Click on a term to search for related topics.
All times are GMT -6. The time now is 12:43 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com