Forum Support

Shape 5
November 27, 2021, 11:55:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
   Home   Help Search Login Register  
Pages: [1]
Author Topic: IE Operation Aborted  (Read 430 times)
Jr. Member
Offline Offline

Posts: 17

« on: August 10, 2009, 03:19:25 PM »

I downloaded this module, signed up with olark(habla), etc but got an Operation Aborted every time when using IE7. This absolutley did my head in! Anyway I came up with a solution and I thought I would share. Now I'm new to Joomla, Javascript etc so there may be a better way to do it!

In the past I have used JQuery to pre-cache images after a page had loaded. It seemed to me that the problem with habla was being caused by JS and IE bug due to JS call before the DOM was ready (excuse my simplistic explanation!).

To use JQuery I created a js directory below my webroot and installed jquery.js into it.

I then changed the code in the modules/mod_s5_habla_chat/mod_s5_habla_chat.php.

1) I inserted:

<script type="text/javascript" src=""></script> My URL obviously

before line:

<script type="text/javascript" src=""></script>

2) I inserted:


before line:

config = wc_config();

3) I inserted:


after line:


4) And indented the line in between.

This gave me the following:


('_JEXEC') or die('Direct Access to this location is not allowed.');

$hablaid $params->get'hablaid''' );
$pretext_s5_hc $params->get'pretext'"" );
$posttext_s5_hc $params->get'posttext'"" );
$height $params->get'height''' );
$width $params->get'width''' );

$LiveSite  JURI::base();


<?php if ($pretext_s5_hc != "") { ?>
<?php echo $pretext_s5_hc ?>
<br /><br />
<?php ?>

<div id="habla_available_div" onclick=";javascript:habla_window.expand();" style="display:none; background-image:url(<?php echo $LiveSite ?>/modules/mod_s5_habla_chat/s5_habla_chat/online.png); background-repeat:no-repeat; background-position:top left; cursor:pointer; height:<?php echo $height ?>px; width:<?php echo $width ?>px"></div>

<div id="habla_unavailable_div" style="background-image:url(<?php echo $LiveSite ?>/modules/mod_s5_habla_chat/s5_habla_chat/offline.png); background-repeat:no-repeat; background-position:top left; cursor:pointer; height:<?php echo $height ?>px; width:<?php echo $width ?>px"></div>

<?php if ($posttext_s5_hc != "") { ?>
<br />
<?php echo $posttext_s5_hc ?>
<?php ?>

<script type="text/javascript" src=""></script>

<script type="text/javascript" src=""></script>
<script type="text/javascript">

function s5_close_habla_timer() {
function s5_close_habla() {
document.getElementById("habla_window_div").style.display = "none";
function s5_enable_habla_close() {
document.getElementById("habla_closebutton_a").onclick = s5_close_habla_timer;

  config = wc_config();
  config.vars["start_hidden"] = 1;
  config.vars["expandOnMessageReceived"] = 1;
  wc_init("<?php echo $hablaid ?>",config);



This cause the call to the habla wc.js code to be delayed until the DOM was ready and my problem was solved.


Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.