Log in

View Full Version : iFrames - Please Help!!



nikomou
08-11-2005, 09:46 AM
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://myothersite.com/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?

jscheuer1
08-12-2005, 03:17 AM
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:

I want to be able to change the iframe without clicking a link on index1.htmWell, 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:

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

.

nikomou
08-13-2005, 08:52 PM
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/4169/?url=http://webhosting.lycos.co.uk/1-click-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/4169/?url=http://www.msn.com etc.... I basically want to be able to do the same as this, only using an iframe, not an accual frame...

jscheuer1
08-13-2005, 11:11 PM
That is not HTML. Most likely it is php. It could be any number of things. What is the extension of the page?

nikomou
08-13-2005, 11:13 PM
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.

jscheuer1
08-14-2005, 01:38 AM
I meant what is the name of the page on the server? some.html? some.htm? some.php? some.asp? some.jsp? Something else?

lmf33
08-20-2005, 03:44 PM
Heres a frames generator

http://www.allfreebielinks.com/frames_generator1.htm