]> Joshua Wise's Git repositories - patchfork.git/blame - theme/mini/theme.js
Add Jon Fink's iPhone theme/frontend for Pitchfork. Access using player/mini.php.
[patchfork.git] / theme / mini / theme.js
CommitLineData
225e0317
JW
1function showPlaylist() {
2if (document.all) {
3 document.all['content'].style.display = 'block';
4 document.all['content'].style.zIndex = 5;
5
6}
7else if (document.getElementById) {
8 document.getElementById('content').style.display = 'block';
9 document.getElementById('content').style.zIndex = 5;
10
11}
12
13}
14
15function showControls() {
16if (document.all) {
17 document.all['content'].style.display = 'none';
18 document.all['content'].style.zIndex = -1;
19}
20else if (document.getElementById) {
21 document.getElementById('content').style.display = 'none';
22 document.getElementById('content').style.zIndex = -1;
23
24}
25
26}
27
28/* number of "windows" on the directory browser */
29var BROWSER_NUM = 3;
30
31/* the border around the playing item in the playlist */
32var PLAYLIST_PLAYING_STYLE = "1px solid #a20000";
33
34/* this is the color thing that you add blink in */
35var DEFAULT_BLINK_COLOR = "#C1DAD6";
36
37var BASE_IMG_DIR = "../theme/default/images/";
38
39var IMAGE = new Object();
40
41IMAGE.BUTTON_PLAY = BASE_IMG_DIR + "play_25.png";
42IMAGE.BUTTON_STOP = BASE_IMG_DIR + "stop_25.png";
43IMAGE.BUTTON_PAUSE = BASE_IMG_DIR + "pause_25.png";
44IMAGE.BUTTON_PREVIOUS = BASE_IMG_DIR + "previous_25.png";
45IMAGE.BUTTON_NEXT = BASE_IMG_DIR + "next_25.png";
46
47IMAGE.BROWSER_PLAYLIST_REMOVE = BASE_IMG_DIR + "disabled_15.png";
48
49IMAGE.SERVER_SETTINGS_ENABLED = BASE_IMG_DIR + "enabled_15.png";
50IMAGE.SERVER_SETTINGS_DISABLED = BASE_IMG_DIR + "disabled_15.png";
51IMAGE.SERVER_SETTINGS_XFADE_DOWN= BASE_IMG_DIR + "left_15.png";
52IMAGE.SERVER_SETTINGS_XFADE_UP = BASE_IMG_DIR + "right_15.png";
53
54IMAGE.CLOSE = BASE_IMG_DIR + "close_15.png";
55IMAGE.WORKING = BASE_IMG_DIR + "working.gif";
56
57IMAGE.MENU_ITEM_CROP = BASE_IMG_DIR + "crop_30.png";
58IMAGE.MENU_ITEM_REMOVE = BASE_IMG_DIR + "remove_30.png";
59IMAGE.MENU_ITEM_DIRECTORY = BASE_IMG_DIR + "folder_30.png";
60
61IMAGE.PAGINATION_FOLLOW = BASE_IMG_DIR + "follow-playing-yes.png";
62IMAGE.PAGINATION_NOFOLLOW = BASE_IMG_DIR + "follow-playing-no.png";
63
64IMAGE.JUMP_CURRENT = BASE_IMG_DIR + "jump-to-current.png";
65
66
67/* this should be whatever the backgroun is converted from hex to dec */
68IMAGE.STREAM_BGCOLOR = "15198183";
This page took 0.028042 seconds and 4 git commands to generate.