Skip to content
Advertisement

Responsive live-chat

So, I currently have a working live-chat application. The problem is that on a laptop screen it looks like this: https://pasteboard.co/IEHrCyL.png, while on the phone it looks like: https://pasteboard.co/IEHs2uB.png What I want is to make a mobile version that looks like WhatsApp: We have the contacts list, then we select one and the conversation is displayed. For returning to the contacts list, we press the ‘back’ button. Any idea regarding how to achieve this?

The current code is this (even though I don’t think it’s really useful since I’m looking for an idea):

JavaScript

Advertisement

Answer

Maybe use @media query in css to get correct view on mobile. You can set positioning in different screen width. Read some about RWD, it may be helpful.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement