# Is it possible to modify the body tag?

**URL:** <https://forums.realmacsoftware.com/t/is-it-possible-to-modify-the-body-tag/8050>\
**Category:** RapidWeaver Classic\
**Created:** [June 21, 2016, 5:06pm UTC](https://forums.realmacsoftware.com/t/is-it-possible-to-modify-the-body-tag/8050 "2016-06-21T17:06:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ODC](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@ODC](https://forums.realmacsoftware.com/u/ODC)\
**Post date:** [June 21, 2016, 5:06pm UTC](https://forums.realmacsoftware.com/t/is-it-possible-to-modify-the-body-tag/8050/1 "2016-06-21T17:06:48Z")

</div>

Hello,

I would like to add unload = “slide ()” in the body tag.

I can not find how 😟

can you help me

Thank you very much

---

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [June 21, 2016, 5:22pm UTC](https://forums.realmacsoftware.com/t/is-it-possible-to-modify-the-body-tag/8050/2 "2016-06-21T17:22:53Z")

</div>

@ODC : In you page or site wide javascript code entry field add:

`document.getElementsByTagName("body")[0].setAttribute("unload", "slide()");`
