better embedded text description

This commit is contained in:
Micho 2013-05-23 21:20:09 +02:00
parent e640d4e87a
commit f204abf3c5
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@ $(document).ready(function(){
var $f = $('#embed-form'); var $f = $('#embed-form');
var $url = 'http://apps.opendatacity.de/relog/frame.html'; var $url = 'http://apps.opendatacity.de/relog/frame.html';
var embedCode = function(){ var embedCode = function(){
var $code = '<iframe src="'+$url+'" width="950" height="580" scrolling="no" frameborder="0" style="margin:0"><a href="'+$url+'">re:log - Besucherstromanalyse per re:publica W-LAN</a></iframe><br><small>Realisiert von <a href="http://www.opendatacity.de/">OpenDataCity</a>. Unterstützt durch <a href="http://www.picocell.de">picocell</a> und <a href="http://newthinking.de">newthinking</a>. Anwendung steht unter <a rel="license" href="http://creativecommons.org/licenses/by/3.0/de/">CC-BY 3.0</a>.</small>'; var $code = '<iframe src="'+$url+'" width="950" height="580" scrolling="no" frameborder="0" style="margin:0"><a href="'+$url+'">re:log - Besucherstromanalyse per re:publica W-LAN</a></iframe><br>';
$code += '<small>Zur <a href="http://apps.opendatacity.de/relog/">re:log-Website.</a> ';
$code += 'Realisiert von <a href="http://www.opendatacity.de/">OpenDataCity</a>. ';
$code += 'Unterstützt durch <a href="http://www.picocell.de">picocell</a> und <a href="http://newthinking.de">newthinking</a>. ';
$code += 'Anwendung steht unter <a rel="license" href="http://creativecommons.org/licenses/by/3.0/de/">CC-BY 3.0</a>.</small>';
$('#embed-code', $f).text($code); $('#embed-code', $f).text($code);
}; };
embedCode(); embedCode();