|
|
Line 5: |
Line 5: |
| | | |
| <script> | | <script> |
- | $(window).load (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> | | </script> |
| | | |