Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by EclipseTalk on May 22, 2009 08:51
open dhtmlx forum
DHTMLXTabbar remembering last tab on page reload

Hello,
Is there a way that DHTMLXTabbar will remember the last tab it was on when the page reloads? Maybe using the onSelect event?
Has anyone tried that?
Thank you for your time and support.
Answer posted by Support on May 22, 2009 09:49
>>Is there a way that DHTMLXTabbar will remember the last tab it was on when the page reloads?
There is no built in support for such functionality
Technically, it possible to use onSelect event to save current position in cookies or inside page's url, and add code to tabbar's init , to check such value and activate some tab if necessary

If necessary we can provide a sample ( on Monday ) 
Answer posted on May 22, 2009 14:35
Thanks for the fast reply. A sample would be greatly appreciated. Thank you
Answer posted by dhxSupport on May 25, 2009 07:40
Please check attached sample.
Attachments (1)
Answer posted on May 26, 2009 05:08
Thank you very much, it works like a charm!