Hi paul, thanks for the answer.
I've tried this code, but it works just one time and works not good.
Code:
$(document).ready(function(){
$('#portfolio a ').click(function(e) {
var url = $(this).attr('href');
$('#divMain1').load(url) .toggle("slow");
e.preventDefault();
});
});
I've got other two button on the page that works good with this code:
Code:
$(document).ready(function(){
$('#mailme').click(function() {
$('#contact').toggle('slow', function() {
//here others functions
});
});
$('#bio').click(function() {
$('#divMain1').toggle('slow', function() {
//here others functions
});
});
});
but I'd to put biography and contact informations in the index.html.
Now I need one button that load another html in a div on the index page with the .load (url)
But I want that this button has the toggle behaviour.
I hope I was understandable.....
Bookmarks