Additional JS added to makzan.net

Record in case I lost it.

function setObjectPosition(){
jQuery(“[data-object-position]”).each(function(){jQuery(this).find(“img”).css(“object-position”, jQuery(this).data(“objectPosition”))})
}
jQuery(window).on(“Vlieland:afterAjaxSetup”, function(){setObjectPosition();})
setObjectPosition();

Update

makzan View All →

I teach web design. I write books on HTML5 games development. I host classes on mobile web and app development. I made animation with Adobe Flash (now Animate).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s