javascript - Get LCSK (Live Chat Starter Kit) to always be expanded, or do so at page_load -
i'm trying incorporate lcsk website. since requires .net 4.5 , site on 4.0, , can't upgrade atm, i'm trying workaround, host chat on separate sub domain on it's own app. have iframed inside ajax collapsible panel website. problem once expand ajax panel, still need click "chat us" blue bar start actual chat. i'd assume need sort of javascript simulate on_load.click, or run functions me, can't seam work.i tried
$(document).ready(function () { $("#chat-box-header").click(); });
but didn't work, , similar no success.
the main action happens trough .js file thanks!
this trick fine:
$(document).ready(function () { lcskchat.config(); lcskchat.init(); $("#chat-box-header").click(); });
i'd need hide blue bar, , iframe or include link chat page when user clicks ajax bar, other that, trick allow add chat sites 4.0 or less (if can host separate web app chat only).
Comments
Post a Comment