Has anyone of you ever work on loading a tab content from a external page.
Just to get it clear, lets say on page InnerText.aspx i have a tab container and by default tab 1 is active (open) while the tab 2 and tab 3 arent. I can either choose to click and load the content of tab 2 within the same page.
Now what am looking for is a possible way of being able to open tab 2 after clicking on a link on homepage just like an anchor link would normally do.
I have already link my cookie.js but am not sure on how to get this to work. i tried to add the id of the link but still tab1 is showing up
I don't really know how that would work in asp.net, but there's plenty of ways to do this using jQuery and hash in your url. For example , this opens on the second tab: http://jqueryui.com/demos/tabs/#tabs-2(note the #tabs-2 hash in the URL).
Loading a tab from another page
Hi guys,
Has anyone of you ever work on loading a tab content from a external page.
Just to get it clear, lets say on page InnerText.aspx i have a tab container and by default tab 1 is active (open) while the tab 2 and tab 3 arent. I can either choose to click and load the content of tab 2 within the same page.
Now what am looking for is a possible way of being able to open tab 2 after clicking on a link on homepage just like an anchor link would normally do.
I have already link my cookie.js but am not sure on how to get this to work. i tried to add the id of the link but still tab1 is showing up
Any advise please?
//fuji
I don't really know how that would work in asp.net, but there's plenty of ways to do this using jQuery and hash in your url. For example , this opens on the second tab: http://jqueryui.com/demos/tabs/#tabs-2 (note the #tabs-2 hash in the URL).
Yes finally got it working with a jquery and getting the tab to open. But thanks Sebastiaan for the url....
is working on a reply...