This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).scroll(function() { | |
var height = $(window).scrollTop(); | |
if(height > some_number) { | |
// do something | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f [NC] | |
RewriteRule ^(.*\.(js|css|png|jpe?g|gif|ico)) http://example.com/$1 [NC,L] | |
</IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------- | |
# | Forcing `https://` | | |
# ---------------------------------------------------------------------- | |
# Redirect from the `http://` to the `https://` version of the URL. | |
# On my Server the %{HTTPS} !=on does not work and always redirects | |
# (infinite redirect loop with the "Too many redirects"-error) | |
<IfModule mod_rewrite.c> | |
RewriteEngine On |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Sunzinet\SzNewsroom\ViewHelpers; | |
/** | |
* This file is part of the TYPO3 CMS project. | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* For the full copyright and license information, please read the | |
* LICENSE.txt file that was distributed with this source code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Sunzinet\SzNewsroom\ViewHelpers; | |
/** | |
* This file is part of the TYPO3 CMS project. | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* For the full copyright and license information, please read the | |
* LICENSE.txt file that was distributed with this source code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RTE.default.userElements { | |
10 = Hoch und Tief | |
10 { | |
1 = Hochgestellt | |
1.description = Potenz hochgestellt | |
1.mode = wrap | |
1.content = <sup>|<sup> | |
2 = Index |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.product{ | |
color: #00964f; | |
} | |
div.product{ | |
color: #00964f; | |
} | |
span.product{ | |
color: #00964f; | |
} | |
p.product{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bootstrap Buttons to RTE | |
RTE.default.buttons { | |
link.properties.class.allowedClasses := addToList(btn btn-default, btn btn-primary) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings.link> | |
<TCEforms> | |
<exclude>1</exclude> | |
<label> | |
Link to Page or a File or a Content-Element | |
</label> | |
<config> | |
<type>input</type> | |
<size>30</size> | |
<eval>trim</eval> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div xmlns="http://www.w3.org/1999/xhtml" lang="en" | |
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" | |
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers" | |
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"> | |
<div> | |
{namespace v=FluidTYPO3\Vhs\ViewHelpers} | |
<v:variable.set name="i" value="0" /> | |
<f:for each="{array}" as="elem" iteration="iterator"> | |
val: {i} <br> |