on link click, reload whole page, and the do jquery stuff?
hi,
i'm using a jquery slider for displaying content on a webpage.
http://www.jesuscarrera.info/demos/hslides/
like in the first examples i have 5 panels, and i have a meta navigation, contact, links ect. all thedifferent content for the meta-navigation is displayed via jquery in panel 5, and is working fine.
now my question; when the user is for example on the second panel, and the clicks on links, the page should show panel 5 (which is the index page(default.asp)),
and then show only the content for the links.
i tried different stuff for loading the defautl.asp page, but it doesn't work.
how do i tell, that if i click on the link wirh class="kontakt" the page should load the default.asp, and THEN do all the jquery stuff?
thanks
below is one example, what i tried, but did not work.
$(document).ready(function(){
$("a.links").click(function() {
window.location.reload();
$("p.show_links").css({display:"block"});
$("p.show_kontakt").css({display:"none"});
$("p.show_spenden").css({display:"none"});
$("p.show_impressum").css({display:"none"});
$("p.show_home").css({display:"none"});
$("#pappus").css({display:"none"});
});
return false;