User:MC10/stubtagtab.js: Difference between revisions

Content deleted Content added
clean up code
clean up code
Line 12:
'Religion, mythology, faiths, and beliefs', 'Science', 'Sports', 'Technology', 'Transport',
'Miscellaneous'];
$h = $("<div></div>");, {
$h.css({ "color": "#000000",
"background-color": "#000000fff8f8",
"background-color": "#fff8f8"});
});
for (var i = 0; i < a.length; i++) {
$newa = $("<a href=\"#\"></a>");
$newa.click(function (e) {
if (e.preventDefault) e.preventDefault();
if (e.returnValue) e.returnValue = false;
stubTagMenu($(this).text());
});
Line 31 ⟶ 29:
$("#contentSub").append($h);
 
$hb = $("<div></div>");, {
$hb.css({ "color": "#000000",
"background-color": "#000000fffff8",
"background-color": "#fffff8" });
});
$hb.attr("id", "stubtagmenu");
$("#contentSub").append($hb);