{"id":299,"date":"2005-09-08T13:58:45","date_gmt":"2005-09-08T11:58:45","guid":{"rendered":"http:\/\/www.andare.ch\/blog\/2005\/09\/20-min-to-charge-to-gates\/"},"modified":"2005-09-08T13:58:45","modified_gmt":"2005-09-08T11:58:45","slug":"20-min-to-charge-to-gates","status":"publish","type":"post","link":"https:\/\/andare.ch\/blog\/2005\/09\/20-min-to-charge-to-gates\/","title":{"rendered":"20 min. to charge to Gates"},"content":{"rendered":"<div class='microid-a09c9bacaa32072e5fa274ae4d05ec2e66d9c0d4'>\n<p>Two days ago I installed the <a href=\"http:\/\/gallery.menalto.com\" target=\"_self\" title=\"Gallery project\">Gallery<\/a> photo gallery project on a friends web site, together with a small patch to allow to send photos directly to lab here in Switzerland.<\/p>\n<p>Today he calls me to tell there&#8217;s a Javascript error when one tries to add a photo to the cart for the added photo lab. Turns out that this only happens in Internet Explorer.<br \/> After debugging the faulty line on the basis of a very meaningful Javascript error message (&#8218;Invalid argument&#8216;), I finally figured out that IE, unlike Firefox, doesn&#8217;t like blanks in the second argument for the window.open() function, which is the window name. I really like stuff like that.<\/p>\n<p><em>Note<\/em>: Amazingly <a href=\"http:\/\/selfhtml.org\" target=\"_self\" title=\"selfHTML HTML\/Javascript\/CSS reference\">selfHTML<\/a> doesn&#8217;t mention this special behaviour on the <a href=\"http:\/\/de.selfhtml.org\/javascript\/objekte\/window.htm#open\" target=\"_self\" title=\"selfHTML: window.open\">window.open() syntax<\/a>, a site that I often use as a reference and has &#8211; up until now &#8211; always been helpful. Well, nobody is perfect. <\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Two days ago I installed the Gallery photo gallery project on a friends web site, together with a small patch to allow to send photos directly to lab here in Switzerland. Today he calls me to tell there&#8217;s a Javascript error when one tries to add a photo to the cart for the added photo [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[11],"tags":[142,139,141,140,367],"class_list":["post-299","post","type-post","status-publish","format-standard","hentry","category-software","tag-gallery","tag-javascript","tag-javascript_error","tag-msie","tag-software"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/posts\/299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/comments?post=299"}],"version-history":[{"count":0,"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/posts\/299\/revisions"}],"wp:attachment":[{"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/media?parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/categories?post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andare.ch\/blog\/wp-json\/wp\/v2\/tags?post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}