Nothing complicated. This fades in within 1 second. Shorten the waiting time to have it faster:
Code: Select all
on openCard
set the htmltext of widget "browser" to \
"<html><head><style> body{ color:white; font-family:Arial; " & \
"font-size: 17px;line-height:1.4; text-wrap:normal;}</style>" & \
"<meta name='viewport' content='device-width, " & \
"initial-scale=1.0, user-scalable=no'/></head>" & \
"<body></body></html>"
repeat with i=254 down to 0
do "document.body.style.backgroundColor= " & \
"'rgb("&(i,i,i)&")';" in widget "browser"
wait 4 millisecs with messages
end repeat
end openCard
Setting the ink or the blendlevel doesn't work for native displays.