How do jQuery functions in a blog post look in RSS?

I made a nice jQuery show / hide button for part of the blog post (this is a cartoon template, so show all> hide everything using the function .toggle()in jQuery).

However, many of my readers consume cartoon via RSS.

How will jQuery interact with RSS? I cannot test it without posting a message, which I obviously do not want to do.

The jQuery used is as follows:

<script type="text/javascript">// <![CDATA[
        $(document).ready(function() {
             $('#fullcartoon').hide();
             $('#showfull').click(function() {
                  $('#fullcartoon').toggle('slow');
             });
        });
// ]]></script>

i.e. I hide everything in jQuery - if you don't have a javascript browser, the cartoon is not hidden at all.

I am very pleased that this was the case in RSS, but I do not want to accidentally hide half of the cartoon. What do people think?

Thank!

+3
source share
1 answer

, RSS (), script, , RSS ,

0

Source: https://habr.com/ru/post/1786425/


All Articles