Thx for your reactions.
Loek, I did some benchies on your script. I use it to load a large bg
image on the body tag. Congratz ;-) your script is about 100 to 150ms
faster each page refresh compared to the inline typoscript solution. So
I gonna tweak it a bit and use it, thanks!
A JS only
- -Ursprüngliche Nachricht-
Von: typo3-english-boun...@lists.typo3.org
[mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Jacco van der Post
Gesendet: Donnerstag, 15. Mai 2014 09:31
An: typo3-english@lists.typo3.org
Betreff: Re: [TYPO3-english] PAGE in COA_INT?
Thx for your reactions.
Loek, I
Stephan Schuler schreef op 15-5-2014 12:05:
Hey there.
Hey there too :)
Maybe I wasn't clear enough.
I think you were clear, in fact Loek's solution is a bit like you
proposed, except I don't want to make records.
I would create a dynamic list of every available file.
This dynamic list
Hi!
Is seems not possible to put a PAGE object in a COA_INT?
I am trying to create dynamic CSS for a random background image to get
rid of inline CSS. If I do this without COA_INT it works, but it gets
cached in the browser (unless hard refresh).
When putting the bgCss in a COA_INT it
Hi Jacco,
For performance reasons I wouldn't put the burden of generating anything random
onto TYPO3.
I often use a small PHP script that generates a random stylesheet. You can link
it from TS using page.headerData (to allow adding the parameters, but also to
avoid any minifiers trying to
Loek Hilgersom schreef op 14-5-2014 17:54:
I just uploaded the latest version to github:
See https://github.com/netcoop/random-image.css.php
Hey Loek,
Thx I will look into this. Do you include this as COA_INT, how about
caching?
I was also considering a js solution.
An inline solution
Jacco van der Post schreef op 14-5-2014 18:53:
An inline solution is as simple as
page.headerData.10 = COA_INT
page.headerData.10 {
10 = IMG_RESOURCE
10 {
file.import.data = levelmedia: -1,slide
file.import.filelist =
Am 14.05.2014 17:03, schrieb Jacco van der Post:
Is seems not possible to put a PAGE object in a COA_INT?
and why not put a COA_INT inside a PAGE object ;)
--
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format
...@lists.typo3.org
[typo3-english-boun...@lists.typo3.org]quot; im Auftrag von quot;Jacco van
der Post [ja...@id-internetservices.com]
Gesendet: Mittwoch, 14. Mai 2014 17:03
An: typo3-english@lists.typo3.org
Betreff: [TYPO3-english] PAGE in COA_INT?
Hi!
Is seems not possible to put a PAGE object
Hey Jacco,
On 14-05-14 18:53, Jacco van der Post wrote:
I wonder which of these script has the best performance.
The advantage of my solution is that you just include it as cached content in
Typoscript, because the line that TYPO3 generates doesn't change, it's just a
link to a CSS file.
10 matches
Mail list logo