Permalink
Browse files

first jQuery contact: turning links into buttons

  • Loading branch information...
1 parent 9e928ab commit 7ccd87cfd88e61283128b72c4947597638640014 @garu committed Jun 13, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 tweetylicious.pl
View
@@ -53,6 +53,9 @@ package main;
<title>Tweetylicious</title>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dark-hive/jquery-ui.css" rel="Stylesheet" />
<link type="text/css" rel="stylesheet" media="screen" href="/static.css" rel="Stylesheet" />
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
+ <script type="text/javascript" src="/static.js"></script>
</head>
<body>
<div id="header"><a href="/"><div id="logo">Tweetylicious!</div></a>
@@ -204,4 +207,9 @@ package main;
#footer {clear:left; margin: 20px auto; padding-top: 10px;height: 26px; background: #555; color: #ccc; font-size:12px; text-align: center; }
#footer a { text-decoration: none; color: #eee }
+@@ static.js.ep
+$(function() {
+ // creating our buttons
+ $(".options").find("a").button();
+});

0 comments on commit 7ccd87c

Please sign in to comment.