Samuel Bronson
5a216cc4ce
scribble: Rename attribute pltdoc -> data-pltdoc, which is valid in HTML5.
...
(pltdoc isn't valid in any version of HTML.)
2012-11-27 07:55:43 -07:00
Samuel Bronson
a624d8de15
Misc improvements to the doc search JavaScript code
...
* Stamp "plt-index.js" with the path of its generator.
* Fix most of the "use strict" and js2-mode warnings in scribble's
JavaScript.
* Some code improvements in the generating code too.
(With some edits by Eli.)
2012-10-10 11:05:25 -04:00
Eli Barzilay
658fc0717d
Hack for chrome: catch errors when reading/writing cookies
...
and just treat it as if there is no cookie. This is what
chrome effectively did until recently -- so the relying on
cookies for the return path to the user-specific pages was
and still is broken.
svn: r18684
2010-03-31 06:36:58 +00:00
Eli Barzilay
64e018fffa
Leftover langindicator' ->
contextindicator' change
...
svn: r17074
2009-11-27 00:17:25 +00:00
Eli Barzilay
c0be5f0d12
* Propagate all url arguments to links (except ones that are present)
...
* Use ctxtname for the displayed label
* `langindicator' -> `contextindicator' in css
svn: r17073
2009-11-26 20:45:40 +00:00
Eli Barzilay
04ae026b1b
typo in result of search
...
svn: r17066
2009-11-25 23:57:42 +00:00
Eli Barzilay
71b1164034
propagate the argument throught the search box too
...
svn: r17051
2009-11-24 21:26:05 +00:00
Eli Barzilay
bd1ba85221
use the langindicator when there's a lang parameter
...
svn: r17039
2009-11-24 13:37:04 +00:00
Eli Barzilay
825a47dfef
A `lang' parameter gets carried through the pages.
...
svn: r17037
2009-11-24 12:33:15 +00:00
Eli Barzilay
142d33d67f
Make it possible to register multiple onload handlers.
...
(Needed because all pages must have an onload, and the search page needs an
additional initialization function.)
svn: r17032
2009-11-24 09:11:09 +00:00
Eli Barzilay
d94903ec53
use escape/unescape on the value strings
...
svn: r17027
2009-11-24 06:50:02 +00:00
Eli Barzilay
cdf940fedd
url parameter utilities
...
svn: r17026
2009-11-24 06:45:26 +00:00
Eli Barzilay
55f2387f93
avoid potentially bad JS for...in
...
svn: r10883
2008-07-23 19:05:15 +00:00
Eli Barzilay
5726d77d87
fix search box path when there is no PLT_Root cookie
...
svn: r10720
2008-07-11 20:39:18 +00:00
Eli Barzilay
f4342ce47c
try a different pair of characters for expanded/collapsed toc entries
...
svn: r10626
2008-07-06 02:55:22 +00:00
Eli Barzilay
601a590aa5
new toc in manual pages
...
svn: r10606
2008-07-05 01:50:18 +00:00
Eli Barzilay
7a98aa8db2
fix empty searchbox label, again
...
svn: r10576
2008-07-03 09:07:48 +00:00
Eli Barzilay
12d4b12d91
make the code match the html
...
svn: r10574
2008-07-03 08:32:47 +00:00
Eli Barzilay
f7b146d8a0
fix bug when there are no cookies at all
...
svn: r10215
2008-06-11 05:53:52 +00:00
Eli Barzilay
e48b97a61c
change, save & restore preferences
...
svn: r10072
2008-06-01 01:45:13 +00:00
Eli Barzilay
0e3f55fa6e
* remove mynoscript hack (doesnt always work, always breaks on IE)
...
* Better JS event handling
svn: r10068
2008-05-31 16:13:40 +00:00
Eli Barzilay
66cb57f46d
* A little better JS event handler code
...
* Re-add search box, now appearing on all pages
svn: r10030
2008-05-30 04:12:21 +00:00
Eli Barzilay
9b0492e320
toc links on main pages go to user pages where needed
...
svn: r9993
2008-05-28 00:20:58 +00:00
Eli Barzilay
9127cdaaf8
up links in all documents, and they go to the user docs using cookies
...
svn: r9992
2008-05-28 00:02:25 +00:00
Eli Barzilay
1e9e508ec0
user documentation root is now stored in a cookie
...
svn: r9978
2008-05-27 15:12:31 +00:00
Eli Barzilay
11973e16df
move noscript hack to scribble-common.js
...
svn: r9961
2008-05-26 16:18:33 +00:00
Eli Barzilay
17b03a9adf
added scribble-common.js
...
svn: r9885
2008-05-19 13:13:21 +00:00