PDA

View Full Version : Random iframe content problem



rysmith
11-05-2006, 06:32 PM
1) Script Title: Random iframe content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/randomiframe.htm

3) Describe problem: does not work with all URL's. Note this page using the code: http://www.kabubble.com/random2.htm. Both nytimes.com and iht.com do not stay within the frame but rather take over the entire screen. You cannot back up to get into "random2.htm" again. The other url's work correctly.

I have limited search to 5 url's.

Ry Smith

jscheuer1
11-05-2006, 06:45 PM
That's the way, uh huh, they like it. Many sites are sensitive about their content being 'enframed' on another site. To this end there are many, many variations on a simple script or bit of code in another script that simply checks to see if the top.location is their page. If it is not, a command is issued to make the top.location=their page. There is nothing you can do about this unless you can edit their page other than perhaps capturing their function and reassigning it but, this may not be possible, it is just a thought. In any case, if they don't want to be in your frame, best to respect that.

rysmith
11-05-2006, 08:12 PM
Thanks John. Maybe there's a workaround somewhere...