ANSWERED: Open SalesIQ Chat window on button click

ANSWERED: Open SalesIQ Chat window on button click

I am using the Javascript API and have created buttons on my site so people can easily enter chat.
I.e. I have buttons that are quick canned questions so users dont have to enter in text,and can enter chat quickly.

Here is an example:

<a href="#"><img class="chatButton" src="checkout-bttn.png"alt="I need help with checkout" onclick="javascript:$zoho.salesiq.visitor.question('I need help with checkout');$zoho.salesiq.chat.start();"></a>

This sends a question to the chat and starts the chat which is great. However, the chat window does not maximize.  How do I get the chat window to maximize when a user clicks one of my quick buttons?

When a user comes to the page, I want the button minimized on the page, and only launch when they click a quick button or if they click the chat button.

Thanks

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now