Small homepage/website design shop in Kurume City, Fukuoka Prefecture, Japan.

猫壱屋 サイト ホームページ 作成 制作

MEMOMEMO

Once again, MacOS is making me cry.

2024-06-10 10:47

Now I get a report that the page won't open.

$(window).on('load', function() {
$('body').addClass('appear');
});

It's as simple as adding an "apply" class to the body of the page when it loads.

I checked and found that jquery is loaded, but on load does not seem to be working.

I'm trying to find another code.

$(document).ready(function() {
$('body').addClass('appear');
});

The old way of doing it... after it's loaded.

This worked fine.

I couldn't even get rerize to work before.

I guessed that MacOS must be reloading in seconds.

6/14 note: Another issue in safari.

It seems that overflow:hidden; sometimes doesn't work under certain conditions (in this case, the loading gauge).

I covered the overflowed part with :::before or :::after to deal with the problem.

Even then, it didn't respond unless I turned off the overflow:hidden;.

<< Back to list