Jquery HTML Setup


/ Published in: HTML
Save to your folder(s)

The outer div will have a background graphic that will change after some amount of time (a simple fade will do). At the same time there is an h2 element inside the div. The class of the h2 and text will need to change at the same time as the background. There will be 4 or 5 changes and the cycle will only happen once, landing on the last group and staying there until the page is refreshed.


Copy this code and paste it in your HTML
  1. <div id="outerbiggraphic">
  2. <h2 class="cycle1">Some text will go here.</h2>
  3. </div>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.