|
|
Line 7: |
Line 7: |
| <script type="text/javascript" src="/wiki/extensions/SlimboxThumbs/slimbox/slimboxthumbs.js"></script> | | <script type="text/javascript" src="/wiki/extensions/SlimboxThumbs/slimbox/slimboxthumbs.js"></script> |
| <script type="text/javascript" src="/wiki/extensions/SlimboxThumbs/slimbox/slimboxthumbs.js"></script> | | <script type="text/javascript" src="/wiki/extensions/SlimboxThumbs/slimbox/slimboxthumbs.js"></script> |
- | <script> | + | <script type="text/javascript" src="/wiki/skins/common/mainpage.js"></script> |
- | $(document).ready(function () {
| + | |
- | $('#mainpagebasics-trigger').click(function () {
| + | |
- | $('#mainpagebasics,#mainpagebasics2').fadeIn('slow');
| + | |
- | $('div.mainpagemenu').removeClass('mainpageselected');
| + | |
- | $('#mainpagebasics-trigger div').addClass('mainpageselected');
| + | |
- | $('#mainpagecrafts,#mainpagecrafts2,#mainpagepets,#mainpagepets2,#mainpagepvppve,#mainpagepvppve2,#mainpagecrossgames,#mainpagecrossgames2,#mainpageevents,#mainpageevents2,#mainpagetech,#mainpagetech2').hide();
| + | |
- | });
| + | |
- | $('#mainpagecrafts-trigger').click(function () {
| + | |
- | $('#mainpagecrafts,#mainpagecrafts2').fadeIn('slow');
| + | |
- | $('div.mainpagemenu').removeClass('mainpageselected');
| + | |
- | $('#mainpagecrafts-trigger div').addClass('mainpageselected');
| + | |
- | $('#mainpagebasics,#mainpagebasics2,#mainpagepets,#mainpagepets2,#mainpagepvppve,#mainpagepvppve2,#mainpagecrossgames,#mainpagecrossgames2,#mainpageevents,#mainpageevents2,#mainpagetech,#mainpagetech2').hide();
| + | |
- | });
| + | |
- | $('#mainpagepets-trigger').click(function () {
| + | |
- | $('#mainpagepets,#mainpagepets2').fadeIn('slow');
| + | |
- | $('div.mainpagemenu').removeClass('mainpageselected');
| + | |
- | $('#mainpagepets-trigger div').addClass('mainpageselected');
| + | |
- | $('#mainpagebasics,#mainpagebasics2,#mainpagecrafts,#mainpagecrafts2,#mainpagepvppve,#mainpagepvppve2,#mainpagecrossgames,#mainpagecrossgames2,#mainpageevents,#mainpageevents2,#mainpagetech,#mainpagetech2').hide();
| + | |
- | });
| + | |
- | $('#mainpagepvppve-trigger').click(function () {
| + | |
- | $('#mainpagepvppve,#mainpagepvppve2').fadeIn('slow');
| + | |
- | $('div.mainpagemenu').removeClass('mainpageselected');
| + | |
- | $('#mainpagepvppve-trigger div').addClass('mainpageselected');
| + | |
- | $('#mainpagebasics,#mainpagebasics2,#mainpagecrafts,#mainpagecrafts2,#mainpagepets,#mainpagepets2,#mainpagecrossgames,#mainpagecrossgames2,#mainpageevents,#mainpageevents2,#mainpagetech,#mainpagetech2').hide();
| + | |
- | });
| + | |
- | $('#mainpagecrossgames-trigger').click(function () {
| + | |
- | $('#mainpagecrossgames,#mainpagecrossgames2').fadeIn('slow');
| + | |
- | $('div.mainpagemenu').removeClass('mainpageselected');
| + | |
- | $('#mainpagecrossgames-trigger div').addClass('mainpageselected');
| + | |
- | $('#mainpagebasics,#mainpagebasics2,#mainpagecrafts,#mainpagecrafts2,#mainpagepets,#mainpagepets2,#mainpagepvppve,#mainpagepvppve2,#mainpageevents,#mainpageevents2,#mainpagetech,#mainpagetech2').hide();
| + | |
- | });
| + | |
- | $('#mainpageevents-trigger').click(function () {
| + | |
- | $('#mainpageevents,#mainpageevents2').fadeIn('slow');
| + | |
- | $('div.mainpagemenu').removeClass('mainpageselected');
| + | |
- | $('#mainpageevents-trigger div').addClass('mainpageselected');
| + | |
- | $('#mainpagebasics,#mainpagebasics2,#mainpagecrafts,#mainpagecrafts2,#mainpagepets,#mainpagepets2,#mainpagepvppve,#mainpagepvppve2,#mainpagecrossgames,#mainpagecrossgames2,#mainpagetech,#mainpagetech2').hide();
| + | |
- | });
| + | |
- | $('#mainpagetech-trigger').click(function () {
| + | |
- | $('#mainpagetech,#mainpagetech2').fadeIn('slow');
| + | |
- | $('div.mainpagemenu').removeClass('mainpageselected');
| + | |
- | $('#mainpagetech-trigger div').addClass('mainpageselected');
| + | |
- | $('#mainpagebasics,#mainpagebasics2,#mainpagecrafts,#mainpagecrafts2,#mainpagepets,#mainpagepets2,#mainpagepvppve,#mainpagepvppve2,#mainpagecrossgames,#mainpagecrossgames2,#mainpageevents,#mainpageevents2').hide();
| + | |
- | });
| + | |
- | });
| + | |
- | </script> | + | |
| | | |
| <div id="mainpagebasics-trigger"> | | <div id="mainpagebasics-trigger"> |