Bill Moseley wrote:
At 10:47 AM 03/05/02 +0800, Stas Bekman wrote:

Ok, I'll grab it from google later tonight when I get some time.

Well, this seems to work in tmpl/custom/html/head

<body background="[% doc.dir.abs_doc_root %]/images/bgline.gif"
bgcolor="#ffffff" onLoad="document.forms[0].elements[0].focus()">

I poked around a bit at Javascript sites and found out the real danger with
Javascript -- all the Javascript sites have those damn pop-up ads.

Some recommend using a <script> section to define a function, and pointing
onLoad to that function, but I don't know if that's really needed.  I
thought it worked on NS4 but doesn't seem like that on my version.  But I
don't know (or care to know) javascript.

I've placed this on TODO, will see if we put it in.

Also, I was wondering why the <form> tag is in the "page" template instead
of just wrapped around the form in the "search" template?  And then </form>
is in navbar_local_top.  Why the separation of tags in different templates?

Allan said that it was screwing layout on some browsers. Allan? I'd definitely prefer to have the search widget self-contained.


Have a good day.
you mean good night ;) (to you)

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to