i'm trying to insert an external page of google into an iframe. the problem is that i want to cut some pieces of the page, and cannot by simply setting the width and height. that's the external url: http://www.google.com/search?hl=en&...fa+world+cup+2010&aq=f&aqi=&aql=&oq=&gs_rfai= and that's the way i want to insert it.
i dont think u can simply put an iframe for a google page.Try to get some other site where you get live updated score.And try to put that part of page as an iframe
This is the widget code you can put in your webpage: <div class="widgetFlashMovie" id="flashWorldCup"><embed type="application/x-shockwave-flash" src="http://www.fifa.com/flash/widgets/worldcup/main.swf?lang=e&team=nzl" style="" id="flashWorldCup" name="flashWorldCup" bgcolor="#ffffff" quality="high" wmode="transparent" flashvars="lang=e&team=nzl" width="300" height="400"></div> Code (markup):
as i said.. u just cant put pages of such a huge site into iframes.. try google..try rapidshare...try fifa.. they have scripts/coding to avoid such things.. try using some other small but efficient site,which keeps updating the score. and you can easily embed its page using iframes,setting width and heights and z index,and position.
Maybe u could find a piece of code of the rankings at that Google page, and implement it somehow in your page. Firefox has the option to see page's code.
Wow, that's perfect, needs a bit of tweeking, and some scrollbars would make it function like a breeze.
The problems with the "window frame" approach are: 1. The position of the results box changes as the elements above them change. I see more GoogleAds than results right now. 2. Just one step up or down in the browser font size also pushes the results out of view.
yaa...do that.. scrolling="no" ---->make this as "yes" for scrolling ! and other things change yourself,left and right..height and width !