Skip to content

Instantly share code, notes, and snippets.

@geeknam
Created January 13, 2011 15:19
Show Gist options
  • Save geeknam/778025 to your computer and use it in GitHub Desktop.
Save geeknam/778025 to your computer and use it in GitHub Desktop.
HTML skeleton of Chrome Extension
<html>
<head>
<link type="text/css" href="style.css" rel="stylesheet" />
<script src="jquery.js"></script>
<script src="getpic.js"></script>
</head>
<body>
<div id="header">
<a href="http://myrp.sg/sass-student/" target="_blank">Login here</a>
before using this extension
</div>
<form id="studentForm">
<table>
<tr>
<td class="label">Student ID:</td>
<td><input type="text" name="studentId" id="studentId" /></td>
</tr>
<tr>
<td class="label">Full Name:</td>
<td><input type="text" name="fullname" id="fullname" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="Get Picture" onclick="showPic(); return false;"/></td>
</tr>
</table>
</form>
<div id="studentImage"></div>
<div id="footer">Republic Polytechnic | Developed by Ngo Minh Nam</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment