Click the “Something!” tab in the row of tabs above the results listings.
You should notice information corresponding to the item you selected. The list of results and the displaying of the associated information is queryed using SQL and ajax controls the displaying of the information in the div “results2” (under the “Something!” tab).
I need for the coda-slider over to the something tab automatically when i link is selected, but this is not happening because of an asyncronus javascript issue (that’s the best way I can summerize it.)
How do I fix this problem, or am I going about this entirly wrong?
the list of results is populated through the use of SQL commands managed by a PHP file (searchtest.php), and dynamically displayed using ajax so I guess the answer to you’re question is no.
so if i understand this code correctly, it says that when a link is clicked, if it is of type ‘cross-link’, then it appends goes to index.php#2. what is being passed in as ‘evt’? just placing in this code doesn’t work.
here is the jquery code for a.cross-link in the coda-slider:
// Same-page cross-linking
jQuery("a.cross-link").click(function(){
jQuery(this).parents().find(".stripNav ul li a:eq(" + (parseInt(jQuery(this).attr("href").slice(1)) - 1) + ")").trigger('click');
});