1. Steve Boulden
  2. Installation questions
  3. Saturday, 05 November 2011
  4.  Subscribe via email
The following code is in the head area of my pages that have compojoom. Shouldn't it be in an external javascript file? I looked at several sites here in the showcase and none seem to have this in them. I've checked all my settings but can't get rid of it. Thanks for your help.


var COM_COMMENT_MSG_DELETE = "Are you sure you want to delete this comment?"; var COM_COMMENT_MSG_DELETEALL = "Are you sure you want to delete all comments?"; var COM_COMMENT_WRITECOMMENT = "Write comment"; var COM_COMMENT_SENDFORM = "Send"; var COM_COMMENT_EDITCOMMENT = "Edit comment"; var COM_COMMENT_EDIT = "Edit"; var COM_COMMENT_FORMVALIDATE = "Please insert at least a comment."; var COM_COMMENT_FORMVALIDATE_CAPTCHA = "Please input the anti-spam code that you can read in the image."; var COM_COMMENT_FORMVALIDATE_CAPTCHA_FAILED = "Anti-spam code is not correct. Please input the code that you can read in the image."; var COM_COMMENT_FORMVALIDATE_EMAIL = "To be notified, please enter your email"; var COM_COMMENT_FORMVALIDATE_INVALID_EMAIL = " Please enter valid email address"; var COM_COMMENT_ANONYMOUS = "Anonymous"; var COM_COMMENT_BEFORE_APPROVAL = "Your comment has been queued for moderation by site administrators and will be published after approval."; var COM_COMMENT_REQUEST_ERROR = "Request failed"; var COM_COMMENT_MSG_NEEDREFRESH = "";
function keepAlive() { var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(2640000); });
window.addEvent('domready', function() {
$$('.hasTip').each(function(el) {
var title = el.get('title');
if (title) {
var parts = title.split('::', 2);
el.store('tip:title', parts[0]);
el.store('tip:text', parts[1]);
}
});
var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false});
});
Responses (4)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Anzeige von mehrtägigen Events auf Buchungsseite
We have been using Matukio for quite some time now. Unfortunately, we have been ...
5 Replies
Posted on Sunday, 03 August 2025
  • Resolved
  • Is Ccomment still alive?
    Is Ccomment still being supported? It's time for my Pro renewal but I haven't se...
    2 Replies
    Posted on Thursday, 14 August 2025
  • Resolved
  • Assistance Needed – Error When Posting Comments
    Hello, I’m experiencing an issue when trying to submit a comment on my site u...
    0 Replies
    Posted on Sunday, 10 August 2025
    Hotspots Pro 6.0.13 compatability with Joomla 5.3.
    Running Hotspots Pro 6.0.13 on Joomla 4.4.13 and want to upgrade to Joomla 5.3.1...
    2 Replies
    Posted on Friday, 04 July 2025
    some questions on Hotspots
    Hi, On Hotspots extension : 1) is it possible to add our own map layer / v...
    0 Replies
    Posted on Thursday, 03 July 2025