Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Checking if blog is inside a frame

Old Apr 20, 2010, 07: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, 10:28 AM
juggledad's Avatar
23,765 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 21, 2010, 12:22 AM
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 02:15 AM
Theme Frame perfomance 3ukman ThemeFrame Presales 2 Feb 14, 2010 01:15 AM
[SOLVED] allign page menu with inner frame f0rd42 Header configuration & styling 2 Jul 9, 2009 08:32 AM
Image not centered in frame paulae Atahualpa 3 Wordpress theme 1 May 4, 2009 10:20 PM

All times are GMT -6. The time now is 12:09 PM.

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