Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Iframe question, possibly XML (positioning of the external link within the frame)

    Ok, I really need all your help and I would even be up for contracting this small job out to someone who can professionally complete this for me please.

    I have a website that is framing another site (both ours, but we can't get to the code of the site being framed). Here is the website: www.madisonhousehunter.com (under construction) and it is currently framing our corporate site so we can do property searches and stuff. Basically, we want to only frame the portion of the other site from the search tabs (search by city, etc) and down to the end of the century21affiliated logo.

    I've done some looking into this, and the only thing I could find is possibly using xml xlink or xpointer for this. Can someone help? We are will to contract this out. Please email me or pm me. Email to: do@c21affiliated.com

    Thanks!!! We need this asap!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    The solution wouldn't be enough to charge you for. I see only one way of doing this. Make another page (call it page1.html) on madisonhousehunter and put this in it
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Property Search</title>
    <style type="text/css">
    iframe {
    position:absolute;
    top:-100px;
    left:0;
    }
    </style>
    </head>
    
    <body>
    <iframe src="http://mathweg.c21affiliated.com/VirtualToolkit/PropertySearch/#search" scrolling="no" frameborder="0" width="564" height="650"></iframe>
    </body>
    </html>
    Now on your main page where you have this
    Code:
    <iframe src="http://mathweg.c21affiliated.com/VirtualToolkit/PropertySearch/#search" width="564" height="550" 
    frameborder="0" scrolling="no" id="myInlineFrame" name="myInlineFrame"></iframe>
    Change it to this
    Code:
    <iframe src="page1.html" width="564" height="650" 
    frameborder="0" scrolling="no" id="myInlineFrame" name="myInlineFrame"></iframe>
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Aerospace you are **bleep**ing the man!!!

    Do you take contract work?

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,629
    Thanks
    6
    Thanked 1,002 Times in 975 Posts
    I haven’t read the thread thoroughly but as to the iframe thing if you are getting a page on your server anyway you could even use the object element instead of an iframe. That way it would be valid (X)HTML strict, more accessible (if alternative content is provided), and forward compatible.

    Code:
    <object data="page1.html" type="text/html">
      (fallback content if object not supported)
    </object>
    Read http://joliclic.free.fr/html/object-tag/en/index.php, or http://joliclic.free.fr/html/object-...ject-text.html (for sepcific solution)


  •  

    Posting Permissions

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