X-Git-Url: http://git.joshuawise.com/patchfork.git/blobdiff_plain/9a6ec85fe0d50fc2db8ccfcd18a585f34a8ffe94..225e0317cf785ce7c6c13b3db69c7a1f3685a2f4:/theme/mini/theme.js diff --git a/theme/mini/theme.js b/theme/mini/theme.js new file mode 100644 index 0000000..c234418 --- /dev/null +++ b/theme/mini/theme.js @@ -0,0 +1,68 @@ +function showPlaylist() { +if (document.all) { + document.all['content'].style.display = 'block'; + document.all['content'].style.zIndex = 5; + +} +else if (document.getElementById) { + document.getElementById('content').style.display = 'block'; + document.getElementById('content').style.zIndex = 5; + +} + +} + +function showControls() { +if (document.all) { + document.all['content'].style.display = 'none'; + document.all['content'].style.zIndex = -1; +} +else if (document.getElementById) { + document.getElementById('content').style.display = 'none'; + document.getElementById('content').style.zIndex = -1; + +} + +} + +/* number of "windows" on the directory browser */ +var BROWSER_NUM = 3; + +/* the border around the playing item in the playlist */ +var PLAYLIST_PLAYING_STYLE = "1px solid #a20000"; + +/* this is the color thing that you add blink in */ +var DEFAULT_BLINK_COLOR = "#C1DAD6"; + +var BASE_IMG_DIR = "../theme/default/images/"; + +var IMAGE = new Object(); + +IMAGE.BUTTON_PLAY = BASE_IMG_DIR + "play_25.png"; +IMAGE.BUTTON_STOP = BASE_IMG_DIR + "stop_25.png"; +IMAGE.BUTTON_PAUSE = BASE_IMG_DIR + "pause_25.png"; +IMAGE.BUTTON_PREVIOUS = BASE_IMG_DIR + "previous_25.png"; +IMAGE.BUTTON_NEXT = BASE_IMG_DIR + "next_25.png"; + +IMAGE.BROWSER_PLAYLIST_REMOVE = BASE_IMG_DIR + "disabled_15.png"; + +IMAGE.SERVER_SETTINGS_ENABLED = BASE_IMG_DIR + "enabled_15.png"; +IMAGE.SERVER_SETTINGS_DISABLED = BASE_IMG_DIR + "disabled_15.png"; +IMAGE.SERVER_SETTINGS_XFADE_DOWN= BASE_IMG_DIR + "left_15.png"; +IMAGE.SERVER_SETTINGS_XFADE_UP = BASE_IMG_DIR + "right_15.png"; + +IMAGE.CLOSE = BASE_IMG_DIR + "close_15.png"; +IMAGE.WORKING = BASE_IMG_DIR + "working.gif"; + +IMAGE.MENU_ITEM_CROP = BASE_IMG_DIR + "crop_30.png"; +IMAGE.MENU_ITEM_REMOVE = BASE_IMG_DIR + "remove_30.png"; +IMAGE.MENU_ITEM_DIRECTORY = BASE_IMG_DIR + "folder_30.png"; + +IMAGE.PAGINATION_FOLLOW = BASE_IMG_DIR + "follow-playing-yes.png"; +IMAGE.PAGINATION_NOFOLLOW = BASE_IMG_DIR + "follow-playing-no.png"; + +IMAGE.JUMP_CURRENT = BASE_IMG_DIR + "jump-to-current.png"; + + +/* this should be whatever the backgroun is converted from hex to dec */ +IMAGE.STREAM_BGCOLOR = "15198183";