{"id":6385,"date":"2014-02-14T05:07:06","date_gmt":"2014-02-13T18:07:06","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=6385"},"modified":"2014-02-14T05:07:06","modified_gmt":"2014-02-13T18:07:06","slug":"javascriptcss-lightbox-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/javascriptcss-lightbox-primer-tutorial\/","title":{"rendered":"Javascript\/CSS Lightbox Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/lightbox\/Mac_iPhoto_Primer.html\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Linux Diskutil Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/lightbox\/Lightbox.jpg\" title=\"Javascript\/CSS Lightbox Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Javascript\/CSS Lightbox Primer Tutorial<\/p><\/div>\n<p>The brilliant <a target=_blank title='Lokesh Dhakar ... inventor of Lightbox' href='http:\/\/en.wikipedia.org\/wiki\/Lightbox_%28JavaScript%29'>Lokesh Dhakar<\/a> is the inventor of <a target=_blank title='Lightbox home' href='http:\/\/lokeshdhakar.com\/projects\/lightbox2\/'>Lightbox<\/a> which is a small Javascript library allowing for overlayable images on top of the current webpage &#8230; told you it was brilliant.  Am sure you&#8217;ve seen Lightbox, or its incarnations, all over the web.  It is the white left and right arrows and the white cross close (button) that give away the style of it.   You see a right arrow and a cross in the picture &#8230; all right, I apologize apologize apologize for not showing a left arrow &#8230; would it help if I said that if you view the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/lightbox\/Mac_iPhoto_Primer.html\" title=\"live run\">live run<\/a> you will probably glimpse a left arrow  &#8230; how about you turn your laptop away from you and then as you view it in a mirror it turns out to be a ?!? &#8230; <i><b>&#8220;persecution of lefties?!&#8221;<\/b><\/i> &#8230; <i>&#8220;no, lefties are great&#8221;<\/i> &#8230; <i>&#8220;have no trouble with lefties&#8221;<\/i> &#8230; <i>&#8220;why, only the other day I passed one in the street&#8221;<\/i>.<\/p>\n<p>Might leave you to read more and try the use of the Lightbox, which uses <a target=_blank href='http:\/\/www.jquery.com' title='jQuery home'>jQuery<\/a>.  The subject matter is an upcoming tutorial regarding Mac OS X iPhoto application, so I guess this is a sneak preview.  When this iPhoto tutorial comes around you&#8217;ll see that my homebaked slideshow style is not nearly as <strike>Swiss<\/strike> swish.  There are a lot of Javascript (and jQuery, and other) front-end geniuses out there, and as we speak, some are too absorbed to realize they should have got off the bus two stops ago.<\/p>\n<p>Happy <strike>light-sabre&#8217;ing<\/strike> Lightbox&#8217;ing!<\/p>\n<p>Here is a link to some downloadable (only useful after Lightbox setup) HTML programming source code you could rename to <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/lightbox\/Mac_iPhoto_Primer.html_GETME\" title='Mac_iPhoto_Primer.html'>Mac_iPhoto_Primer.html<\/a> (but you need the imagery of your own or get these off the web, etcetera etcetera etcetera).<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d6385' onclick='var dv=document.getElementById(\"d6385\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=jQuery\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d6385' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The brilliant Lokesh Dhakar is the inventor of Lightbox which is a small Javascript library allowing for overlayable images on top of the current webpage &#8230; told you it was brilliant. Am sure you&#8217;ve seen Lightbox, or its incarnations, all &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/javascriptcss-lightbox-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12,30,37],"tags":[84,281,652,663,695,997,1151,1319],"class_list":["post-6385","post","type-post","status-publish","format-standard","hentry","category-animation","category-elearning","category-photography","category-tutorials","tag-animation-2","tag-css","tag-javascript","tag-jquery","tag-lightbox","tag-programming","tag-slideshow","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6385"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=6385"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6385\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=6385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=6385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=6385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}