Click here to Skip to main content
15,894,630 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I built my website with the jquery ion.tabs plugin. awesome stuff, but i realize that my URL has been extended. from index.aspx? to index.aspx#tabs|Tabs_Group_name:informationTab?

I really would like it to remain as index.aspx?
Can anyone help me out?

These are my code
<script src="js\Tabs\js\vendor\jquery-1.10.2.min.js"></script>
<script src="js\Tabs\js\ion-tabs\ion.tabs.min.js"></script>
<link href="ion.tabs.css" rel="stylesheet" type="text/css" />
<link href="ion.tabs.skinBordered.css" rel="stylesheet" type="text/css" />
<script>
$(document).ready(function () {
$.ionTabs("#propertyTab");
});
</script>



  • Property Information
  • Description



Please help
Posted

1 solution

That is actually cool, which is the default behaviour. The URL is of the page only. When you hit some tab, then url is changed as you have given.

It is changed because you selected the tab. Suppose you want to give a link where you want that a particular tab gets selected. There, you can give this link, which will load the page and automatically show the tab directly.

So, don't worry. It is actually better.
 
Share this answer
 
Comments
bruceAlmighty90 12-Jul-14 16:09pm    
But if i load this page from another page. When i hit the back button, it will load index.aspx? before it goes back to the page that triggered this page. In other words i need to back load twice instead of once.

Another issue i have in mind is that if i were to hash the url, which one do i hash? the one with the first normal one? index.aspx or the one with the extenstion.

Thanks for replying so fast btw.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900