1
0
mirror of https://github.com/php/web-php.git synced 2026-04-28 17:33:10 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Gabor Hojtsy 74433e7180 Opera seems to not like with(){} here, so get rid of it...
Patch by Curt Zirzow
2003-10-14 16:35:34 +00:00
Gabor Hojtsy 689238049c Workaround for the 3px IE display bug 2003-09-16 16:21:37 +00:00
Gabor Hojtsy c7919b20c0 Put CSS and JS to their own place, and stop using JS for constant
styling. Use mirror specific style sheets instead which will be cached,
and applied faster than JS, and also work with JS disabled browsers.
2003-08-24 11:45:54 +00:00
Gabor Hojtsy a63ba5d1d1 Set the background image in client scripting, so it will work
properly for www.php.net too. Also use convinience functions
to save a few bytes.
2003-08-23 17:33:20 +00:00
Gabor Hojtsy 8fe303bc05 Use divs to present the TOC items on manual
pages on the left side of the window

Add images according to php.net rules to these
two styles (toca, toci) depending on what mirror
they are used on

Also rewrite the TOC generator code a bit, so it
identifies items properly when their title and titleabbrev
differ [was a bug on many pages]

Also wrap too long function names, so we have the
same amount of content and nav area on pages with
long function names in the TOC [eg. xml functions]

The new div based approach means that we have *much*
less HTML to output, and the layout of the menu is better
than before, as the box images are aligned to the text.
Tested with Mozilla and Konqueror. Apart from pages with
long function names in the TOC, this should look very similar
to the display of the TOC before
2003-06-14 18:28:56 +00:00
Gabor Hojtsy 4d2ea15b8e If something is already typed in, then skip this 2003-06-07 07:55:46 +00:00
Gabor Hojtsy 115f678e05 Ups, first is the option, then comes the pattern 2003-06-06 18:52:46 +00:00
Gabor Hojtsy 1d86bcff06 Define the new searchHistory() JS function to restore
the last search done by a user

Include this in the onload event handler of the index page,
and in all other pages, where an onload handler is not already
defined

Add name to form, so we can call it by it's name

JS tested with Mozilla. As the functions and objects used
are rather old, it should work with all browsers. In case someone
knows a better way, go and fix it ;)
2003-06-05 19:41:55 +00:00
Gabor Hojtsy ec5a78f5e9 Adding client side JS to make events in the user's
country bold. This JS file will be expanded in the future
to add features like last search keyword / last selected
search option remembering

This JS was tested in Mozilla, Galeon and Konqueror
with success and the code was human checked against
MSDN for Internet Explorer questions. It also includes
a BC check for browsers without DOM support.
2003-05-15 13:27:40 +00:00