Team:Brown-Stanford/Templates/Main
From 2011.igem.org
(Difference between revisions)
Line 131: | Line 131: | ||
if (o.showHeading) { | if (o.showHeading) { | ||
c.append("<h2>"+o.headingText+"</h2>"); | c.append("<h2>"+o.headingText+"</h2>"); | ||
+ | } | ||
+ | |||
+ | // add Twitter profile link to container element | ||
+ | if (o.showProfileLink) { | ||
+ | var profileLinkHTML = "<p class=\"profileLink\"><a href=\"http://twitter.com/"+o.userName+"\">http://twitter.com/"+o.userName+"</a></p>"; | ||
+ | c.append(profileLinkHTML); | ||
} | } | ||
Line 145: | Line 151: | ||
var preLoaderHTML = $("<p class=\"preLoader\">"+o.loaderText+"</p>"); | var preLoaderHTML = $("<p class=\"preLoader\">"+o.loaderText+"</p>"); | ||
c.append(preLoaderHTML); | c.append(preLoaderHTML); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
// show container element | // show container element |
Revision as of 23:45, 7 July 2011