Re: [greenstone-users] How to apply my formatting function to collection content? Not CSS and GLI Format Fearures-DocumentText[text]

From Garmaabazar Kh.
DateThu, 1 Feb 2007 10:58:53 +0900
Subject Re: [greenstone-users] How to apply my formatting function to collection content? Not CSS and GLI Format Fearures-DocumentText[text]
In-Reply-To (54230-130-217-244-2-1170215003-squirrel-webmail-scms-waikato-ac-nz)
Thank you, I`ll try.

BTW: We can I find detailed explanation of javascript:print_preview() function?

Best,

Garmaabazar

On 1/31/07, sw64@cs.waikato.ac.nz <sw64@cs.waikato.ac.nz> wrote:
> Hello Garmaabazar,
>
> 1. The document text is in <div class="documenttext">....</div>, so you
> can write javascript to get that block and convert the text into
> lowercase.
>
> 2. You can put your script in the macro in document.dm,
> Search , you will find that it has already got some
> script in, just remember you need to escape "{" and "}" by putting ""
> before it.
>
> Regards
> Shaoqun
>
> > Dears,
> >
> > I`m wondering weather can I apply my formating specific function
> > before displaying all contents of already indexed collection. For
> > example: I want to display contents all in lowercase or in uppercase
> > just while displaying, which means stored collection remains as stored
> > before. Basically I want to run my javascript function like
> > document.toLowerCase(); while running document.dm; that allowing to
> > convert all collection text into lowercase. I looked document.dm, but
> > not understood.
> >
> > Where should I add my JavaScript on this occasion?
> >
> > Also I read approaches such as modifying CSS and GLI Format
> > Features-DocumentText[text].
> > But I want to run some Javascript, not want to add formating html tags
> > to [Text].
> >
> > Could anyone help me?
> >
> > Thank you in advance,
> >
> > Garmaabazar
> >
> > _______________________________________________
> > greenstone-users mailing list
> > greenstone-users@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
>
>
>