Template:Team:TU-Munich/ExCol

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
$(document).ready(function() {
$(document).ready(function() {
-
$('h4').parent('div.bezel').children('h4').prepend("<span style='font-size:90% important!;float:right !important;'class='excol'> [Expand]</span>")
+
$('h4').parent('div.bezel').children('h4').prepend("<span style='font-size:90% important!;float:right !important; margin-left: 5px;'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').prepend("<span style='font-size:90% !important;float:right !important;'class='excol'> [Expand]</span>")
+
$('h3').parent('div.experiment').children('h3').prepend("<span style='font-size:90% !important;float:right !important; margin-left: 5px;'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 22:29, 27 August 2013