Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: iframe target help

  1. #1
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default iframe target help

    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"



    to be like this in my website



    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...
    Last edited by wartog; 05-25-2007 at 09:49 AM.

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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...



    then i only target the iframe at the orange box only not as a whole..and embed it to my site



    how i can do that..?

  4. #4
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    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.

  5. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Really ugly way of doing it...
    but it works!

    www.geocities.com/test_scripts

  6. #6
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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...
    Last edited by wartog; 05-26-2007 at 07:48 AM.

  7. #7
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    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
    Code:
    <iframe src="inside.html" width="610" height="403" frameborder="none" marginheight="0" marginwidth="0" ></iframe>
    inside.html
    Code:
    <div style='position:absolute;width:100&#37;;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!

  8. #8
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  9. #9
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  10. #10
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    ...Maybe this would help:
    http://grid.orch8.net/clippings/grab
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •