Asked by duncanb7
at 2024-11-02 09:33:38
Point:500 Replies:9 POST_ID:828770USER_ID:11059
Topic:
JavaScript;PHP Scripting Language;Hypertext Markup Language (HTML)
I try to convert my simple setInterval.html html/javascript code into Node.js
for example as follows
setInterval.html
=============================
for example as follows
setInterval.html
=============================
setInterval.js for Node.js code
==========================
The client-side html code,setInterval.html ,as above is working fine and meet what I expect.
So I also try setInterval.js for Node.js at server that is aslo responding to what I expect
on my browser with http://mysite.com:8124 that is similar output result I did for setInterval.html
But the question is why when I am doing http://mysite.com:8124, the cursor pointer
is always being with looping icon coming out when you point the cursor on blank area of
the browser instance ? I mean the cursor is keeping waiting , why
it is not shown for the case in setInterval.html ?
The cursor is like as
http://www.google.com.hk/imgres?imgurl=http://www.faronics.com/assets/Cursor1.jpg&"imgrefurl=http://www.faronics.com/news/blog/apparently-i%25E2%2580%2599ve-angered-the-internet/&"h=250&"w=250&"sz=12&"tbnid=xryergqK62S4_M:&"tbnh=120&"tbnw=120&"zoom=1&"usg=__CHAhC0pZBrWTwWPHZL1xLA1cbVU=&"docid=BDgnbkhtc-kZ0M&"sa=X&"ei=tCV1UuTiOcaNkgWp3oGwDw&"ved=0CDEQ9QEwAg
And browser instance is also showing looping or waiting icon for setInteval.js case
but not on setInterval.html case
How to make the cursor display look and browser instance look is same in both cases ?
That may be caused by , one is from server-side, other one is at client-side, and
at client-side javascript is running much much faster than server-side node.js so user
can not see the waiting image icon for setInterval.html client-side case. You think so ?
Please advise
Duncan