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});
});
- Steve Boulden
-
- Installation questions
- Saturday, 05 November 2011
- Subscribe via email
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
If you have a valid subscription, please login now.
Visit store now
Last questions
Why its working good on Computer and if i try it with smartphones the map dosent...
0 Replies
Posted on Tuesday, 07 May 2024
We have recently updated a site from Joomlav3 to v4 (4.4.2). Now when we go to m...
5 Replies
Posted on Tuesday, 30 April 2024
Hi,
i think i found a problem. When trying to edit a hotspot from front-end ...
3 Replies
Posted on Wednesday, 15 March 2023
How do I access custom fields after I have created them?...
1 Replies
Posted on Wednesday, 24 April 2024
- #custom fields
Are you able to make changes to the Hotspot submission form? There are several f...
1 Replies
Posted on Friday, 26 April 2024