Dzięki czadus naprawde się przydało duzo sie nauczyłem z rego jquery ale nadal mam problem bo niby wszystko zrobiłem dobrze ale mam mniejwiecej taki efekt:
kod jquery i css jest taki sam jak na tej stronie:http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html
Teraz mam innym problem starałem się zrozumieć jquery ale nie chce działaćw nim ajax probowałem dwoch metod
$("#glowa").click(
function()
{
$("#Tresc").ajax({
type: "POST",
url: "Glowna.php",
dataType: "script"
});
#glowa to jest id jakie dodałem od a href ale nie działa.
function doRequest(){
var page = $.ajax({url: "Galeria.html",
type: "POST",
success: function(html){
$("#Tresc").append(html)
}
});
Tylko w drugiej nie moge dodac zdarzenia onclick do hrefa bo niedziała.