Re: [jQuery] Tabs plugin - back button

2006-10-17 Thread Sam Collett
On 16/10/06, Klaus Hartl [EMAIL PROTECTED] wrote:
 Hi,

 after making tabs truly bookmarkable the back button still did not work.
 I started to fix that and the back/forward button now works in: Firefox,
 Safari, Opera.

 In Safari I implemented a pretty straight forward solution based on the
 length of the history object unlike other pretty extensive solutions out
 there (iframes and stuff). Seems to work fine. May fail if the length of
 the history is limited.

 Now I will get that to work in IE!

 Have a look here:
 http://stilbuero.de/jquery/tabs/#section-2


 -- Klaus

Have you thought about separating out the history handling into a
plugin? It may prove useful for many other jQuery developers.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs plugin - back button

2006-10-17 Thread David Duymelinck
Sam Collett schreef:

 Have you thought about separating out the history handling into a
 plugin? It may prove useful for many other jQuery developers.

   
There already a history handling  plugin : 
http://www.mikage.to/jquery/jquery_history.html. But it only handles 
ajax calls. Maybe Klaus' code could be merged with that plugin?

-- 
David Duymelinck

[EMAIL PROTECTED]


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs plugin - back button

2006-10-17 Thread Blair McKenzie
Actually, the ajax part of that plugin is just in the example. Another use of it that I'm exploring is for making the jQuery API bookmarkable, and that doesn't involve any server requests.Blair
On 10/17/06, David Duymelinck [EMAIL PROTECTED] wrote:
Sam Collett schreef: Have you thought about separating out the history handling into a plugin? It may prove useful for many other jQuery developers.There already a history handlingplugin :
http://www.mikage.to/jquery/jquery_history.html. But it only handlesajax calls. Maybe Klaus' code could be merged with that plugin?--David Duymelinck
[EMAIL PROTECTED]___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs plugin - back button

2006-10-17 Thread Klaus Hartl
David Duymelinck schrieb:
 Sam Collett schreef:
 Have you thought about separating out the history handling into a
 plugin? It may prove useful for many other jQuery developers.

   
 There already a history handling  plugin : 
 http://www.mikage.to/jquery/jquery_history.html. But it only handles 
 ajax calls. Maybe Klaus' code could be merged with that plugin?
 

That plugin doesn't work in Safari unfortunatly.

Of course I thought about making it a standalone plugin. Though I am not 
at the point yet, but I think I can work something out.



-- Klaus




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs plugin - back button

2006-10-17 Thread Klaus Hartl


Blair McKenzie schrieb:
 Actually, the ajax part of that plugin is just in the example. Another 
 use of it that I'm exploring is for making the jQuery API bookmarkable, 
 and that doesn't involve any server requests.

Then you might want to have a look at the tabs. It actually does exactly 
that.

-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/