{"id":69433,"date":"2025-08-11T03:01:00","date_gmt":"2025-08-10T17:01:00","guid":{"rendered":"https:\/\/www.rjmprogramming.com.au\/ITblog\/?p=69433"},"modified":"2025-08-11T06:13:09","modified_gmt":"2025-08-10T20:13:09","slug":"tabular-single-row-image-gallery-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/tabular-single-row-image-gallery-primer-tutorial\/","title":{"rendered":"Tabular Single Row Image Gallery Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/swipe_media.html\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Tabular Single Row Image Gallery Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/swipe_media.gif\" title=\"Tabular Single Row Image Gallery Primer Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">Tabular Single Row Image Gallery Primer Tutorial<\/p><\/div>\n<p>&#8220;Tabular Single Row Image Gallery&#8221; &#8230;<\/p>\n<blockquote><p>\nSmabular Single Row Image Gallery\n<\/p><\/blockquote>\n<p> &#8230; we&#8217;re sure is the reaction of some readers out there, to today&#8217;s &#8220;starting draft&#8221; for an idea we had.  Today&#8217;s part of the jigsaw we want to explore may be &#8220;ho hum&#8221; and &#8220;so non-mobile&#8221;, but we&#8217;re hoping the thread appeals to more modern ideas as we go along.<\/p>\n<p>So much for the apologies, and so let&#8217;s now look at the basis to this start &#8230;<\/p>\n<ul>\n<li>media (so far just image) &#8230;<\/li>\n<li>gallery &#8230; presented in &#8230;<\/li>\n<li>table &#8230; HTML element &#8230; in &#8230;<\/li>\n<li>single <i>tr<\/i> row<\/li>\n<li>deliberately overflowing to the right of the screen view of the webpage &#8230; and so &#8230;<\/li>\n<li>scrollable (ie. window scrollable) to &#8230; those right hand parts &#8230;<\/li>\n<li>only &#8220;media loaded&#8221; &#8230;<\/li>\n<li>as &#8220;scrolled to&#8221; <font size=1>or &#8220;stumbled upon&#8221;<\/font><\/li>\n<\/ul>\n<p>So far the <i>window scrollable<\/i> detection goes (thanks to <a target=\"_blank\" title='Useful link, thanks' href='https:\/\/stackoverflow.com\/questions\/10605197\/detect-if-user-is-scrolling' rel=\"noopener\">this useful link<\/a>) &#8230;<\/p>\n<p><code><br \/>\n  window.onscroll = function (e) {<br \/>\n     \/\/ called when the window is scrolled.<br \/>\n     vspos4=document.body.scrollTop;<br \/>\n     vspos3=document.body.scrollLeft;<br \/>\n     var vstdn=Math.ceil(eval('' + vspos3) \/ eval('' + amin));<br \/>\n     if (curtdn != vstdn) {<br \/>\n       checkthen(vstdn);<br \/>\n     }<br \/>\n  }<br \/>\n<\/code><\/p>\n<p> &#8230; and the CSS produced <font color=blue>&#8220;wording (ie. non-media) content&#8221;<\/font> is produced down the bottom left of &#8220;inhouse WordPress Blog image cell background&#8221; ( possible because of background-size:contain ) we think is interesting &#8230;<\/p>\n<p><code><br \/>\n&lt;style&gt;<br \/>\n  td {<br \/>\n    border: 1px dotted green;<br \/>\n  }<br \/>\n  <br \/>\n  <font color=blue>.inhouse {<br \/>\n    vertical-align: bottom;<br \/>\n    padding-bottom: 20px;<br \/>\n  }<br \/>\n  <br \/>\n  .inhouse::after {<br \/>\n    content: 'Media Gallery \\a RJM Programming \\a August, 2025 \\a Thanks to Lorem Picsum at https:\/\/picsum.photos\/ \\a ' attr(alt);<br \/>\n    white-space: pre-wrap;<br \/>\n  }<\/font><br \/>\n&lt;\/style&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; in a <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/swipe_media.html_GETME\" rel=\"noopener\">&#8220;first draft&#8221;<\/a> <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/swipe_media.html\" rel=\"noopener\">Tabular Single Row Image Gallery<\/a> web application for your perusal.  Thanks to <a target=\"_blank\" title='Lorem Picsum' href='https:\/\/picsum.photos\/' rel=\"noopener\">Lorem Picsum<\/a> regarding, as so often happens for us, when we&#8217;d like beautiful random images to be involved with web applications!<\/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='#d69433' onclick='var dv=document.getElementById(\"d69433\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/gallery\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d69433' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Tabular Single Row Image Gallery&#8221; &#8230; Smabular Single Row Image Gallery &#8230; we&#8217;re sure is the reaction of some readers out there, to today&#8217;s &#8220;starting draft&#8221; for an idea we had. Today&#8217;s part of the jigsaw we want to explore &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/tabular-single-row-image-gallery-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":[12,14,37],"tags":[1580,257,281,475,590,2348,1643,3982,760,997,1075,1917,1107,1238,3312,1644,3906,1319,1418,1583,5266],"class_list":["post-69433","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-cell","tag-content","tag-css","tag-gallery","tag-image","tag-image-gallery","tag-justification","tag-lorem-picsum","tag-media","tag-programming","tag-row","tag-scroll","tag-scrolling","tag-table","tag-tabular","tag-text-justification","tag-tr","tag-tutorial","tag-webpage","tag-window","tag-window-scroll"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/69433"}],"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=69433"}],"version-history":[{"count":4,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/69433\/revisions"}],"predecessor-version":[{"id":69437,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/69433\/revisions\/69437"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=69433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=69433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=69433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}