David
unread,Nov 1, 2010, 1:21:21 AM11/1/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Apps
If they do, what are limitations where they don't work? Like target =
blank, top, self, use of javascript to modify/manage link, etc.?
I was developing some extensions and noticed that the hyperlinks don't
work. My extensions are "popup" pages/actions, like the example given
in the Chrome Extension Getting Started tutorial and this is what I
observe:
* link appears as a normal hyperlink
* link seems clickable w/ mouse
* nothing happens when click valid link
* no options come up if you right-click the link
What's up with that?
FYI, here's my link
<a href="javascript:createLink();" id="linker"><span
id="linktxt">Dynamic link will be here...</span></a>
I probably should chnge the default href value but that shouldn't
matter..
I set the value with this:
function createLink()
{
document.getElementById('linker').href =
document.getElementById('thelink').value;
document.getElementById('linktxt').innerText =
document.getElementById('thelink').value;
}
This same code worked fine in my version of the extension for Apple's
Safari browser.