Template:Team:TU-Munich/ExCol

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <script> $(document).ready(function() { $('h4').parent('div.bezel').children('h4').append("<span style='font-size:90%;float:right;'class='excol'> [Expand]</span>") $('h4...")
Line 3: Line 3:
$(document).ready(function() {
$(document).ready(function() {
-
$('h4').parent('div.bezel').children('h4').append("<span style='font-size:90%;float:right;'class='excol'> [Expand]</span>")
+
$('h4').parent('div.bezel').children('h4').append("<span style='font-size:90% important!;float:right !important;'class='excol'> [Expand]</span>")
  $('h4').parent('div.bezel').children().not('h4').hide()
  $('h4').parent('div.bezel').children().not('h4').hide()
  $('h4').parent('div.bezel').children('h4').click(function() {
  $('h4').parent('div.bezel').children('h4').click(function() {
Line 14: Line 14:
  });
  });
  $('h4').parent('div.bezel').children('h4').attr({ onMouseOver: "this.style.cursor='pointer'"})
  $('h4').parent('div.bezel').children('h4').attr({ onMouseOver: "this.style.cursor='pointer'"})
-
$('h3').parent('div.experiment').children('h3').append("<span style='font-size:90%;float:right;'class='excol'> [Expand]</span>")
+
$('h3').parent('div.experiment').children('h3').append("<span style='font-size:90% !important;float:right !important;'class='excol'> [Expand]</span>")
  $('h3').parent('div.experiment').children().not('h3').hide()
  $('h3').parent('div.experiment').children().not('h3').hide()
  $('h3').parent('div.experiment').children('h3').click(function() {
  $('h3').parent('div.experiment').children('h3').click(function() {

Revision as of 12:40, 13 June 2013