Click here to Skip to main content
15,947,389 members
Home / Discussions / Web Development
   

Web Development

 
QuestionThree divs inside a div Pin
_Flaviu21-Mar-23 5:50
_Flaviu21-Mar-23 5:50 
AnswerRe: Three divs inside a div Pin
Jeremy Falcon21-Mar-23 11:39
professionalJeremy Falcon21-Mar-23 11:39 
GeneralRe: Three divs inside a div Pin
_Flaviu22-Mar-23 1:23
_Flaviu22-Mar-23 1:23 
GeneralRe: Three divs inside a div Pin
Jeremy Falcon22-Mar-23 5:02
professionalJeremy Falcon22-Mar-23 5:02 
GeneralRe: Three divs inside a div Pin
_Flaviu26-Mar-23 23:23
_Flaviu26-Mar-23 23:23 
GeneralRe: Three divs inside a div Pin
Jeremy Falcon27-Mar-23 4:32
professionalJeremy Falcon27-Mar-23 4:32 
AnswerRe: Three divs inside a div Pin
Jeremy Falcon21-Mar-23 11:40
professionalJeremy Falcon21-Mar-23 11:40 
QuestionWombat and Muppet know nothing about web push notifications... Pin
WhoPinchedMyName19-Mar-23 9:29
WhoPinchedMyName19-Mar-23 9:29 
Muppet has asked Wombat something about web push notifications - a topic they both know next to nothing about.

Q: who knows even less than who?

Wombat
you cannot push something to a 'normal' user .. their modem/router firewall will block it. So it is a sort of fiddle... one way or another you have to get the user to install some sort of program. I gather browsers are maybe going to add some sort of such facility...

Muppet
This is precisely what you can do now... look up "Web push notifications" - it's all the rage.
You have to get permission from the user (browser), but that's all.

Wombat
well if the browser has now got that option...

yes... it looks like a push to the user... but actually the pushed messages are stored 'somewhere' and your browser pulls them

Muppet
No... there is a push...

Wombat
yes from your end you just push ... but the browser has to actively retrieve them

you cannot push a message into a user's PC .. well not unless they set their firewall to always accept unexpected messages

Muppet
Your browser is not constantly polling the server in case there's a message for it... the server tells (pushes to) your browser it has a message for it

Wombat
no it cannot! it simply won't get past the router .. unless something is telling the router it wants it

the messages will just sit there waiting if the user's browser is offline

Muppet
of course it can get past the router - all routers are open to web traffic

Wombat
because your browser has sent out a message .. and the router will accept a response from whoever the message went to.. within a time limit

Muppet
and these ntofiicatsion work by your broswer telling the server it will accept pushes from it - this is why you have to subscribe to them

Wombat
yes.. but the brower still has to ask for them! .. if you just fire a message at a router... how does it know which of many computers using it should get that message

Muppet
it knows by which browsers are signed up to accept them

Wombat
no.. the router has no idea what program is using it

Muppet
so how does the browser know when to ask for a message then?

Wombat
becasue when you tell it to allow notifications - from a specific source ... it remembers that and asks occasionally.. i think the default timeout for the router is about 15 seconds.

Muppet
no - I am 100% sure that isn't how it works

Wombat
it will be interesting to time how promptly the notification appears

Muppet
anyone can simply poll a server on a timer

Wombat
a server.. yes!

Muppet
you don't need any fancy new protocls for that
i mean any browser can poll a server using a simple javascript timer

Wombat
but servers have to set their firewall to always pass messages by Port number to specific PCs

but you cannot poll me, or my router

Muppet
You read up on these a bit more and then come and tell me I'm wrong!

Wombat
actually there is a protocol to poll my router ... but they are no longer used because bad guys cause too much trouble.. so no router now will respond to a ping

Muppet
dinner time...

Wombat
but i'd bet you a rhubarb pudding i am right
AnswerRe: Wombat and Muppet know nothing about web push notifications... Pin
jschell21-Mar-23 5:58
jschell21-Mar-23 5:58 
GeneralRe: Wombat and Muppet know nothing about web push notifications... Pin
WhoPinchedMyName21-Mar-23 7:09
WhoPinchedMyName21-Mar-23 7:09 
GeneralRe: Wombat and Muppet know nothing about web push notifications... Pin
jschell23-Mar-23 5:47
jschell23-Mar-23 5:47 
GeneralRe: Wombat and Muppet know nothing about web push notifications... Pin
WhoPinchedMyName23-Mar-23 6:11
WhoPinchedMyName23-Mar-23 6:11 
GeneralRe: Wombat and Muppet know nothing about web push notifications... Pin
jschell24-Mar-23 12:05
jschell24-Mar-23 12:05 
QuestionCenter text vertically inside a div Pin
_Flaviu15-Mar-23 23:01
_Flaviu15-Mar-23 23:01 
AnswerRe: Center text vertically inside a div Pin
_Flaviu16-Mar-23 3:40
_Flaviu16-Mar-23 3:40 
GeneralRe: Center text vertically inside a div Pin
_Flaviu17-Mar-23 1:25
_Flaviu17-Mar-23 1:25 
AnswerRe: Center text vertically inside a div Pin
Richard MacCutchan17-Mar-23 1:47
mveRichard MacCutchan17-Mar-23 1:47 
GeneralRe: Center text vertically inside a div Pin
_Flaviu17-Mar-23 3:51
_Flaviu17-Mar-23 3:51 
GeneralRe: Center text vertically inside a div Pin
Richard MacCutchan17-Mar-23 4:20
mveRichard MacCutchan17-Mar-23 4:20 
GeneralRe: Center text vertically inside a div Pin
_Flaviu17-Mar-23 4:22
_Flaviu17-Mar-23 4:22 
GeneralRe: Center text vertically inside a div Pin
Richard MacCutchan17-Mar-23 4:30
mveRichard MacCutchan17-Mar-23 4:30 
AnswerRe: Center text vertically inside a div Pin
Jeremy Falcon20-Mar-23 8:43
professionalJeremy Falcon20-Mar-23 8:43 
GeneralRe: Center text vertically inside a div Pin
_Flaviu21-Mar-23 1:30
_Flaviu21-Mar-23 1:30 
GeneralRe: Center text vertically inside a div Pin
Jeremy Falcon21-Mar-23 4:01
professionalJeremy Falcon21-Mar-23 4:01 
QuestionWhich language should I use out of javascript or php? Pin
Member 1595298015-Mar-23 22:39
Member 1595298015-Mar-23 22:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.