Apologies if my questions wasn't very clear.

I'll try to explain further.

I have used jquery tabs (or similar functionality) where user can
click on different tabs and see different content without any page
refresh. Say, I have three tabs  namely,

Home, About us, Faq

Home tab is visible by default, the rest two are hidden.

Now, from a different page I have a link to the Faq section. ( i.e -
click here to see the FAQ section. )

I am trying to figure out how would the user sees Faq section as they
click on the link. Problem is Home is the default tab not the FAQ one
and hence not visible by default.

Do I make any sense?

With normal html I'd have used anchor tag to and send the user to the
right place.







The reason why I am trying to figure this out is, I have built a
jquery tab where only one tab content can be seen at a time.

On Jan 11, 4:19 pm, Charlie <charlie...@gmail.com> wrote:
> "...how do you trigger your click function to work? or can the anchor tag be 
> used ?"
> question isn't very clear about what you are trying to do. You can over ride 
> the href with a click function by using    "  return false; " which over 
> rides browser default action of opening the link, or you can work with the 
> href property to reconstruct it if the hash fragment  "#top" isn't there.
> be easier to help with better defintiion of objective
> Oliur wrote:What I mean is, in normal HTML if you have a link to go to the 
> top of the page you write <a name="top" id="top"></a> ..... .. <a 
> href="test.html#top">go top</a> When you type in your 
> browserhttp://localhost/lab2/class2.html#topit takes you to the top of the 
> page. This way you can also go to the specific area in other pages too. In 
> jquery if you have such areas that are in a different page, how do you 
> trigger your click function to work? or can the anchor tag be used ? Thanks

Reply via email to