Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
API Doc: Update to hashtag example1
  • Loading branch information
robertbosse committed Oct 15, 2012
commit baae483d2ffd892ca1429ba3e1420cd48e475a0b
7 changes: 6 additions & 1 deletion resources/hashtag/example1.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@

// To change src attribute of parent iframe element
$('.hashExLink').on('click', function() {
window.parent.document.getElementById('hashtagIframe').location.href = '/resources/hashtag/example1.html' + $(this).href;
console.log( window.parent );
console.log( window.parent.document );
console.log( window.parent.document.getElementById('hashtagIframe') );
console.log( window.parent.document.getElementById('hashtagIframe').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;
});
});
Expand Down