[TYPO3-dev] ExtJs in the TYPO3 BE how-to questions?
Alban Cousinié
lists at mind2machine.com
Tue Apr 19 10:23:28 CEST 2011
Hi François,
Maybe you can try putting you content in <div class="myScrollableItem"> with
the following css style applied to it :
.myScrollableItem{
width:640px;
height:480px;
overflow:scroll;
}
When the content height will exceed the div height of 480px, a scrollbar
should appear on the side of the div.
Regards,
Alban
> -----Message d'origine-----
> De : typo3-dev-bounces at lists.typo3.org [mailto:typo3-dev-
> bounces at lists.typo3.org] De la part de François Suter
> Envoyé : lundi 18 avril 2011 21:47
> À : typo3-dev at lists.typo3.org
> Objet : Re: [TYPO3-dev] ExtJs in the TYPO3 BE how-to questions?
>
> Hi,
>
> > it's ok to do so, but we already have a file you should include:
> > t3lib(js/extjs/notifications.js
> >
> > There you find some predefined message boxes and windows for easy usage,
> eg
> > TYPO3.Dialog.InformationDialog(config)
> > TYPO3.Dialog.QuestionDialog(config)
> > a.s.o.
> >
> > But it's not mandatory to use these. In same file we have windows that
> > have already the css classes for TYPO3, so that makes life bit easier.
>
> I'm coming back belatedly to this thread. I started trying out both the
> dialogs and windows defined in notifications.js, but I'm stumbling on a
> problem. The content I need to display is quite large. It is taken from
> some hidden div in the BE module itself (I know, I should probably load
> it using ExtDirect) and it makes the window higher than the screen
> height. How can I limit the height but make the area inside the window
> scrollable, so that all content can be seen?
>
> As an aside, if I go the ExtDirect way, how do I get the content into
> the window?
>
> Cheers
>
> --
>
> Francois Suter
> Cobweb Development Sarl - http://www.cobweb.ch
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list