I think I would handle this differently using the href on the link itself, perhaps with a class to indicate that it is an intra-tab link, to determine which tab to load and setting up the handlers in the tabs create event $('#tabs'). Tabs({ create: function(event,ui) { $('a. Intra-tab',ui.
Panel). Unbind('click'). Click( function() { var id = Number( $(this).
Attr('href'). Replace(/#tabs-/,'') ) - 1; $('#tabs'). Tabs('select',id); return false; }); } }); Home Alarms Access Control Services Contact Us Check our services Intra-tab').
Live( 'click', function() { var id = Number( $(this). Attr('href'). Replace(/#tabs-/,'') ) - 1; $('#tabs').
Tabs('select',id); return false; }).
I think I would handle this differently using the href on the link itself, perhaps with a class to indicate that it is an intra-tab link, to determine which tab to load and setting up the handlers in the tabs create event. $('#tabs'). Tabs({ create: function(event,ui) { $('a.
Intra-tab',ui. Panel). Unbind('click').
Click( function() { var id = Number( $(this). Attr('href'). Replace(/#tabs-/,'') ) - 1; $('#tabs').
Tabs('select',id); return false; }); } }); Home Alarms Access Control Services Contact Us Check our services ... You could also do it using live handlers. $('#tabs').tabs(); $('a. Intra-tab').
Live( 'click', function() { var id = Number( $(this). Attr('href'). Replace(/#tabs-/,'') ) - 1; $('#tabs').
Tabs('select',id); return false; }).
Thanks for your help but the code hasnt worked. The strange thing is that is working when you open in a new tab window... – fat_mike May 13 at 13:17 @fat_mike - I had the wrong event, it should have been the create event, i.e. , when the tabs are created.
Note, I probably also should have scoped it to the current tab panel and removed any existing click handlers. An alternative would be to apply it to all such links using live. Note both methods should apply whether the tabs are loaded dynamically or statically.
– tvanfosson May 13 at 13:53 @fat_mike - Working Fiddle at jsfiddle. Net/YKbtD – tvanfosson May 13 at 14:02 Thank you! It worked... I really appreciate your help – fat_mike May 13 at 17:09 I would have voted for your answer but I cant since my reputation is low at the moment – fat_mike May 13 at 17:16.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.