Results 1 to 2 of 2

Thread: [RESOLVED] [Javascript] Deep-Linking not working in IE8

Hybrid View

  1. #1
    Join Date
    Jun 2012

    resolved [RESOLVED] [Javascript] Deep-Linking not working in IE8


    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
            <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">
    $(window).load(function() {
    });	</script>
    My code in script.js:

    $(document).ready(function($) {
    	$.address.change(function(event)	{
    		var page = event.value;
    		if (page == '/') {
    			page = 'Home';
    		$('article').load(page.replace("/", ''), function(){
    	$('nav a').address(function()	{
    		return $(this).attr('href').replace(/^#/, '');
    I updated both jquery.js and address.js to the latest verison.
    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.

  2. #2
    Join Date
    Jun 2012
    Finally got it working, used an IE8 tag in my index.html
    Had to insert an html5 hack for ie8.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center