Technical Discussion
  >> Web Design / HTML / Web hosting Forum


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
  Print Thread
Standard User deleted
(deleted) Fri 13-Aug-10 18:10:19
Print Post

changing the content/style of an external src IFRAME


[link to this post]
 
Hi friends

Id want to restyle the contents of an externally hosting iframe (affiliate use for car insurance) to fit in with my website (and actually to restyle it for mobile phones).

Is there any way you can do this? Mebe via php, fetching the iframe src and molesting it?
Standard User Sandgrounder
(knowledge is power) Fri 13-Aug-10 19:39:58
Print Post

Re: changing the content/style of an external src IFRAME


[re: deleted] [link to this post]
 
This sort of thing may be what you're looking for.

set your iframe to point to a PHP page on your server and then have that page go fetch the external one.

You could do a similar thing with perl (instead of PHP) and some folks would find writing the code easier.



Line One:- Zen - DrayTek Vigor 2600VG
Line Two:- EntaNet - DrayTek Vigor 2600
Standard User deleted
(deleted) Mon 30-Aug-10 16:36:26
Print Post

Re: changing the content/style of an external src IFRAME


[re: Sandgrounder] [link to this post]
 
how? whats the php code ?


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Mon 30-Aug-10 16:45:39
Print Post

Re: changing the content/style of an external src IFRAME


[re: deleted] [link to this post]
 
Depends on the structure of the page being displayed through the iframe.
You basically need to strip out the style and add your own.

If it uses inline style declarations it's gonna be long and messy.

An example of the source of this iframe might help.
Standard User deleted
(deleted) Thu 02-Sep-10 21:01:12
Print Post

Re: changing the content/style of an external src IFRAME


[re: deleted] [link to this post]
 
http://www.cheaprenewal.co.uk/get-a-quote

thanks craig. i hope you are well smile
  Print Thread

Jump to