<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.phpwcms.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.phpwcms.org/feed.php">
        <title>phpwcms-HowTo:wiki english:other-enhancements:jquery</title>
        <description></description>
        <link>https://wiki.phpwcms.org/</link>
        <image rdf:resource="https://wiki.phpwcms.org/lib/images/favicon.ico" />
       <dc:date>2026-04-07T05:08:26+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/container-center?rev=1528042146&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/text_into_body_tag?rev=1382114938&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/to-top-link?rev=1528042146&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.phpwcms.org/lib/images/favicon.ico">
        <title>phpwcms-HowTo:wiki</title>
        <link>https://wiki.phpwcms.org/</link>
        <url>https://wiki.phpwcms.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/container-center?rev=1528042146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:06+02:00</dc:date>
        <title>Container center</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/container-center?rev=1528042146&amp;do=diff</link>
        <description>Simply vertical/horizontal center of the browser window 

From sternpunkt blog


From time to time it needs a fast solution for a problem or a desire. This centring is so a solution. 

The horizontal centring of a side in the Browserfenster is still quite simply feasible over CSS, the vertical centring against it is connected with much more effort. Therefore this variant by JS.&lt;span class=&quot;important&quot;&gt;jQuery&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;template/lib/jquery/plugin/jquery.centercontainer.js&lt;/span&gt;</description>
    </item>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/text_into_body_tag?rev=1382114938&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-10-18T18:48:58+02:00</dc:date>
        <title>Some useful little stuff</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/text_into_body_tag?rev=1382114938&amp;do=diff</link>
        <description>Inject something into body tag

&lt;http://forum.phpwcms.org/viewtopic.php?f=16&amp;t=24187#p140710&gt;

Here is the javascript (jquery) snippet (OG)


$(function() {
   $('body').attr('data-ajaxloading', 'true')
});


This will render as follows: &lt;body data-ajaxloading&gt;</description>
    </item>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/to-top-link?rev=1528042146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:06+02:00</dc:date>
        <title>To Top Link</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/jquery/to-top-link?rev=1528042146&amp;do=diff</link>
        <description>A Toplink button appears autom. on the side (fade in/out) when approximately 2/3 of the page length is reached by scrolling. 

The “hard” jump to the top is replaced by a “smooth scrolling”. The user then sees that the page scrolls to the top.&lt;span class=&quot;important&quot;&gt;jQuery 1.3 or 1.4&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;template/lib/jquery/plugin/jquery.ui.totop.js&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;template/lib/jquery/plugin/jquery.ui.totop.head.js&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;template/inc_css/specific/jq…</description>
    </item>
</rdf:RDF>
