Is it supposed to be used like this?

var visualTab = chrome.tabs.captureVisibleTab(20, function(capture)
{}););
document.getElementById('content').innerHTML += '<img src="'+visualTab
+'" />';

Thats what I'm doing at the moment and I can't get it to work. (I'm
sure 20 is a valid tab id)

Please could someone tell me what I'm doing wrong.

Thanks

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensi...@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