Advertisement
Guest User

Untitled

a guest
Jan 16th, 2013
1,121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.63 KB | None | 0 0
  1. {html}
  2. <script type="text/javascript">
  3. jQuery(document).ready(function() {
  4. // Add links to the domain lists
  5. jQuery('#listbydomain span:contains(Sportsbook)').hover(function(event) {
  6. jQuery(this).css( 'cursor', 'pointer' );
  7. });
  8. jQuery('#listbydomain span:contains(Sportsbook)').click(function(event) {
  9. window.location = jQuery('#sportsbooklink a:first').attr('href');
  10. return false;
  11. });
  12. jQuery('#listbydomain span:contains(Retail)').hover(function(event) {
  13. jQuery(this).css( 'cursor', 'pointer' );
  14. });
  15. jQuery('#listbydomain span:contains(Retail)').click(function(event) {
  16. window.location = jQuery('#retaillink a:first').attr('href');
  17. return false;
  18. });
  19. jQuery('#listbydomain span:contains(Content)').hover(function(event) {
  20. jQuery(this).css( 'cursor', 'pointer' );
  21. });
  22. jQuery('#listbydomain span:contains(Content)').click(function(event) {
  23. window.location = jQuery('#contentlink a:first').attr('href');
  24. return false;
  25. });
  26. jQuery('#listbydomain span:contains(Architecture)').hover(function(event) {
  27. jQuery(this).css( 'cursor', 'pointer' );
  28. });
  29. jQuery('#listbydomain span:contains(Architecture)').click(function(event) {
  30. window.location = jQuery('#contentlink a:first').attr('href');
  31. return false;
  32. });
  33. });
  34. </script>
  35. {html}
  36. {div:id:sportsbooklink|style=display:none;}[Link to Sportsbook list|Summary of Sportsbook
  37. Definitions]{div}
  38. {div:id:retaillink|style=display:none;}[Link to Retail list|Summary of Retail Definitions]{div}
  39. {div:id:contentlink|style=display:none;}[Link to Content list|Summary of Content
  40. Definitions]{div}
  41. {div:id:architecturelink|style=display:none;}[Link to Architecture list|Summary of Architecture
  42. Definitions]{div}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement