开发者

DropMenu from iFrame

开发者 https://www.devze.com 2023-02-14 06:14 出处:网络
I\'m currently developing a toolbar for chrome and i have some issues with my dropMenu. So basicelly my too开发者_StackOverflow社区lbar bar is a iframe, and i want to put a dropmenu in it. But the pro

I'm currently developing a toolbar for chrome and i have some issues with my dropMenu. So basicelly my too开发者_StackOverflow社区lbar bar is a iframe, and i want to put a dropmenu in it. But the problem is that my dropmenu only stay in the iframe and what i want is that it overflow out of the iframe.

Let me show you a printscreen of my wish :

http://img713.imageshack.us/i/iframe.png/


Are you talking about a Chrome extension or plain old HTML?

If HTML, are you able to do the opposite and make the main page your toolbar with a huge <iframe> containing the main website. This is how StumbleUpon structures their layout and their toolbar has dropdown menus.

Realise though that any website that employs frame-busting code (like Facebook, Twitter and StackExchange network websites) won't ever be able to be toolbar-ed.


I think your only hope is to make the iframe as high as the drop down is, and use a transparent background on your iframe with allowtransparency="true".

For want of a better link, see:

http://www.htmlite.com/SD009b.php
http://www.htmlite.com/trans_iframe1.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号