Here is the code...
background.html:
chrome.pageAction.onClicked.addListener(function(tab)
{chrome.tabs.create({url: 'options.html'})});
Thanks for any help...
-- Hexid
instead of handling the tab creation in the background page...I moved
it to a popup.html page and below is the code...
popup.html:
<html>
<head>
<script>
chrome.tabs.create({url: "options.html"});
window.close();
</script>
</head>
</html>
This opens the new tab and closes the popup...for some reason the
popup is never shown which is good in my case
-- Hexid
> --
> You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to chromium-extens...@chromium.org.
> For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
>
>