Einzelnen Beitrag anzeigen

Balu der Bär
(Gast)

n/a Beiträge
 
#3

Re: [HTML] Google-Button-Design kopieren / nachbilden

  Alt 16. Mai 2008, 12:26
Hey Chef,

besten Dank das sieht perfekt aus.

Leider kriege ich nur nix hin. Wenn ich den Punkt "Getting Started" richtig verstanden habe, sollte es reichen die Dateien einzubinden? Die Beispiel-Codes erzeugen bei mir jedoch nur Standard-0815-Buttons. Muss ich doch das Zip runterladen oder wie geht das?

Code:
<html>
<head>
 
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.5.1/build/button/assets/skins/sam/button.css">
 
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.5.1/build/menu/assets/skins/sam/menu.css">
 
 
<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/element/element-beta-min.js"></script>
 
 
<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/container/container_core-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/menu/menu-min.js"></script>
 
 
<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/button/button-min.js"></script>
<title></title>
</head>
<body>
<button type="button" id="pushbutton1" name="button1" value="Add">Add</button>
<input type="button" id="pushbutton2" name="button2" value="Add">

<div id="buttons">
       <input type="button" id="ok-button" name="ok-button" value="OK">
       <input type="button" id="cancel-button" name="cancel-button" value="Cancel">
   </div>

</body>
</html>
  Mit Zitat antworten Zitat