I implemented something basic in the image manipulation commands. We can use that as the basis for a Dom fragment.
On 1/20/09, Blair McBride <[email protected]> wrote: > > Nope, and its something I was thinking about earlier today too. > > > - Blair > > > > On 21/01/2009 2:56 PM, Aza wrote: >> I can't remember if we ever got around to adding a DOM fragment object >> to the selection object... >> >> -- aza | ɐzɐ -- >> >> >> On Tue, Jan 20, 2009 at 5:52 PM, Christian Sonne <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> >> On Wed, Jan 21, 2009 at 2:46 AM, Joe <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> Does anyone know of a method that you could grab the URL of a link >> with a ubiquity command? Like for example i want to highlight a >> link, >> and then use the link's url as a variable in a command i am >> working >> on. any ideas? >> >> >> This would be a simple example: >> CmdUtils.CreateCommand({ >> name: "geturl", >> takes: {'sel': noun_arb_text}, >> execute: function(sel) { >> var html = sel.html; >> var links = jQuery(html).find('a'); >> if (links.length > 0) >> displayMessage(links[0].href); >> } >> }); >> >> Hope it helps >> -- cers / Christian Sonne >> >> >> As always, thanks so much guys! >> >> Joe >> >> >> >> >> >> >> > > > > > -- -- aza | ɐzɐ -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
