Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Checking if blog is inside a frame

Prev Previous Post   Next Post Next
Old Apr 20, 2010, 06:15 AM
5 posts · Apr 2010
[SOLVED] Checking if blog is inside a frame

I run my Wordpress/Atahualpa blog inside a frame like this

<frame src="other.html" name="other" id="other">
<frame src="blog/index.php" name="blog" id="blog">

If someone accidentally opens the blog without a frame by going directly to blog/index.php I want to redirect to ..\index.html frameset. In other.html I have this piece of javascript in body's onload

if (self == top) {
self.location.href = '../index.html';

Where should I put that with Atahualpa?


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Theme Frame preserve Atahualpa's standard settings ? 3ukman ThemeFrame Presales 4 May 21, 2012 01:15 AM
Theme Frame perfomance 3ukman ThemeFrame Presales 2 Feb 14, 2010 12:15 AM
[SOLVED] allign page menu with inner frame f0rd42 Header configuration & styling 2 Jul 9, 2009 07:32 AM
Image not centered in frame paulae Atahualpa 3 Wordpress theme 1 May 4, 2009 09:20 PM

All times are GMT -6. The time now is 08:23 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.