I decide to make read more... function by having two div
s, and setting one of them display: none
but in this case i store all the data twice.
now the question -
If I have one div element, with style="display:none"
, which contains many big size images in it, is it have an influence on page opening time?
display:none
does not prevent the hidden content from being loaded with the rest of the page.
If you want to make the page "lighter" at load time you can load the "read more.." content via Ajax on-demand.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With