For a javascript solution which changes an iframe's src based on referrer you can use this.
Change localhost to your domain obviously.
Note javascript's document.referrer property doesn't seem to work if you are testing locally. I.e. pointing your browser directly at files, rather than accessing them over an http connection.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
|
|