abajan

mulitpleLightboxesOn_1_Page

Sep 13th, 2011
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. To include more than one lightbox on a page, only call the script in the first code. This accommodates IE which downloads the file the first time it is called:
  2.  
  3. <script src="http://www.jotform.com/min/g=feedback" type="text/javascript">
  4. new JotformFeedback({
  5. formId:'xxxxxxxxx1',
  6. base:'http://www.jotform.com/',
  7. windowTitle:'Some title here',
  8. background:'#90BD2E',
  9. fontColor:'#FFFFFF',
  10. type:1,
  11. height:800,
  12. width:650
  13. });
  14. </script>
  15.  
  16. <script type="text/javascript">
  17. new JotformFeedback({
  18. formId:'xxxxxxxxx2',
  19. base:'http://www.jotform.com/',
  20. windowTitle:'Some title here for 2nd form',
  21. background:'#90BD2E',
  22. fontColor:'#FFFFFF',
  23. type:1,
  24. height:800,
  25. width:650
  26. });
  27. </script>
  28.  
  29. <script type="text/javascript">
  30. new JotformFeedback({
  31. formId:'xxxxxxxxx3',
  32. base:'http://www.jotform.com/',
  33. windowTitle:'Some title here for 3nd form',
  34. background:'#90BD2E',
  35. fontColor:'#FFFFFF',
  36. type:1,
  37. height:800,
  38. width:650
  39. });
  40. </script>
  41.  
  42. <script type="text/javascript">
  43. new JotformFeedback({
  44. formId:'xxxxxxxxx4',
  45. base:'http://www.jotform.com/',
  46. windowTitle:'Some title here for 4th form',
  47. background:'#90BD2E',
  48. fontColor:'#FFFFFF',
  49. type:1,
  50. height:800,
  51. width:650
  52. });
  53. </script>
Advertisement
Add Comment
Please, Sign In to add comment