View Full Version : iframe target help
wartog
05-25-2007, 09:29 AM
Hi I try to put an iframe from external site to my webiste, but I cant find something like this..can someone help me please.
This is a sample how i hope it can be work..
example like this.. I'm going to make an iframe target to yahoo "featured news"
http://img253.imageshack.us/img253/2676/yahooix7.jpg
to be like this in my website
http://img513.imageshack.us/img513/7666/dolphinpk8.jpg
how can i do this..??
Anyway.. I'm not going to put yahoo featured news anyway because their infrigment copyright...this is just a sample for easy understanding because I'm lack in english :-)
the SIZE is not the issue.. anyway.. .. pic above is just for a sample...
tech_support
05-25-2007, 09:49 AM
Have you tried this: http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm ?
wartog
05-25-2007, 10:14 AM
no i dont mean that... erm.. maybe i choose wrong image :-)
I dont want the "Ajax Tabs Content script"
I just want to make iframe to the yahoo real "featured news" , ok.. let i make a new image.. like this...
http://img504.imageshack.us/img504/8/zamzarjs0.jpg
then i only target the iframe at the orange box only not as a whole..and embed it to my site
http://img245.imageshack.us/img245/9403/dolphin2kn6.jpg
how i can do that..?
benslayton
05-25-2007, 03:06 PM
So let me see if I understand. You want to be able to pull certain content from yahoo (Particualrly the news) into an iframe. Dont think you can do this from an iframe. But can probally be accomplished with some php.
Medyman
05-25-2007, 04:13 PM
Really ugly way of doing it...
but it works!
www.geocities.com/test_scripts
wartog
05-26-2007, 07:42 AM
You are superb medyman..
would you mind to post the script here :-)
anyway its look like to iframe overlay.. but its good try :-)
how you do this..
i check your "inside.html" the left bar of yahoo not show off...
Medyman
05-26-2007, 03:51 PM
Sure...
Like you said, it is an iframe overlay with some absolute positioning. You'll have to play around with the CSS postion values to get it to line up correctly. Also, you should first measure the area you want to show and then make the iframe that exact size THEN play with the positing.
I didn't do that so you'll see that the iframe is quite larger than it needs to be on the home page.
Anyway, my html and CSS are thus (just the important parts, i trust you can add the rest:
index.html
<iframe src="inside.html" width="610" height="403" frameborder="none" marginheight="0" marginwidth="0" ></iframe>
inside.html
<div style='position:absolute;width:100%;height:100%;top:-130px;left:-160px;'>
<iframe src="http://www.yahoo.com" width="100%" height="100%" frameborder="none" marginheight="0" marginwidth="0" scrolling="no"></iframe>
</div>
Again, I feel like this is a very amateur way of doing it. But hey, it works!
wartog
05-26-2007, 05:20 PM
i see, Its quite go to CSS positioning.. maybe 1 html file is possible, what do you think?
Thank you for that, I'm not thinking about CSS before, just thinking it must be more on html, I'll do a try :-)
Yeah, Its very amateur! but as long as its work and the position is taking carefully.. its still great.. just its take more bandwith..with iframe
I'm searching grabbing php script. by the way :-) thank you for your time
wartog
04-30-2008, 04:30 AM
excuse me people...
do anybody have any idea or script out there to do this...??? please help..
it takes me one year (look on the previous date) to wait for help.. please expect here
rangana
04-30-2008, 04:56 AM
...Maybe this would help:
http://grid.orch8.net/clippings/grab
jscheuer1
04-30-2008, 01:50 PM
No matter how this is done, it is at the very least a trivial violation of copyright. All material on the web is copyright by virtue of being published. Some has a more specific copyright attached to it.
If you do this and the copyright holder notices and can prove that your use of their copyrighted material resulted in a 'significant harm' to their interests, you will be open to being sued by them.
In most cases though, the copyright holder would first simply ask you to stop, as a sort of warning. However, they are under no obligation to do so. And depending upon the exact circumstances, may not feel disposed to.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.