Thanks Is there a way to make a function that will work ? I am not expert in JS like you. Maybe you can check this site that offer tab and a function that work to load link via ajax in there tab :
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ Fucntion here : http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ajaxtabs_suppliment3.htm Here the doc : instance.loadajaxpage(pageurl) Use this method to directly load an external page into the Ajax Content Container via Ajax. The method can be called anywhere on the page, such as inside a link on the page. The page to load must be from your own server, as the loading process is via Ajax, and subject to Ajax in-house domain restrictions. Example: The below link loads a page into the Ajax Tabs Content instance "countries": <!--Load "canada.htm" into the the Ajax Tabs Content Container --> <a href="javascript:countries.loadjaxpage('canada.htm')">Load New Page</a> Thanks Like you see i can use these tabs but yours are so much better .... On 13 juin, 07:54, Klaus Hartl <[EMAIL PROTECTED]> wrote: > The main problem is that you're using document.write (in the > RedSheriff tracker code) in the pages that get loaded via Ajax as tab > content. That just won't work. That's the reason why you're getting a > blank page. > > --Klaus > > keny schrieb: > > > > > Hi thanks Klaus for helping me, > > > I upload a demo of what i whant here : > >http://membres.lycos.fr/homeinv/tabs/ > > > (sorry for the ads ist a free hosting) > > > My function is under tabs # 2 and the problem is discribed here to. > > > Thanks you very much for your help > > > On 12 juin, 01:51, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > I'd like to help, but I stil don't understand your problem, I'm sorry. > > > > --Klaus > > > > On 12 Jun., 01:08, keny <[EMAIL PROTECTED]> wrote: > > > > > No one ? > > > > > I really need this to work but have no skill with js > > > > > Thanks > > > > > On 7 juin, 22:37, keny <[EMAIL PROTECTED]> wrote: > > > > > > Hi thanks for the answer > > > > > > I whant to load the link in the function in the current panel i dont > > > > > whant every link to be loaded in panel so your first function was not > > > > > for me, i try the next one that work but this function was reloaded > > > > > the tab in the panel so i came whit > > > > > this function that work : > > > > > > function loadTab(tab) { > > > > > var tab ; > > > > > > � � � � $('#container-8').tabs({ > > > > > � � load: function(ui) { > > > > > > � � � � � � $(ui.panel).load(tab); > > > > > > � � } > > > > > > }); > > > > > } > > > > > > Ist work the link load but the problem is that no more panel work > > > > > after. Any idea ? > > > > > > Thanks for helping > > > > > > On 7 juin, 03:16, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > > > > > Forgot to mention that you need to use the latest version, from > > > > > > jQuery > > > > > > UI RC1 that is. > > > > > > > --Klaus > > > > > > > On 7 Jun., 09:15, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > > > > > > What exactly do you want to achieve? If you try to automatically > > > > > > > load > > > > > > > content from links inside a tab panel into the panel itself, > > > > > > > replacing > > > > > > > the content, try this: > > > > > > > > $('#example').tabs({ > > > > > > > � � load: function(ui) { > > > > > > > � � � � $('a', ui.panel).click(function() { > > > > > > > � � � � � � $(ui.panel).load(this.href); > > > > > > > � � � � � � return false; > > > > > > > � � � � }); > > > > > > > � � } > > > > > > > > }); > > > > > > > > If you're just want to reload the content of the given tab, try > > > > > > > this: > > > > > > > > function loadTab(tab) { > > > > > > > � � $('#example').tabs('load', tab); > > > > > > > > } > > > > > > > > Before you can use that you need to have initialized tabs once of > > > > > > > course: > > > > > > > > $('#example').tabs(); > > > > > > > > --Klaus > > > > > > > > On 5 Jun., 02:55, keny <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi thanks for reading > > > > > > > > > I am trying to load a link in a tab with this function with no > > > > > > > > result :-( > > > > > > > > > function loadTab(tab){ > > > > > > > > var tab; > > > > > > > > var $tabs = $('#container-8').tabs; > > > > > > > > var selected = $tabs.tabsSelected(); > > > > > > > > � � � � � � $tabs.tabsLoad(selected,tab); > > > > > > > > > } > > > > > > > > > </script> > > > > > > > > > The tab variable contain the page to load but noting happen > > > > > > > > what wrong > > > > > > > > with that ? > > > > > > > > > Thanks you very much !!!- Masquer le texte des messages > > > > > > > > pr�c�dents - > > > > > > > - Afficher le texte des messages pr�c�dents -- Masquer le texte des > > > > > > messages pr�c�dents - > > > > > > - Afficher le texte des messages pr�c�dents -- Masquer le texte des > > > > > messages pr�c�dents - > > > > - Afficher le texte des messages pr�c�dents -- Masquer le texte des > > > messages précédents - > > - Afficher le texte des messages précédents -