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

Old Apr 20, 2010, 06:15 AM
5 posts · Apr 2010
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?
Old Apr 20, 2010, 09:28 AM
juggledad's Avatar
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try ato->Add HTML/CSS Inserts->HTML Inserts: Body Tag
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Apr 20, 2010, 11:22 PM
5 posts · Apr 2010
Works like a charm. Thanks!


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 05:13 AM.

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