this is wrong.bttan wrote: ↑Sat Feb 13, 2021 12:28 pmprogrammatically speaking, this is not a right way to fix a code so I googled again and found this tutorial https://www.html.am/html-codes/marquees ... -image.cfmbttan wrote: ↑Thu Feb 04, 2021 11:44 am mystery solved - why block scrolling images are not moving?
Maximum number of images in block was set to 9 by default and h/phone has 2 images in the block when phone is held vertically and 4 images horizontally and the block images are scrolling.
On computer, the screen is wide and i have 8 images in the block on the screen and the block is not scrolling.
so i set Maximum number of images in block to 10 and it is scrolling both on my handphoe and computer.
while comparing the code, i found a typo error in the css file and i changed to:-
#scroll-jq {
max-width: 1200px;
margin-top: -12px; /* Top -12 ??? */
position: relative;
padding: 0;
left: 0;
margin: 0 auto;
}
this may solve the problem:
Code: Select all
if (!count($size) || !isset($size[0]) || !isset($size[1]))
Code: Select all
if (!count(Array($size)) || !isset($size[0]) || !isset($size[1]))
if (!count(Array($size)) || !isset($size[0]) || !isset($size[1]))
if (is_countable($size) && !count($size) || !isset($size[0]) || !isset($size[1]))