<div style=\"position:relative;    min-height:50px;max-height:
500px;overflow-y: scroll;\">
is better :) avoid to break absolut css inside the div

On Feb 7, 10:04 pm, Blair McBride <[email protected]> wrote:
> Yes, it *should* be handled automatically by Ubiquity.
>
> - Blair
>
> On 8/02/2009 4:03 PM, amau96 wrote:
>
> > <div style=\"min-height:50px;max-height: 500px;overflow-y: scroll;\">
> > yep this a good idea :) and it's work
> > But don't you think that should be part of the core? not exactly like
> > that, but something more sophisticate that put scroll only when
> > needed
>
> > On Feb 7, 9:51 pm, davisd79<[email protected]>  wrote:
> >> Hey guys dont know if you have seen this yet. But looks like the
> >> Remember The Milk Ubiquity command has this working. When viewing your
> >> tasks in the preview pane it adds a scroll bar to scroll through all
> >> of your tasks. Here is the link to the command.
>
> >>http://garyhodgson.github.com/ubiquity-rtm-api/
>
> >> On Feb 7, 5:49 pm, Blair McBride<[email protected]>  wrote:
>
> >>> Thanks!
> >>> For future reference, the ticket 
> >>> is:http://ubiquity.mozilla.com/trac/ticket/557
> >>> - Blair
> >>> On 8/02/2009 11:43 AM, amau96 wrote:
> >>>> done
> >>>> On Feb 7, 4:59 pm, Blair McBride<[email protected]>    wrote:
> >>>>> Thinking about this more, I consider this a bug in Ubiquity. And its
> >>>>> kind-of related tohttp://ubiquity.mozilla.com/trac/ticket/297
> >>>>> Could you add a bug report to Trac?http://ubiquity.mozilla.com/trac/
> >>>>> Thanks
> >>>>> - Blair
> >>>>> On 8/02/2009 10:52 AM, amau96 wrote:
> >>>>>> don't seem to work
> >>>>>> //fonction to transform link
> >>>>>>      function processNode() {
> >>>>>>        var href = jQuery(this).attr("href");
> >>>>>>        if(/[a-z]\:\/\//.exec(href) === null) {
> >>>>>>          if(href[0] == "/")
> >>>>>>            jQuery(this).attr("href", "http://www.imdb.com"; + href);
> >>>>>>        }
> >>>>>>      }
> >>>>>> CmdUtils.CreateCommand({
> >>>>>>      name: "test",
> >>>>>>      icon:"http://www.imdb.com/favicon.ico";,
> >>>>>>      takes: {"input": noun_arb_text},
> >>>>>>      homepage: "http://gist.github.com/59109";,
> >>>>>>      author: { name: "A.BLANC", email: "[email protected]"},
> >>>>>>      license: "MPL",
> >>>>>>      description: "Have a quick preview on IMDB about a movie",
> >>>>>>      preview: function(previewBlock,input) {
> >>>>>>         previewBlock.innerHTML ="Welcome to the IMDB preview, just put
> >>>>>> the name of your movie<br /><center><img src=\"http://i.media-imdb.com/
> >>>>>> images/nb15/logo2.gif\" width=\"50%\" height=\"50%\"></center>";
> >>>>>>         url="http://www.google.com/search?btnI=ok&q=imdb+"+input.text;
> >>>>>>       if(input.text!=""){
> >>>>>>        Utils.parseRemoteDocument(
> >>>>>>          url, // URL
> >>>>>>          null, // post data
> >>>>>>          function(doc) { // success callback
> >>>>>> jQuery("*",doc).css("color","#CCC");
> >>>>>> jQuery("a",doc).css("color","#003399");
> >>>>>> jQuery("span",doc).css("font-size","59%");
> >>>>>> jQuery("#top_center_wrapper",doc).hide();
> >>>>>> jQuery("#top_center_after",doc).hide();
> >>>>>> jQuery("#tn15adrhs",doc).hide();
> >>>>>> jQuery(".starbar .inner",doc).css("background","transparent url(http://
> >>>>>> i.media-imdb.com/images/SF9cafc9501d815ffdcef81a364ea168dd/tn15/
> >>>>>> stars.gif) no-repeat scroll 0 -20px");
> >>>>>> jQuery(".starbar .inner",doc).css("height","20px");
> >>>>>> jQuery("#tn15rating.two .general",doc).css("top","-40");
> >>>>>> jQuery("#tn15rating.two .us",doc).css("height","3em");
> >>>>>> jQuery("#tn15rating .rating",doc).css("position","relative");
> >>>>>> jQuery(".starbar .outer",doc).css("background","transparent url(http://
> >>>>>> i.media-imdb.com/images/SF9cafc9501d815ffdcef81a364ea168dd/tn15/
> >>>>>> stars.gif) no-repeat scroll 0 0");
> >>>>>> jQuery(".starbar .outer",doc).css("width","200px");
> >>>>>> jQuery(".meta",doc).css("position","absolute");
> >>>>>> jQuery("#tn15rating .bottom div.left",doc).css("top","20px");
> >>>>>> jQuery("#tn15rating .bottom div.left",doc).css("position","absolute");
> >>>>>> jQuery("#tn15main .info h5",doc).css("position","absolute");
> >>>>>> jQuery("#tn15main .info h5",doc).css("margin-left","-10em");
> >>>>>> jQuery("#tn15main .info",doc).css("margin-left","10em");
> >>>>>> jQuery("#tn15main h5",doc).css("font-size","100%");
> >>>>>> jQuery("#tn15rating.two .usr",doc).css("height","3em");
> >>>>>> jQuery("#tn15main .info h5",doc).css("margin-top","0");
> >>>>>> jQuery("#tn15rating.two .usr",doc).css("height","3em");
> >>>>>> jQuery("#tn15rating.two .usr",doc).css("height","3em");
> >>>>>> jQuery("table",doc).find("a").each(processNode);
> >>>>>> jQuery(".info",doc).find("a").each(processNode);
> >>>>>>             previewBlock.innerHTML = "<div id=\"lol\">"+jQuery
> >>>>>> ("#tn15title", doc).html()+jQuery("#tn15content", doc).html()+"</
> >>>>>> div>"+jQuery("#lol",doc).css("height","100%")+jQuery("#lol",doc).css
> >>>>>> ("overflow","scroll");
> >>>>>>          },
> >>>>>>          function() { // error callback
> >>>>>>            previewBlock.innerHTML = "Error!";
> >>>>>>          }
> >>>>>>        );
> >>>>>>       }//end of if input.text==""
> >>>>>>      } //fin de preview
> >>>>>> });
> >>>>>> On Feb 7, 4:38 pm, Blair McBride<[email protected]>      wrote:
> >>>>>>> This is untested... but you should be able to wrap your preview in a
> >>>>>>> div, and give that div the following CSS style:
> >>>>>>> height: 100%;
> >>>>>>> overflow: scroll;
> >>>>>>> Let us know how that works out.
> >>>>>>> - Blair
> >>>>>>> On 6/02/2009 12:54 PM, amau96 wrote:
> >>>>>>>> there is the scripthttp://gist.github.com/59109
> >>>>>>>> it's not finish, but what do you think of it?
> >>>>>>>> On Feb 5, 6:39 pm, amau96<[email protected]>        wrote:
> >>>>>>>>> I evey body,
> >>>>>>>>> I just realized that my preview is very big, is it possible to add a
> >>>>>>>>> scroll bar on the preview window?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to