Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. <script>
  2. $(document).ready(function(){
  3. //Examples of how to assign the Colorbox event to elements
  4. $(".ajax").colorbox();
  5. });
  6. </script>
  7. </head>
  8. <body>
  9. <h2>Other Content Types</h2>
  10. <p><a class='ajax' href="<?php echo base_url(); ?>index.php/main/chartleveldata" title="iDetails">Outside HTML (Ajax)</a></p>
  11.  
  12. plotOptions: {
  13. column: {
  14. pointPadding: 0.2,
  15. borderWidth: 0
  16. },
  17. candlestick: {
  18. lineColor: '#404048'
  19. },
  20. series: {
  21. animation:
  22. {
  23. duration: 3000
  24. },
  25. cursor: 'pointer',
  26. point: {
  27. events: {
  28. click: function() {
  29. //window.open('<?php echo base_url(); ?>index.php/main/chartleveldata?due_date='+this.category+'&dsp=<?php echo $dspray;?>', '', 'top=200, menubar=no, left=500, width=340, height=200, directories=no, location=no, status=no,');
  30. $(".ajax").colorbox();
  31. location.href = '<?php echo base_url(); ?>index.php/main/chartleveldata?due_date='+this.category+'&dsp=<?php echo $dspray;?>';
  32. }
  33. }
  34. }
  35. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement