Advertisement
sinrtb

dynamicContent.js

Feb 23rd, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function home(){
  2.     var userInput = '<div class=\"content1\"> '+
  3.    
  4.     '</div>'    ;
  5.    
  6. document.getElementById('jsContent').innerHTML = userInput;
  7.  
  8. }
  9.  
  10. function secondPage(){
  11. var userInput = '<div class=\"content2\"> '+
  12.    
  13.     '</div>'    ;;
  14.  
  15. document.getElementById('jsContent').innerHTML = userInput;
  16.    
  17. }
  18. function fifthPage(){
  19. var userInput = '<div class=\"content3\"> '+
  20.    
  21.     '</div>'    ;;
  22.  
  23. document.getElementById('jsContent').innerHTML = userInput;
  24.    
  25. }
  26. function fourthPage(){
  27.     /*Enter content in the Variable userInput to change the Sneak Peek page*/
  28.     var userInput = ' ';
  29.  
  30. document.getElementById('jsContent').innerHTML = userInput;
  31.    
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement