Results 1 to 7 of 7

Thread: iFrames - Please Help!!

  1. #1
    Join Date
    Aug 2005
    Posts
    174
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Exclamation iFrames - Please Help!!

    Hi there, i am looking for a script that would be able to change the page of the iframe... e.g., the iframe is located in index1.htm and the defult iframe on this page is iframe1.htm. I want to be able to change the iframe without clicking a link on index1.htm. I want a link similar to:
    http://mywebsite.com?iframe=http://m...m/thispage.htm to automaticly change the iframe page from the defult to http://myothersite.com/thispage.htm or what ever else i want. 1st of all, can this be done? and second of all would i have to use php to do this?
    Last edited by nikomou; 08-11-2005 at 09:49 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,952
    Thanks
    43
    Thanked 3,195 Times in 3,157 Posts
    Blog Entries
    12

    Default

    What you want is probably possible or if not, something that will have the appearance of what you want can probably be worked out. However, I'm not very clear as to what you actually do want. You say:
    Quote Originally Posted by nikomou
    I want to be able to change the iframe without clicking a link on index1.htm
    Well, where would this link be then? The only other place left would be iframe1.htm, at least according to what you have described. As it so happens, this is the normal place for such a link and it can be written as usual:
    HTML Code:
    <a href="http://myothersite.com/thispage.htm">Link Text</a>
    As long as there is nothing special about 'http://myothersite.com/thispage.htm' that would cause a security violation, it will load in the iframe.

    I suspect you mean something other than this but, if that is the case, could you please make it clearer? Also, if possible:

    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2005
    Posts
    174
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Basically, this is what i want to do... take, for example, this lycos partner shop. if i use this link: http://www.partnershop.co.uk/shop/41...-site/modules/ it will change the frame below it, to show "http://webhosting.lycos.co.uk/1-click-site/modules/". the url after "?url=" is shown in a frame bellow. You can do this with any site, e.g. http://www.partnershop.co.uk/shop/41...://www.msn.com etc.... I basically want to be able to do the same as this, only using an iframe, not an accual frame...

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,952
    Thanks
    43
    Thanked 3,195 Times in 3,157 Posts
    Blog Entries
    12

    Default

    That is not HTML. Most likely it is php. It could be any number of things. What is the extension of the page?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Aug 2005
    Posts
    174
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    i am not sure. i havent started working on any code/page just yet. i would like to use htm, but i can use php if i must.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,952
    Thanks
    43
    Thanked 3,195 Times in 3,157 Posts
    Blog Entries
    12

    Default

    I meant what is the name of the page on the server? some.html? some.htm? some.php? some.asp? some.jsp? Something else?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Aug 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

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
  •