Team:Bielefeld-Germany/Photos

From 2011.igem.org

(Difference between revisions)
Line 6: Line 6:
\\ on click auf Buttons tagname Variable ändern
\\ on click auf Buttons tagname Variable ändern
-
var tagname;
+
var tagname = Team;
-
var url = "<iframe align=\"center\" src=\"http://www.flickr.com/slideShow/index.gne?
+
var url = '<iframe align="center" src="http://www.flickr.com/slideShow/index.gne?
-
user_id=62454421@N04&tags=" + tagname + "\" frameBorder=\"0\" width=\"600\" height=\"600\" scrolling=\"no\"></iframe>";
+
user_id=62454421@N04&tags=' + tagname + '" frameBorder="0" width="600" height="600" scrolling="no"></iframe>';
document.writeln(url);
document.writeln(url);

Revision as of 18:13, 20 September 2011

<script>

\\ on click auf Buttons tagname Variable ändern

var tagname = Team;

var url = '<iframe align="center" src="http://www.flickr.com/slideShow/index.gne? user_id=62454421@N04&tags=' + tagname + '" frameBorder="0" width="600" height="600" scrolling="no"></iframe>';

document.writeln(url); </script>