{"id":79,"date":"2011-08-29T10:06:07","date_gmt":"2011-08-29T17:06:07","guid":{"rendered":"http:\/\/www.dognmonkey.com\/techs\/?p=79"},"modified":"2018-01-30T11:03:09","modified_gmt":"2018-01-30T19:03:09","slug":"fancybox-1-3-4","status":"publish","type":"post","link":"https:\/\/www.dognmonkey.com\/techs\/fancybox-1-3-4.html","title":{"rendered":"Fancybox 1.3.4"},"content":{"rendered":"<blockquote>\n<p align=\"center\">03\/16\/2017 Now we prefer<a href=\"\/\/www.dognmonkey.com\/techs\/magnific-popup.html\">\u00a0Magnific-Popup<\/a> over all.<\/p>\n<p align=\"center\">01\/25\/2016\u00a0<em>Fancybox 1 now is <a href=\"\/\/www.dognmonkey.com\/techs\/fancybox-2.html\">fancyBox2<\/a>.<\/em><\/p>\n<p align=\"center\"><em>Due too many script conflict &#8211; <a href=\"\/\/www.dognmonkey.com\/myhtml\/fancybox.html\" target=\"_blank\" rel=\"noopener\">the old fancybox134 must stand alone for demo<\/a>.<\/em><\/p>\n<\/blockquote>\n<div class=\"igallery\">\n<p align=\"center\"><a title=\"Fancybox Home\" href=\"\/\/fancybox.net\" target=\"_blank\" rel=\"noopener\">The Fancybox website&#8230; Please go here for more information and donate if you like it<\/a><\/p>\n<p align=\"center\"><em>To install this on WordPress, we need to add all the scripts before the &lt;\/head&gt; of the theme header.php. If we&#8217;re going to use players like <a class=\"iw\" title=\"Jwplayer\" href=\"\/\/www.longtailvideo.com\/players\">Jwplayer<\/a> or <a class=\"ib\" title=\"Nonverblaster\" href=\"\/\/video.nonverbla.de\/\">nonverblasters<\/a>, we need to include them in this block also. As the rule of thumb, if we&#8217;re going to use many scripts, it&#8217;s good to have JQuery.noConflict defined for each script we use. For our FancyBox we use $jQ as the alias for $ sign. The scripts that will run all FancyBox classes is in the &#8220;l2sfb134.js&#8221; (this is a custom script that I created for FancyBox). I like to use FancyBox because it&#8217;s supported by almost all devices out there.<br \/>\n<\/em><\/p>\n<blockquote>\n<p style=\"text-align: left;\" align=\"center\">\u00a0&lt;!-fancybox&#8211;&gt;<br \/>\n&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text\/css&#8221; media=&#8221;all&#8221; href=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/jquery.fancybox-1.3.4.css&#8221; \/&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/jquery.tools.min.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/jquery.fancybox-1.3.4.pack.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/jquery.easing-1.3.pack.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/swfobject.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/nonverblaster.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/silverlight-ie.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/wmvplayer.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script type=&#8221;text\/javascript&#8221;&gt;<br \/>\nvar $jQ=jQuery.noConflict();<br \/>\n$jQ(document).ready(function(){<br \/>\n});<br \/>\n&lt;\/script&gt;<br \/>\n&lt;script src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;\/pops\/fancybox\/l2sfb134.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;!-end fancybox&#8211;&gt;<\/p>\n<\/blockquote>\n<\/div>\n<ul class=\"lcp_catlist\" id=\"lcp_instance_0\"><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>03\/16\/2017 Now we prefer\u00a0Magnific-Popup over all. 01\/25\/2016\u00a0Fancybox 1 now is fancyBox2. Due too many script conflict &#8211; the old fancybox134 must stand alone for demo. The Fancybox website&#8230; Please go here for more information and donate if you like it To install this on WordPress, we need to add all the scripts before the &lt;\/head&gt; <a href=\"https:\/\/www.dognmonkey.com\/techs\/fancybox-1-3-4.html\" class=\"more-link\">&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[355,69,128,353,354,158,174],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-pop-ups","tag-fancybox","tag-fancybox-134","tag-mediabox-advanced","tag-modal","tag-pop-up","tag-prettyphoto","tag-shadowbox"],"views":8511,"_links":{"self":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":4,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":6740,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/79\/revisions\/6740"}],"wp:attachment":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/categories?post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/tags?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}