Looks like you've got a quotes-within-quotes problem:
onclick="chrome.tabs.create> ({url:"about:blank"});"

Try changing either the inner or outer ones to single quotes, or prefix the
inner ones with a \ character.


On Mon, Oct 5, 2009 at 8:45 AM, Caleb Eggensperger <caleb...@gmail.com>wrote:

>
> [ -chromium-discuss, +chromium-extensions ]
>
> On Mon, Oct 5, 2009 at 04:33, aRion <ari...@gmail.com> wrote:
> >
> > I am trying to do a test on chrome tabs API on below extension setup.
> > but the tab which somehow didn't come up.
> > Can anyone help ? Thanks.
> >
> > mainfest.json
> > {
> >  "name": "extension test",
> >  "version": "0.1",
> >  "description": "Extension Test",
> >  "toolstrips": ["et.html"],
> >  "permissions": ["tabs"]
> > }
> >
> > et.html
> > <div  class="toolstrip-button" onclick="chrome.tabs.create
> > ({url:"about:blank"});">
> >  <span>TEST</span>
> > </div>
> >
> >
> > >
> >
>
>
>
> --
> Caleb Eggensperger
> http://calebegg.com/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensions@googlegroups.com
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to