Expand previously expanded drop-downs when user clicks Back?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

Expand previously expanded drop-downs when user clicks Back?

Postby ChristineShirey on Sun Jul 27, 2008 5:44 pm

I have a request from QA to return each topic to its previous state with regard to drop-down expansions when the user opens the topic by clicking the Back button in the Help skin.

In other words, if the user expands a drop-down section, clicks a link to jump to another topic, and then clicks Back to return to the first topic, the previously expanded drop-down should still be expanded.

Is anybody aware of a way to do that?

Thank you!
Christine
ChristineShirey
Propeller Head
 
Posts: 14
Joined: Tue Oct 23, 2007 9:07 am
Location: Boston, MA

Re: Expand previously expanded drop-downs when user clicks Back?

Postby RamonS on Mon Jul 28, 2008 5:48 am

It should be possible with setting cookies and running additional ECMAScript on the page. How to make that happen? Beats me, I'm more the server side scripting guy.
RamonS
Senior Propellus Maximus
 
Posts: 4287
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Expand previously expanded drop-downs when user clicks Back?

Postby hjohnson on Mon Jul 28, 2008 2:24 pm

Has anyone come up with a solution for this? I didn't immediatly see any other similar posts. I also need my users to click a link from within a drop-down, and then be able to click back into the same place into the expanded drop-down.

Helen@Block
Helen@Block
hjohnson
Propeller Head
 
Posts: 12
Joined: Thu Mar 06, 2008 10:15 am

Re: Expand previously expanded drop-downs when user clicks Back?

Postby LTinker68 on Tue Jul 29, 2008 7:51 am

I don't think there's a way to do it unless you modify MadCap's Javascript code. Which you could do, but it would have to be an after-build modification, unless you modify the JS file in the Flare program file, in which case it would affect every project you build.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Expand previously expanded drop-downs when user clicks Back?

Postby ChristineShirey on Tue Jul 29, 2008 10:03 am

LTinker68 wrote:I don't think there's a way to do it unless you modify MadCap's Javascript code. Which you could do, but it would have to be an after-build modification, unless you modify the JS file in the Flare program file, in which case it would affect every project you build.


I'm comfortable with doing either of those, so I welcome suggestions about how to modify the code. Do you think I'll need to rope in a development resource, or does anybody on the forum have any code changes to pass along so I could do it myself?

This is sounding like a real possibility. Thanks!
Christine
ChristineShirey
Propeller Head
 
Posts: 14
Joined: Tue Oct 23, 2007 9:07 am
Location: Boston, MA


Return to Web-based Outputs

Who is online

Users browsing this forum: awinnefeld and 3 guests