Reputation: 1577
I am looking for way to implement iframe just like a frame.
There is a problem with scroll bar when I update the src of it. It sometimes disappears for some web pages (like Yahoo.com). And I have to work against frame breaker too.
There is a very good implementation that fits my need. It is the Navigator of EyeOS. I would like to know if there is any similar implementation that is standalone and off-the-shelf.
The reason I am not using frame is that I am not allowed to have JavaScript drop-down menu over the frame. As far as my research goes, it is not possible except for HTML combobox control. Please let me know if I am incorrect. :-)
Upvotes: 0
Views: 735
Reputation: 60574
I'm sorry, but I have to question your means to reaching your goal. Why do you need an iframe
in the first place? Can the problem in question be solved with ajax and/or a scrollable div
element?
With
div.scroll { overflow: scroll; }
in your css, you can make the contents of any div
scroll just like an iframe
. With the help of jQuery, making cross-browser compatible AJAX request is peanuts. =)
Please be more specific: exactly what is it that you want to accomplish with the iframe
?
Upvotes: 1