Samuz Posted May 22, 2012 Share Posted May 22, 2012 Is it just me or can I not create hyperlinks to open tabs? If I send the link to a tab to someone e.g http://www.example.com/index.html#tab2 and they click the tab, it will take them to my page and open #tab2, but if I were to create a link within my page e.g <a href="#tab2">Open this tab</a> It displays empty content??? But as soon as I click refresh, the content for that tab is shown immediately. It's obvious that it has to do with the internal link, but is anyone aware of how to get past this? Quote Link to comment https://forums.phpfreaks.com/topic/262928-little-jqueryui-tabs-help/ Share on other sites More sharing options...
smoseley Posted May 24, 2012 Share Posted May 24, 2012 Yeah, that's a known issue. What you can do is: <a href="#tab2" onclick="$('#my-tab-wrapper-id').tabs('select', 1)"> Quote Link to comment https://forums.phpfreaks.com/topic/262928-little-jqueryui-tabs-help/#findComment-1348184 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.