Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#16) Old
twhiting9275 Offline
Member
 
Posts: 50
Join Date: Jun 2003
Location: Cornfield, IA
03-11-2007, 08:07 PM

Quote:
I say again, the code that is called into the DOM when a request is called is fully semantically standards compliant
Care to take a bet on that? I've already found out what the problem is, and it's caused by NON compliance with standards dating back to html 2.0

I'm not talking small, petty things here, either. I'm talking things such as
Quote:
# Error Line 5, Column 26: there is no attribute "HEIGHT".
Guess what? As soon as I took out the illegal attribute, things work perfectly, imagine that!

So, the code is NOT standards compliant, and because of this, breaks websites.
   
Reply With Quote
  (#17) Old
bear Offline
Community Moderator
 
Posts: 730
Join Date: Jan 2005
03-11-2007, 10:13 PM

Quote:
Originally Posted by twhiting9275 View Post
As soon as I took out the illegal attribute, things work perfectly, imagine that!
So, the code is NOT standards compliant, and because of this, breaks websites.
But why is it only affecting your website, if it's Kayako's code at fault? I don't see this behavior on my site (properly coded and displays perfectly), and have never heard of this issue before you mentioned it. Seems to me if it was Kayako's coding, many more would be complaining.

Perhaps that height element is causing you issues because of the very reason Jamie had mentioned, that you hadn't defined your div heights and so on.
   
Reply With Quote
  (#18) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 7,372
Join Date: Jan 2006
Location: England, UK
03-11-2007, 10:15 PM

Hi again,

It seems as though you have made customizations to your HTML (I have managed to get onto your page with the "Need assistance" box called up). The HTML output of the request box is hardly anything like the original. Does it work if you revert your code customizations?

If you spot in your HTML, the <div> I have been talking about all the time is terminated before the HTML output of the table. Because the table is not wrapped in this <div>, indeed it is breaking your tables.

Can you think what is on your page that is causing this?

Here is yours (HTML-tidy'd):
HTML screenshot: http://jamie.kayako.org/screenshots/20071103-221006.png
Render screenshot: http://jamie.kayako.org/screenshots/20071103-221036.png
HTML Code:
 <div ID="proactivechatdiv" STYLE=
    "display: none; float: left; position: absolute; top: 214px; left: 615px; width: 450px; height: 400px; z-index: 500;">
    </div>
    <script TYPE="text/javascript" LANGUAGE="javascript" SRC=
    "https://secure.linux-tech.net/support/visitor/index.php?_m=livesupport&amp;_a=htmlcode&amp;departmentid=0">
    </script>

    <table BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="662">
      <tbody>
        <tr>
          <td>
          </td>
        </tr>
      </tbody>
    </table>

    <table BORDER="0" CELLPADDING="1" CELLSPACING="0" HEIGHT="200" WIDTH="450">
      <tbody>
        <tr>
          <td BGCOLOR="#3894E5">
            <table BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="450">
              <tbody>
                <tr>
                  <td ALIGN="left" BGCOLOR="#EDF4FF" VALIGN="top">
                    <table BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
                      <tbody>
                        <tr BGCOLOR="#ffffff">
                          <td COLSPAN="2" ALIGN="center" HEIGHT="29" VALIGN="top"><img
                          SRC=
                          "https://secure.linux-tech.net/support/themes/client_default/supportsuite.gif">
                          </td>
                        </tr>

                        <tr ALIGN="center" BGCOLOR="#3894E5">
                          <td COLSPAN="2" HEIGHT="1" VALIGN="top"><img SRC=
                          "https://secure.linux-tech.net/support/themes/client_default/space.gif"
                           HEIGHT="1" WIDTH="1"></td>
                        </tr>

                        <tr ALIGN="center">
                          <td COLSPAN="2" VALIGN="top"><font FACE=
                          "Verdana, Arial, Helvetica, sans-serif" SIZE="2"><br>
                          <br>
                           Need Assistance? Click "Chat Now" to chat with a Live
                          Operator.<br>
                          <br>
                          </font><br>
                          <br>
                          </td>
                        </tr>

                        <tr>
                          <td ALIGN="center" VALIGN="top" WIDTH="47%"><a HREF=
                          "javascript:doProactiveRequest();"><font COLOR="#FF3300" FACE=
                          "Trebuchet MS, Verdana, Arial, Helvetica, sans-serif" SIZE=
                          "4">Chat Now</font></a></td>

                          <td ALIGN="center" VALIGN="top" WIDTH="53%"><a HREF=
                          "javascript:closeProactiveRequest();"><font COLOR="#6666FF"
                          FACE="Trebuchet MS, Verdana, Arial, Helvetica, sans-serif"
                          SIZE="4">No Thanks!</font></a></td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
              </tbody>
            </table>
          </td>
        </tr>
      </tbody>
    </table> 
Here is the default output (http://support.kayako.com):
HTML screenshot: http://jamie.kayako.org/screenshots/20071103-221157.png
Render screenshot: http://jamie.kayako.org/screenshots/20071103-221210.png
HTML Code:
 <div ID="proactivechatdiv" STYLE=
    "display: block; float: left; position: absolute; top: 214px; left: 615px; width: 450px; height: 400px; z-index: 500;">
      <table BORDER="0" CELLPADDING="1" CELLSPACING="0" HEIGHT="200" WIDTH="450">
        <tbody>
          <tr>
            <td BGCOLOR="#3894E5">
              <table BORDER="0" CELLPADDING="0" CELLSPACING="0" HEIGHT="200" WIDTH="450">
                <tbody>
                  <tr>
                    <td ALIGN="left" BGCOLOR="#EDF4FF" VALIGN="top">
                      <table BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
                        <tbody>
                          <tr BGCOLOR="#ffffff">
                            <td COLSPAN="2" ALIGN="center" HEIGHT="29" VALIGN="top"><img
                            SRC="https://members.kayako.net/images/kayakologo.gif"></td>
                          </tr>

                          <tr ALIGN="center" BGCOLOR="#3894E5">
                            <td COLSPAN="2" HEIGHT="1" VALIGN="top"><img SRC=
                            "https://members.kayako.net/images/space.gif" HEIGHT="1"
                            WIDTH="1"></td>
                          </tr>

                          <tr ALIGN="center">
                            <td COLSPAN="2" VALIGN="top"><font FACE=
                            "Verdana, Arial, Helvetica, sans-serif" SIZE="2"><br>
                            <br>
                             Need Assistance? Click "Chat Now" to chat with a Live
                            Operator.<br>
                            <br>
                            </font><br>
                            <br>
                            </td>
                          </tr>

                          <tr>
                            <td ALIGN="center" VALIGN="top" WIDTH="47%"><a HREF=
                            "javascript:doProactiveRequest();"><font COLOR="#FF3300"
                            FACE="Trebuchet MS, Verdana, Arial, Helvetica, sans-serif"
                            SIZE="4">Chat Now</font></a></td>

                            <td ALIGN="center" VALIGN="top" WIDTH="53%"><a HREF=
                            "javascript:closeProactiveRequest();"><font COLOR="#6666FF"
                            FACE="Trebuchet MS, Verdana, Arial, Helvetica, sans-serif"
                            SIZE="4">No Thanks!</font></a></td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </div> 
For some reason, the <div> statement in your HTML is not wrapped around the table containing the request message:
HTML Code:
<div id="proactivechatdiv" style="display: none; float: left; position: absolute; top: 214px; left: 615px; width: 450px; height: 400px; z-index: 500;"></div> 


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#19) Old
twhiting9275 Offline
Member
 
Posts: 50
Join Date: Jun 2003
Location: Cornfield, IA
03-11-2007, 11:50 PM

Maybe I was just hallucinating that the height thing fixed it, but I swore it did. Either way, ick, ick, ick.

The only change I made was to remove the height which breaks standards anyways. The rest was C&P from the livesupport into the page.

Not that much of a big thing now, as like I said, I'm rewriting things to be smarty capable, new template, etc, but still, as I keep saying, care shuld be taken so that clients don't have to be doing this. It's (obviously) possible, as your competition has no problem with this.

Either way, the responses of "It's your site", "It's your fault" fit the standard kayako response I've seen so far. We'll see what happens when a real problem comes up.
   
Reply With Quote
  (#20) Old
bear Offline
Community Moderator
 
Posts: 730
Join Date: Jan 2005
04-11-2007, 12:04 AM

Quote:
Originally Posted by twhiting9275 View Post
care shuld be taken so that clients don't have to be doing this.
But yours is the only case we've heard of this happening. If it wasn't your code specifically that has or causes the issue, others would also be having the problem. Do you know of anyone else having this issue?
   
Reply With Quote
Reply

Tags
chat, code, mess, proactive

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Winapp Proactive Chat Feature Request tenaciousJk Feature Requests 9 26-04-2009 02:52 PM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78