<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000099" bgcolor="#ffffff">
<font size="-1"><font face="Verdana">Aviaron on Stack Overflow found
the solution to this.<br>
<br>
The problem was in styling: the button's style needs to be
defined for class set by displayClass + "ItemInactive" attached
as a postfix (as it seems there is no difference really between
active and inactive items of the button type, there is no need
to activate a button, thus only the "ItemInactive" postfix
version applies); and also the panel itself must be styled
(using class set by displayClass of the panel) so that the
resulting button's DIV gets placed within the resulting panel's
DIV.<br>
<br>
Regards,<br>
Janis <br>
</font></font><br>
On 2011.05.11. 14:50, Janis Elmeris wrote:
<blockquote cite="mid:4DCA77FB.10905@intelligentsystems.lv"
type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<p><font size="-1"><font face="Verdana">Hello!<br>
</font></font></p>
<p><font size="-1"><font face="Verdana">Thanks for the link! Tried
it a bit, although not everything works, e.g., the layer
switchers do not appear, overview map does not appear, the
popped-up text has no background (and appears somewhat far
from the marker).<br>
</font></font></p>
<p><font size="-1"><font face="Verdana">But most importantly, the
tool does not have an option to add a button to the map that
would then call some JS upon being clicked.<br>
</font></font></p>
<p><font size="-1"><font face="Verdana">Regards,<br>
Janis<br>
</font></font></p>
<br>
On 2011.05.11. 13:47, Parveen Arora wrote:
<blockquote
cite="mid:BANLkTikfhaXWYDgaJp5i_PT+vLWfggLQpg@mail.gmail.com"
type="cite">
<pre wrap="">On Tue, May 10, 2011 at 7:20 PM, Janis Elmeris
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:janis.elmeris@intelligentsystems.lv"><janis.elmeris@intelligentsystems.lv></a> wrote:
Hello Janis,
</pre>
<blockquote type="cite">
<pre wrap="">Can someone point me to the right direction, please, or post a working
example? My non-working example is attached.
</pre>
</blockquote>
<pre wrap="">Try Slippy Map Generator
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://osmtools.de/easymap/">http://osmtools.de/easymap/</a>
Try If this works for you, and further ask for help freely If required?
</pre>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
</blockquote>
</body>
</html>