[Mapbender-commits] r5580 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Feb 20 10:29:49 EST 2010
Author: christoph
Date: 2010-02-20 10:29:48 -0500 (Sat, 20 Feb 2010)
New Revision: 5580
Modified:
trunk/mapbender/http/plugins/mb_twitter_update.js
Log:
Modified: trunk/mapbender/http/plugins/mb_twitter_update.js
===================================================================
--- trunk/mapbender/http/plugins/mb_twitter_update.js 2010-02-20 15:26:57 UTC (rev 5579)
+++ trunk/mapbender/http/plugins/mb_twitter_update.js 2010-02-20 15:29:48 UTC (rev 5580)
@@ -46,18 +46,6 @@
var pix = map.getMousePosition(e);
var p = map.convertPixelToReal(pix);
-/*
- if (pix.y > height/2) {
- // display twitter in bottom half
- pix.y = height/2;
- }
- else {
- // display in top half
- pix.y = height/2;
- }
-
- *
- */
var m = new Mapbender.Marker(p, map);
var $twitterStatus = $("<div style='z-index:999;position:absolute;top:" +
@@ -68,7 +56,7 @@
"<div>What's happening?<span class='chars-left' style='float:right'>140</span></div>" +
"<textarea rows='2' cols='70'></textarea>" +
"<br><span style='float:right;margin:10px;'>" +
- "<span id='twitter_update' style='cursor:pointer;margin:5px;padding:5px;' " +
+ "<span id='twitter_update_send' style='cursor:pointer;margin:5px;padding:5px;' " +
"class='ui-state-default ui-corner-all'>update</span>" +
"<a id='twitter_cancel' href='#'>cancel</a></span>" +
"</div></div>").appendTo("body").show("slow");
@@ -79,7 +67,7 @@
var avail = 140 - chars;
$charsLeft.text(avail);
});
- var $button = $("#twitter_update");
+ var $button = $("#twitter_update_send");
$button.click(function () {
$twitterStatus.hide("slow", function () {
m.remove();
@@ -106,13 +94,3 @@
}
});
});
-
-/*
-.content-bubble-arrow {twitter.css (line 2)
-background-image:url(http://s.twimg.com/a/1266605807/images/arr2.gif);
-background-position:25px 0pt;
-background-repeat:no-repeat;
-margin-top:1em;
-padding-top:11px;
-}
-*/
\ No newline at end of file
More information about the Mapbender_commits
mailing list