Open jmdgn opened 9 years ago
I look at the superslides html file with the modifications I've made and it loads perfectly fine.
I have linked it using jquery as an ajax link and it breaks it, is there some javascript modifications I am missing?
$("ol#nav li a").live("click", function(){ var page = $(this).attr('href'); $('#content').load('content/' + page + '.html'); return false; });
This is the script which loads the pages, any help would be greatly appreciated!
Firstly .live() has been deprecated as of 1.7 and removed as of 1.9. Is it possible that you're using a newer version of jQuery? What exactly is or is not happening? Are you getting an error in the console?
.live()
I look at the superslides html file with the modifications I've made and it loads perfectly fine.
I have linked it using jquery as an ajax link and it breaks it, is there some javascript modifications I am missing?
$("ol#nav li a").live("click", function(){ var page = $(this).attr('href'); $('#content').load('content/' + page + '.html'); return false; });
This is the script which loads the pages, any help would be greatly appreciated!