http://forums.aspfree.com/html-javas...tml#post979566
http://forum.snom.com/index.php?showtopic=9895
http://websized.com/java-jquery-deep...en-in-ie8-fout
Dear all,
My deep-linking doesn't work anymore in IE8, the cause for this is unkown.
This works in: IE9, Firefox, Chrome, Opera.
Fo the persons who are unkown with deep-linking: http://www.asual.com/jquery/address/
My code in index.html
My code in script.js:Code:<script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/address.js"></script> <script type="text/javascript" src="js/script.js"></script> <script type="text/javascript"> $('article').load("pages/Home/Home.html"); $('#News').load("pages/nieuws/nieuws.html"); $(window).load(function() { $('#slider').nivoSlider(); }); </script>
I updated both jquery.js and address.js to the latest verison.Code:$(document).ready(function($) { $.address.change(function(event) { var page = event.value; if (page == '/') { page = 'Home'; } $('article').load(page.replace("/", ''), function(){ $(this).find('#slider').nivoSlider();}); }); $('nav a').address(function() { return $(this).attr('href').replace(/^#/, ''); }); })(jQuery);
I tried the minified and the 'big' version. With both no success.
I do get an error message in IE8:
"Function expected" on script.js on line 1 char 1
Ofcourse I googled this problem but I couldn't find anything.
Maybe I'm searching in the wrong direction.
Does any one knows how to fix this problem?
Thanks in advance.


Reply With Quote
Bookmarks