mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- Tooltip class from global.js to basic.js (added nessecary prefix)
- miscTools:
* implemented random DB-Page
* others are placeholder (at least no errors are generated)
- Articles / Infobox:
* dropped aowow_article_items, parse nessecary globals directly from article or infobox
* articles default back to english if no target articles is absent
* quickinfo from db is only used if no auto-generated info is available
- CharClass:
* implemented detail-page
* added basic articles per class (english only)
- generic lv-page
* now accepts multiple listviews (as required by miscTools)
* can display text and title
- Markup.js:
* exchanged to current version (yet to be looked over, but basic articles are displayed properly for now)
* removed some hacks that were nessecary for the old Markup / Menu
- Listview
* made some more code readeable, no major changes
* calendar-template is now functional (WorldEvents use it)
...squashing bugs left and right
This commit is contained in:
@@ -35,7 +35,7 @@ function pc_init() {
|
||||
|
||||
link.onclick = pc_classClick.bind(link, classId);
|
||||
link.onmouseover = pc_classOver.bind(link, classId);
|
||||
link.onmouseout = Tooltip.hide;
|
||||
link.onmouseout = $WH.Tooltip.hide;
|
||||
|
||||
$WH.ae(div, icon);
|
||||
}
|
||||
@@ -63,14 +63,14 @@ function pc_init() {
|
||||
|
||||
function pc_classClick(classId) {
|
||||
if (pc_object.setClass(classId)) {
|
||||
Tooltip.hide();
|
||||
$WH.Tooltip.hide();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function pc_classOver(classId) {
|
||||
Tooltip.show(this, '<b>' + g_pet_families[classId] + '</b>');
|
||||
$WH.Tooltip.show(this, '<b>' + g_pet_families[classId] + '</b>');
|
||||
}
|
||||
|
||||
function pc_onChange(tc, info, data) {
|
||||
|
||||
Reference in New Issue
Block a user