Git Product home page Git Product logo

Comments (6)

lovelle avatar lovelle commented on August 17, 2024

Hi, Thanks for trying the chat 😃. Did you edit the "index.html" and also "config.js" file with the connection to node.js? (remember that if you have it all in localhost like in the examaple then you not need to edit them) but if you try to connect to the chat from another computer, then you must change this values.

what browser and version are you using? what webserver are you using to serve the chat?, the one described in readme (python) or a full web server like apache?.
Would be very helpful if you could provide a print screen (send me in private by email). Also if you could turn on firebug (in firefox) or console debug in chrome would help to see if there is any trouble with javascript or any lib.

from jquery-chat.

lovelle avatar lovelle commented on August 17, 2024

I have been experienced this issue in some chrome versions, pretty sure when the next warning is displayed:

jquery-1.11.0.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

the chat can't be loaded.

I keep searching the best solution for this issue, for now just try another browser and will work.

from jquery-chat.

lovelle avatar lovelle commented on August 17, 2024

I tested this issue and seems to be fixed now, please @jeffslofish update the latest changes on the master branch and tell me if it works now.

Best regards

from jquery-chat.

jeffslofish avatar jeffslofish commented on August 17, 2024

Hi @lovelle. I just got the latest changes and it still doesn't work. I am using WIndows 8 with XAMPP.

I changed line 5 of config.js to

   server: 'localhost:3000',

I changed line 11 of index.html to

    <script src='http://localhost:3000/socket.io/socket.io.js'></script>

Now I am not getting any errors in the console, but all I see is "My website :-)"

from jquery-chat.

jeffslofish avatar jeffslofish commented on August 17, 2024

Oh, wait a minute, I think it is working now....it is the bar at the bottom of the screen, right?

from jquery-chat.

lovelle avatar lovelle commented on August 17, 2024

Yes 👍, remember that you could personalize the bar with some custom params in "config.js".
With some of the latest changes pushed at github i have configured the chat to be work with a heroku app, but you could deploy your own node.js app. If you have any questions related to any functionality feel free to send me an email.

from jquery-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.