diff --git a/resources/hashtag/example1.html b/resources/hashtag/example1.html index 01d68209..1a130aad 100644 --- a/resources/hashtag/example1.html +++ b/resources/hashtag/example1.html @@ -18,7 +18,7 @@ #nav { font-size: 200%; width:17.1875em; - margin:0 auto; + margin:17px auto 0 auto; } #nav a { color: #777; @@ -71,10 +71,7 @@ // To change src attribute of parent iframe element $('.hashExLink').on('click', function() { - window.parent.document.getElementById( "hashtagIframe" ).src = "/resources/hashtag/example1.html" + $(this).attr( "href" ); - //window.parent.document.getElementById('hashtagIframe').href = '/resources/hashtag/example1.html' + $(this).href; - //window.parent.document.getElementById('hashtagIframe').location.href='/resources/hashtag/example1.html' + $(this).href; }); });