javascript - Local storage for events when click button X Close on window chat box? -


i novice, now, learning html5.

i buiding window chat box using css. want function facebook'chatbox. specificly, when click button "x" on window chat box on tab1 close on tab2,tab3,tab4,....tab n of browser.

also operate same hiding window. think need use local storage problem, don't know how please me !

step 1: create database , tables it. need table store users. need other tables store user status. when user logged in, user associated user table , status table(s) having foreign key user table.

step 2: need develop service on server-side handle post requests. these requests either update status or ask latest status.

step 3: on client-side, need polling repeatedly latest status.

step 4: whenever status changes, refresh ui components.

step 5: handle ui events. instance, when click on x, status update should sent server tab needs closed. other tabs latest status when next polling request gets response , ui refreshed.

easier said done, these steps need perform.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -