Team:UT Dallas/Team

From 2013.igem.org

(Difference between revisions)
Line 25: Line 25:
     {
     {
       var str = $(this).next().html();
       var str = $(this).next().html();
 +
  var this_dt=$(this);
       if (str.length > 1)  
       if (str.length > 1)  
  {
  {
           allPanels.slideUp();
           allPanels.slideUp();
-
           $(this).next().slideDown('slow',function()
+
           this_dt.next().slideDown('slow',function()
{
{
allPanels_titles.css('background-image',"url('https://static.igem.org/mediawiki/2013/f/fb/Accordian_bg.jpg')");
allPanels_titles.css('background-image',"url('https://static.igem.org/mediawiki/2013/f/fb/Accordian_bg.jpg')");
-
$(this).css('background-image',"url('https://static.igem.org/mediawiki/2013/6/66/Accordian_bg_open.jpg')");    
+
this_dt.css('background-image',"url('https://static.igem.org/mediawiki/2013/6/66/Accordian_bg_open.jpg')");    
}
}
  );
  );
Line 37: Line 38:
  else
  else
  {
  {
-
alert($(this).attr('link'));
+
alert(this_dt.attr('link'));
allPanels_titles.css('background-image',"url('https://static.igem.org/mediawiki/2013/f/fb/Accordian_bg.jpg')");
allPanels_titles.css('background-image',"url('https://static.igem.org/mediawiki/2013/f/fb/Accordian_bg.jpg')");
-
$(this).css('background-image',"url('https://static.igem.org/mediawiki/2013/6/66/Accordian_bg_open.jpg')");
+
this_dt.css('background-image',"url('https://static.igem.org/mediawiki/2013/6/66/Accordian_bg_open.jpg')");
  }
  }
  return false;
  return false;

Revision as of 00:01, 7 September 2013

About UTD
Students
Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.
Advisors
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.