Posted By

Desoxena on 09/29/11


Tagged

bluh


Versions (?)

Click-gallery I'm working on!


 / Published in: HTML
 

Work on my image click-gallery

  1. <head>
  2.  
  3. <style type="text/css">
  4. BLUH{
  5. background:url("Straight_up_G_Troll.gif");
  6. display:block;
  7. margin-left:auto;
  8. margin-right:auto;
  9. height:500px;
  10. width:500px;
  11. }
  12. myImage{
  13. background:url("thing.jpg");
  14. display:block;
  15. margin-left:auto;
  16. margin-right:auto;
  17. height:500px;
  18. width:500px;
  19. }
  20. <script type="text/javascript">
  21. var imCount = 0;
  22. if (imCount==0){
  23. document.write("<BLUH>");
  24. document.write("</BLUH>");
  25. }
  26. if (imCount==1){
  27. document.write("<myImage>");
  28. document.write("</myImage>");
  29. }
  30. function myIterate() {
  31. imCount++;
  32. }
  33. <!--
  34. <frameset cols="40%, *">
  35. <frame src="Tables testing.html">
  36. <frame src="thing.jpg">
  37.  
  38. </frameset>
  39. -->
  40. </head>
  41. <body>
  42. <input type="button" value="Click me" onClick=myIterate()/>
  43. </body>
  44. </html>

Report this snippet  

You need to login to post a comment.