[bknr-cvs] hans changed trunk/projects/quickhoney/website/static/javascript.js

Revision: 3922 Author: hans URL: http://bknr.net/trac/changeset/3922 update page title to reflect current navigational position. U trunk/projects/quickhoney/website/static/javascript.js Modified: trunk/projects/quickhoney/website/static/javascript.js =================================================================== --- trunk/projects/quickhoney/website/static/javascript.js 2008-09-18 15:38:02 UTC (rev 3921) +++ trunk/projects/quickhoney/website/static/javascript.js 2008-09-18 16:57:54 UTC (rev 3922) @@ -562,6 +562,8 @@ function show_page(pagename, subpath) { + document.title = "QuickHoney " + pagename + (subpath ? "/" + subpath : ''); + if (!pages[pagename]) { document.location.href = '/'; return false; @@ -1009,7 +1011,7 @@ index = index - 0; // ensure integer query_position = index; current_image = query_result[index]; - + log('display_image index ' + index); overlay_remove();
participants (1)
-
BKNR Commits