diff options
| author | raysan5 <[email protected]> | 2021-09-03 14:58:55 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-09-03 14:58:55 +0200 |
| commit | c960ec52c69a369ad60c6f3ea97ad286cc8a0bd5 (patch) | |
| tree | 47010cdde7e68ad589260f39338719c47074855a /common | |
| parent | 23cb733355749150af2b28d17c15b9e57a76c273 (diff) | |
| download | raylib.com-c960ec52c69a369ad60c6f3ea97ad286cc8a0bd5.tar.gz raylib.com-c960ec52c69a369ad60c6f3ea97ad286cc8a0bd5.zip | |
Rename sample to classic
Diffstat (limited to 'common')
| -rw-r--r-- | common/games.css | 4 | ||||
| -rw-r--r-- | common/games.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/games.css b/common/games.css index f019f60..710fe0c 100644 --- a/common/games.css +++ b/common/games.css @@ -4,11 +4,11 @@ #filter_menu { width: 820px; height: 80px; margin-left: 2px; } .legendButton { padding:5px 15px; float:left; margin-left:10px; margin-right:10px; margin-bottom:20px; width:150px; text-align:center; } -#sample { cursor:pointer; background-color:#e1e1e1; color:#5c5a5a; border:3px solid #898888; } +#classic { cursor:pointer; background-color:#e1e1e1; color:#5c5a5a; border:3px solid #898888; } #game { cursor:pointer; background-color:#f0d6d6; color:#c55757; border:3px solid #e66666; } #user { cursor:pointer; background-color:#bedce8; color:#417794; border:3px solid #5d9cbd; } -.sample:hover { background-color:#e1e1e1; color:#5c5a5a; border:4px solid #898888; } +.classic:hover { background-color:#e1e1e1; color:#5c5a5a; border:4px solid #898888; } .game:hover { background-color:#f0d6d6; color:#c55757; border:4px solid #e66666; } .user:hover { background-color:#bedce8; color:#417794; border:4px solid #5d9cbd; } diff --git a/common/games.js b/common/games.js index e5110ca..c2b1635 100644 --- a/common/games.js +++ b/common/games.js @@ -53,7 +53,7 @@ $(document).ready(function() { var linkTag; - if (filterType == 'classic') linkTag = '<a class="fancybox fancybox.iframe" href="games/loader.html?name=' + exampleName[i] + '" title="' + exampleDesc[i] + '">'; + if (filterType == 'classics') linkTag = '<a class="fancybox fancybox.iframe" href="games/loader.html?name=' + exampleName[i] + '" title="' + exampleDesc[i] + '">'; else if (filterType == 'game') linkTag = '<a target="_blank" href="games/' + exampleName[i].substring(5) + '.html" title="' + exampleDesc[i] + '">'; $('#container').append( |
