Advertisement
Aera223

Interactive

Jun 2nd, 2020
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.36 KB | None | 0 0
  1. <!DOCTYPE html><html><head><style>#i{background-color:#fff;}p{text-shadow: 1.3px 0px 1.5px #ff0;}*{font-family:corbel;font-size:1.1em;padding:0.3em;background:#bfb;}</style></head><body>
  2.  
  3. <div id="i" onclick="document.getElementById('i').innerHTML ='This is designed and developed by Aera23 (Aeron) in June.';">BasicBot: Click the text for more (click this for dev info)</div>
  4.  
  5. <div id="x">Page 1<br>
  6. <p onclick="document.getElementById('i').innerHTML ='This is a tool that allows users to view part by part help';">What is this</p>
  7.  
  8. <p onclick="document.getElementById('i').innerHTML ='G\'day. I\'m in the process of being designed';">Hey there, What's up</p>
  9. </div>
  10.  
  11.  
  12. <div id="test" style="display:none;">Page 2 of 5:<br>
  13. <p onclick="document.getElementById('i').innerHTML ='My day has been spent by coding an animation tool, then coding this interactive page.';">My day</p>
  14. <p onclick="document.getElementById('i').innerHTML ='The animation was designed to look like a slideshow, however, it only has one \'slide\'.';">Animation</p>
  15.  
  16. <p onclick="document.getElementById('i').innerHTML ='For work, I did some investing on Plus500, a stock and CFD app. I also did some easy GoFormative questions in Science. In English, I made some animations, and even tried Google Meet.';">Work</p>
  17.  
  18. <p onclick="document.getElementById('x').innerHTML = document.getElementById('plus').innerHTML">More</p></div>
  19.  
  20.  
  21. <div id="plus" style="display:none">
  22. Page 3 of 5<br>
  23. <p onclick="document.getElementById('i').innerHTML ='As usual, I\'ll be in the courtyard, on a bench. I will probably also go to the canteen, to buy some treats for everyone.';">Where will I be?</p>
  24.  
  25. <p onclick="document.getElementById('i').innerHTML ='If you haven\'t yet used my text tool, feel free to use it :D. I am sure to make more things very soon.';">Where to next?</p>
  26. <p onclick="document.getElementById('x').innerHTML = document.getElementById('end').innerHTML">The fourth page</p>
  27. </div>
  28.  
  29.  
  30. <div id="end" style="display:none">
  31. Page 4 of 5<br>
  32. <p onclick="document.getElementById('i').innerHTML ='Well, my favourite music is basically anything by NCS. I also like most songs on the radio, and spend about 10 minutes a day listening to them.';">My favourite music</p>
  33.  
  34. <p onclick="document.getElementById('i').innerHTML ='No worries :D.<br> BTW, what poems would you like to see?';
  35.  
  36. document.getElementById('x').innerHTML = document.getElementById('poem').innerHTML;
  37. ">Thanks</p>
  38. </div>
  39.  
  40.  
  41.  
  42. <div id="poem" style="display:none">
  43. Page 5 of 5<br>
  44. <p onclick="document.getElementById('i').innerHTML ='I jog and jog,<br>Like a tender hog.<br>And jiggle my log,<br>Without any smog';">Jogging</p>
  45.  
  46. <p onclick="document.getElementById('i').innerHTML = 'When I feel dumb<br>I suck my thumb<br>But not my bum<br>Coz... I can\'t bend.';
  47. ">Silly (double-click)</p>
  48.  
  49. <noscript onclick="this.innerHTML = 'Ok, see u; dont forget to share this page :D<br>
  50. I am a bot with zero rage<br> And I have never even tried sage!'">Bye</noscript>
  51. And that is that :D
  52. </div>
  53.  
  54.  
  55. <span onclick="document.getElementById('x').innerHTML = document.getElementById('test').innerHTML;document.getElementById('i').innerHTML ='OK, back to the second page.';">Start </span>
  56. <span onclick="document.getElementById('x').innerHTML = document.getElementById('poem').innerHTML;document.getElementById('i').innerHTML ='Let\'s get poetic :)';"> End</span>
  57. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement