Rotate Section on Load

Description

#1. Install Code

#1.1. First you can add some sections on same page

In my example, I use 3 sections like this

06.26c11v2 Rotate Section on Load

06.26c11v2 Rotate Section on Load

06.26c11v2 Rotate Section on Load

#1.2. Hover on top right of each section > Click Edit Section

06.26c11v2 Rotate Section on Load

at Design > Anchor Link > enter word: rotate-img01, rotate-img02, rotate-img03

06.26c11v2 Rotate Section on Load

Something like this

rotate-img01

06.26c11v2 Rotate Section on Load

rotate-img02

06.26c11v2 Rotate Section on Load

rotate-img03

06.26c11v2 Rotate Section on Load

#1.3. Hover on page where you added sections > Click Gear icon

06.26c11v2 Rotate Section on Load

Click Advanced > Paste this code

  • If you use Personal/Basic Plan and your plan doesn’t support Injection, see #3.1.
<!-- 06.26c11v2 Rotate Section on Load -->
<script>
var ROTATE_CONFIG = {
  ids: ['rotate-img01', 'rotate-img02', 'rotate-img03']
};
</script>
<script src="https://code.beaverhero.com/other/0626c11v2rotatesectiononload.js"></script>

06.26c11v2 Rotate Section on Load

#2. Customize

#2.1. If you want to apply code to >3 sections, just use rotate-img01, rotate-img02, rotate-image03, rotate-img04, rotate-img05… (edit Line

#3. Other

#3.1. If you use Personal/Basic Plan and your plan doesn’t support Injection, you can edit current Page > Add a Block

05.26c16v1 Hover Text Show Image Follow Cursor

Choose Markdown

04.26c10v2 Header Sound Icon

Paste this code into Markdown

<script>
var ROTATE_CONFIG = {
  ids: ['rotate-img01', 'rotate-img02', 'rotate-img03']
};
</script>
<script src="https://code.beaverhero.com/other/0626c11v2rotatesectiononload.js"></script>

06.26c11v2 Rotate Section on Load

 

Buy me a coffee