Home Button Won't Take Me Home

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
parsonsv
Sr. Propeller Head
Posts: 110
Joined: Fri Mar 23, 2007 12:30 pm
Location: Calgary, Alberta

Home Button Won't Take Me Home

Post by parsonsv »

We have a home button in our HTML5 skin that takes you back to the "Introduction" or HOME page of the help. However, when I click this button, it does nothing. Here are some of the button events I've tried so far:

frames["Topic"].document.location.href="../Content/Introduction.htm";
document.frames["Topic"].location.href = "../Content/Introduction.htm";
frames["Topic"].document.location.href="/Content/Introduction.htm";
document.frames["Topic"].location.href = "/Content/Introduction.htm";
frames["Topic"].document.location.href='Content/Introduction.htm';
document.frames["Topic"].location.href = 'Content/Introduction.htm';
location.href= 'Content/Introduction.htm'; (works but removes all the frames, so that's not desirable)
Victoria Clarke
pouliotmax
Sr. Propeller Head
Posts: 123
Joined: Wed Mar 07, 2007 9:16 am
Location: Quebec City

Re: Home Button Won't Take Me Home

Post by pouliotmax »

parent.window.location="#Introduction.htm" on the click event
pouliotmax
Sr. Propeller Head
Posts: 123
Joined: Wed Mar 07, 2007 9:16 am
Location: Quebec City

Re: Home Button Won't Take Me Home

Post by pouliotmax »

Or parent.window.location="" on the click event should work too
parsonsv
Sr. Propeller Head
Posts: 110
Joined: Fri Mar 23, 2007 12:30 pm
Location: Calgary, Alberta

Re: Home Button Won't Take Me Home

Post by parsonsv »

pouliotmax wrote:Or parent.window.location="" on the click event should work too

Thank you! The first didn't work, but this one did. I appreciate your help.
Victoria Clarke
Post Reply