Results 1 to 4 of 4

Thread: frames challenge

  1. #1
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default frames challenge

    I want to put an iFrame on my site, say 300 x 400. And i want to display only a specific part of some other page. FOr example, say I want to display only the Picture part of http://www.cnn.com/ (assuming the picture is 300x400).
    I do not want to see other things from that page.

    Any one, any help, any suggestions?

    in short, i want to specify the coordinates of the orginal source in my frames page.

  2. #2
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    I guess you could add something like this
    Code:
    iframe{
    	overflow: hidden;
    	clip:rect(100px,50px,50px,50px);
    }
    to the css, but I really don't know why you would want to.

  3. #3
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    either i did wrong or it didnt work.
    Let me re word my question

    Below is the code
    <p>
    <iframe name="I1" width="304" height="320" src="http://www.cnn.com" scrolling="no" border="0" frameborder="0">
    Your browser does not support inline frames or is currently configured not to display inline frames.
    </iframe></p>

    </body>


    Now when I load this page, I want to see ONLY PIC that is there. I do not want to see CNN.com, search, any news links, anything else, etc. The frame should show ONLY the pic (assuming the size of the pic is same as the size of frame)

  4. #4
    Join Date
    Sep 2006
    Location
    http://warandchaos.freehostia.com
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    if its just an image id use the
    HTML Code:
    <img src="were  it is"></a>

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
  •