|
What this is
Other links
The source code
function showEmail(beforeAt, afterAt)
{
return beforeAt + "@" + afterAt;
}
var starOn = new Image();
starOn.src = "${contextPath}/templates/${templateName}/images/star_on.gif";
var starOff = new Image();
starOff.src = "${contextPath}/templates/${templateName}/images/star_off.gif";
function writeStars(q, postId)
{
for (var i = 0; i < 5; i++) {
var name = "star" + postId + "_" + i;
document.write("<img name='" + name + "'>");
document.images[name].src = q > i ? starOn.src : starOff.src;
}
}
function addBookmark(relationType, relationId)
{
var w = window.open('${JForumContext.encodeURL("/bookmarks/insert/' + relationType + '/' + relationId + '")}', 'bookmark_add', 'width=700, height=180, scrollbars=no');
w.focus();
}
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.