I have developed a webapp to use it as Firefox extension. In Firefox I include it with an iframe like this
<iframe src="http://mywebapp.com" flex="2" id="browserTable" name="table_frame"/>
Now I want to have some outgoing links in my app. If I just use normal link markup like
<a href="http://mywebapp.com/contact">Contact</a>
the link is opened in the iframe that is small in space since it is in the sidebar. Is there any way to open it in a new tab in the main browser window?
The
targetattribute allows you to specify which window to open a link in. You have these special keywords you can place in the attribute:So, here is your HTML:
EDIT Did some research after our discussion in comments, and found this snippet:
Source: http://mesh.typepad.com/blog/2004/11/creating_a_new_.html
Let me know if that works out… curious myself, but my current FF environment is not one in which I can easily experiment with extension dev, and I don’t want to change things to try.