inline code - how to add jquery to a specific section -


i have jquery code:

<script>// <![cdata[ $(document).ready(function() {     $('body').rainsnow({         effect_name: 'snow',         drop_appear_speed: 200,         drop_falling_speed: 8000,         wind_direction: 3,         drop_rotate_angle : '-10deg',         drop_count_width_height:[[22,22], [14,16], [18,20]],         drop_left_to_right : false     }); }); // ]]></script> 

i have added script between fullwidth shortcode in wordpress page. want effect show in section contact form section though have added script in between short code displaying on whole of page.

how correctly add code display on section want to?

the beginning of code says piece of dom tree going applied. explicitly write "body". play this. btw. looks after reading jquery manual on addressing dom elements discover marvellous things.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -