| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Senior Member Posts: 3,962 Join Date: Aug 2006 Location: Mumbai, India |
02-11-2007, 08:07 AM
The code indeed is a little messy but you should not have any real problems modifying it if you are comfortable with working in HTML. I see no reason why it should screw up your website as the proactive chat box is a popup. Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
(#3)
|
(#4)
|
| Operations Manager Posts: 5,668 Join Date: Jan 2006 Location: United Kingdom |
02-11-2007, 01:43 PM
Hi there, Actually, if you inspect the complete DOM when the popup comes up you will see that it is infact wrapped in a <div> layer (zindex 500). If it is messing up your website, it is probably because you are using positioning in incorrect ways. If the HTML used for the chat request was breaking simple HTML in the way you describe, we would have 100s if not 1000s of complaints about the same thing, but we do not. If you believe I am mistaken (I may well be) do get back. HTML Code: <div id="proactivechatdiv" style="display: block; float: left; position: absolute; top: 191px; left: 415px; width: 450px; height: 400px; z-index: 500;"> -------------------------------------------------------------------
|
| | |
(#5)
|
(#6)
|
| Operations Manager Posts: 5,668 Join Date: Jan 2006 Location: United Kingdom |
02-11-2007, 02:14 PM
I'm not simply trying to pass the blame off onto you. I know that Kayako's HTML does not validate according to today's standards (so understandably it is hard for me to be "the one to talk"). However, the 'invalid' areas of our HTML are only minor and do not affect rendering of pages across browsers. Looking at your HTML, even if the HTML used by us for the small popup layer was entirely valid XHTML, it would still break your page in the same way. On looking over your HTML, it is in fact the DOM which is being broken because you have not defined any positioning attributes for your structural (layout) <divs>, so the browser simply does not know what takes prescedence and in relation to what. If you pass the fragment through a W3 validator, you will see the template code you posted above is valid (bar accessability standard related elements such as "alts" and so on). -------------------------------------------------------------------
|
| | |
(#7)
|
(#8)
|
| Senior Member Posts: 3,962 Join Date: Aug 2006 Location: Mumbai, India |
02-11-2007, 02:33 PM
I understand to an extent agree that the code is not perfect but it is not that difficult to modify it to meet your requirements. We do it for our clients on daily basis and have had no issues as yet. Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
(#9)
|
| Member Posts: 55 Join Date: Jun 2003 Location: Cornfield, IA |
02-11-2007, 02:35 PM
Quote:
The CLIENT shouldn't have to go in and tweak something in a template here, and I'm not going to spend my time , or my money to do KAYAKO'S job for them. So what if this works in a "plain" html page. The fact is that the table is broken, by me? No, by kayako! THEY should take care to fix their problems! | |
| | |
(#10)
|
| Operations Manager Posts: 5,668 Join Date: Jan 2006 Location: United Kingdom |
02-11-2007, 02:40 PM
I'm afraid I have to (as respectfully as possible) disagree with you, here. Quote:
I do not think you are properly understanding the interaction of document objects. With regards to the <center> tag and SupportSuite's HTML, it is not the HTML that we implemented that is stopping <center> from working, it will most likely be something else. Not to mention, <center> is depreciated in HTML 4.01 and completely is unavailble in XHTML DTD. See here: http://www.w3schools.com/tags/tag_center.asp. It is not the tables inside the proactive template that are interfering with your own - the only interference that is happening is that the proactivediv object is being given placement precedence over everything on your page by the browser because you have not defined any sort of positioning precedence for your own div objects. Please understand that it is nearly impossible for us to tailor the HTML to work with all browsers (which it does) and to work with potentially broken-code pages, because that potential number of 'broken code' cases is infinite. I will attempt to think up a way of making the popup compatible with your page for you, but all in all this is not a fault of the HTML in SupportSuite and our code is working as designed. -------------------------------------------------------------------
| |
| | |
(#11)
|
| Member Posts: 55 Join Date: Jun 2003 Location: Cornfield, IA |
03-11-2007, 09:47 AM
Quote:
How do I know this? Well, I caved in and decided to revamp things, reworking the site. I've been after doing away with tables for a while now, and forcing standards upwards. While it's not done, this much is known #1: At the base code, it's validated XHTML 1.1 strict compliant, aside from one thing So, what breaks the "standards"? Well, take a look through this and I think you can guess: Code: <!-- Begin SupportSuite Javascript Code --> <script language="javascript" src="https//domain.com/support/visitor/index.php?_m=livesupport&_a=htmlcode&departmentid=0"></script> <!-- End SupportSuite Javascript Code --> #1: & should never be used, the proper html replacement should be used instead. #2: Quote:
The problem is that most people aren't going to do either of those two steps, so they must be done for them, ie: the code output must be valid. It's not. Now I don't deny the old page probably has a few (ok, so validator says 50, not too bad) errors to it, but, again, the problem isn't as much the errors, but the tables. Placement of the code proved that. If it was on top, it acted all wierd. If it was on bottom (in the main area), it did not. Essentially, it was trying to take control of the table, which it should never do. Of course, those are probably broken in 4.0.1 as well, I haven't run the test through there. | ||
| | |
(#12)
|
| Operations Manager Posts: 5,668 Join Date: Jan 2006 Location: United Kingdom |
03-11-2007, 11:27 AM
twhiting9275, If you use DIVs properly on your site and set proper positioning attributes, you won't have this problem. -------------------------------------------------------------------
|
| | |
(#13)
|
| Member Posts: 55 Join Date: Jun 2003 Location: Cornfield, IA |
03-11-2007, 05:51 PM
Quote:
This has NOTHING to do with <divs> and NOTHING to do with "proper positioning attributes". it has EVERYTHING to do with the default code. Of course, this is so typical here. Blame the user for your own code, ignore the fact that your own code is not standards compliant by all means, and attempt to overwrite the user's preferences. Is it THAT hard to write code on your own end that is STANDARDS COMPLIANT and won't break the user's code? Apparently so! Apparently, it's easier to just blame your client for your own inability to handle things properly and make them do your job for you. | |
| | |
(#14)
|
| Operations Manager Posts: 5,668 Join Date: Jan 2006 Location: United Kingdom |
03-11-2007, 06:54 PM
I say again, the code that is called into the DOM when a request is called is fully semantically standards compliant - you can test this yourself using the validator at w3.org. -------------------------------------------------------------------
|
| | |
(#15)
|
| Senior Member Posts: 5,928 Join Date: Jun 2005 Location: Cumbria, UK |
03-11-2007, 08:48 PM
If you still have a problem, I suggest you take this up with Varun (CEO). You can contact him by email -> varun.shoor <!at!> kayako.com. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
![]() |
| Tags |
| chat, code, mess, proactive |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Winapp Proactive Chat Feature Request | tenaciousJk | Feature Requests | 5 | 15-06-2008 12:29 PM |