Template:Biotec Dresden/Header

From 2010.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>
<head>
-
<link type="image/png" href="http://www.biotec.tu-dresden.de/fileadmin/templates/images/biotecicon.png" rel="icon">
 
-
<link type="image/x-icon" href="http://www.biotec.tu-dresden.de/fileadmin/templates/images/favicon.ico" rel="shortcut icon">
 
  <script src="http://code.jquery.com/jquery-latest.min.js"></script>
  <script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
Line 17: Line 15:
<script type="text/JavaScript">
<script type="text/JavaScript">
-
        $("link[rel^='icon']").empty();
+
$(function changeFavicon(imagepath){
-
</script>
+
$('link[type=image/x-icon]').remove();
 +
$('<link type="image/x-icon" rel="shortcut icon" href="http://www.biotec.tu-dresden.de/fileadmin/templates/images/favicon.ico'" />').insertAfter('head');
 +
$('<link type="image/x-png" rel="icon" href="http://www.biotec.tu-dresden.de/fileadmin/templates/images/biotecicon.png'" />').insertAfter('head');
 +
});
 +
</script>
-
 
<script type="text/JavaScript" src="http://endo.bio.tu-dresden.de/igem/scripthost/browser_reject/jquery.reject.min.js"></script>
<script type="text/JavaScript" src="http://endo.bio.tu-dresden.de/igem/scripthost/browser_reject/jquery.reject.min.js"></script>
<script type="text/javascript">
<script type="text/javascript">

Revision as of 16:02, 25 October 2010