This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://mohumohu/parent.html | |
http://hogehoge.com/iframe.html | |
//parent.html | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($('.wp-block-gallery')) { | |
$('.blocks-gallery-item').click(function() { | |
var galleryImages = $(this).parent().find('a'); | |
var gallery = []; | |
galleryImages.each(function( index, galleryItem ) { | |
var caption = $(this).parent().find('figcaption').html(); |