Remove border from IFrame

How would I remove the border from an iframe embedded in my web app? An example of the iframe is: <iframe src=”https://stackoverflow.com/questions/65034/myURL” width=”300″ height=”300″>Browser not compatible.</iframe> I would like the transition from the content on my page to the contents of the iframe to be seamless, assuming the background colors are consistent. The target browser … Read more

How can I access the contents of an iframe with JavaScript/jQuery?

I would like to manipulate the HTML inside an iframe using jQuery. I thought I’d be able to do this by setting the context of the jQuery function to be the document of the iframe, something like: $(function(){ //document ready $(‘some selector’, frames[‘nameOfMyIframe’].document).doStuff() }); However this doesn’t seem to work. A bit of inspection shows … Read more

How to get SimplePie fetch_feed without stripping iframe code?

I’m grabbing a remote feed in my plugin and some entries have iframe code I want to keep. However, SimplePie fetch_feed keeps stripping it out. Here is my code and what I’ve tried already: kses_remove_filters(); # remove kses filters but SimplePie strips codes anyway $rss = fetch_feed( ‘http://www.someblog.com/feed/’ ); $rss_items = $rss->get_items( 0, 2 ); … Read more