On 7/17/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 17, 2007 at 04:02:04PM +0200, Eric Lemoine wrote:
> > On 7/12/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote:
> > (1) using popup.contentDiv.style.overflow='auto' works fine except
> > half of the scrollbar is hidden in my case (I use AnchoredBubble w/ a
> > close button). Do you know a way to avoid this?
>
> Ah, I didn't actually use this solution. I just make my content have a
> small scrollable div inside.
>
>         html += "<div style='overflow:auto; width:250px;
>         height:200px;'><b>"+attrs.title+"</b><br /><a
>         href='http://flickr.com/photos/"+attrs.owner+"/"+attrs.id+"/'><img
>         
> src='http://farm"+attrs.farm+".static.flickr.com/"+attrs.server+"/"+attrs.id+"_"+attrs.secret+"_m.jpg'
>         /></a></div>";
>
> 25px less wide than the popup.

I tried that and it worked ok. Thx a lot!

Any advice on the mousewheel thing? ;->

--
Eric
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to