From dd83074634b1a12de40909af9ad3f60dc552c12d Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Tue, 4 Sep 2001 10:09:02 +0000 Subject: Example of oopstest.tmpl rendered --- TWiki/TWikiTemplates/testscreen.gif | Bin 0 -> 9460 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/TWikiTemplates/testscreen.gif (limited to 'TWiki') diff --git a/TWiki/TWikiTemplates/testscreen.gif b/TWiki/TWikiTemplates/testscreen.gif new file mode 100644 index 00000000..179b083d Binary files /dev/null and b/TWiki/TWikiTemplates/testscreen.gif differ -- cgit v1.2.3 From cfad6390fb8f5282af66a751da3c4dbe55fb186e Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Fri, 28 Sep 2001 00:40:45 +0000 Subject: Help --- TWiki/TWikiDocGraphics/help.gif | Bin 0 -> 130 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/TWikiDocGraphics/help.gif (limited to 'TWiki') diff --git a/TWiki/TWikiDocGraphics/help.gif b/TWiki/TWikiDocGraphics/help.gif new file mode 100644 index 00000000..be8659e1 Binary files /dev/null and b/TWiki/TWikiDocGraphics/help.gif differ -- cgit v1.2.3 From 8712f7f090dac9657464dcdaabdd512e77765fe5 Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Fri, 28 Sep 2001 00:41:06 +0000 Subject: Tip --- TWiki/TWikiDocGraphics/tip.gif | Bin 0 -> 150 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/TWikiDocGraphics/tip.gif (limited to 'TWiki') diff --git a/TWiki/TWikiDocGraphics/tip.gif b/TWiki/TWikiDocGraphics/tip.gif new file mode 100644 index 00000000..86dff9d2 Binary files /dev/null and b/TWiki/TWikiDocGraphics/tip.gif differ -- cgit v1.2.3 From 40f540fe2e71d0425714301fabcd640b1498861b Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Fri, 28 Sep 2001 00:41:47 +0000 Subject: Warning --- TWiki/TWikiDocGraphics/warning.gif | Bin 0 -> 138 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/TWikiDocGraphics/warning.gif (limited to 'TWiki') diff --git a/TWiki/TWikiDocGraphics/warning.gif b/TWiki/TWikiDocGraphics/warning.gif new file mode 100644 index 00000000..dad469ac Binary files /dev/null and b/TWiki/TWikiDocGraphics/warning.gif differ -- cgit v1.2.3 From e4074c5ec467ceed50e5ad70afc387beea9d05c5 Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Fri, 28 Sep 2001 00:42:05 +0000 Subject: none --- TWiki/TWikiDocGraphics/8831.gif | Bin 0 -> 3501 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/TWikiDocGraphics/8831.gif (limited to 'TWiki') diff --git a/TWiki/TWikiDocGraphics/8831.gif b/TWiki/TWikiDocGraphics/8831.gif new file mode 100644 index 00000000..08d0b23e Binary files /dev/null and b/TWiki/TWikiDocGraphics/8831.gif differ -- cgit v1.2.3 From e63fa6aba0fc6002efd9887ea5afbb20a6249de7 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:14:47 +0000 Subject: none --- TWiki/SmiliesPlugin/cool.gif | Bin 0 -> 909 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/cool.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/cool.gif b/TWiki/SmiliesPlugin/cool.gif new file mode 100644 index 00000000..77b276e6 Binary files /dev/null and b/TWiki/SmiliesPlugin/cool.gif differ -- cgit v1.2.3 From add42068dc27e4c5dcd2b4870e0e1b0cd28d869c Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:16:06 +0000 Subject: none --- TWiki/SmiliesPlugin/cool.gif | Bin 909 -> 124 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/cool.gif b/TWiki/SmiliesPlugin/cool.gif index 77b276e6..b2c0b8c6 100644 Binary files a/TWiki/SmiliesPlugin/cool.gif and b/TWiki/SmiliesPlugin/cool.gif differ -- cgit v1.2.3 From b1b7dd6402abf66b66b322e508395323b5b25f4f Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:16:30 +0000 Subject: none --- TWiki/SmiliesPlugin/biggrin.gif | Bin 0 -> 152 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/biggrin.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/biggrin.gif b/TWiki/SmiliesPlugin/biggrin.gif new file mode 100644 index 00000000..c1509e17 Binary files /dev/null and b/TWiki/SmiliesPlugin/biggrin.gif differ -- cgit v1.2.3 From 11f2e6cc284fd1b2771d3d8eabd4739e6ece7e26 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:16:48 +0000 Subject: none --- TWiki/SmiliesPlugin/wink.gif | Bin 0 -> 135 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/wink.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/wink.gif b/TWiki/SmiliesPlugin/wink.gif new file mode 100644 index 00000000..077383e1 Binary files /dev/null and b/TWiki/SmiliesPlugin/wink.gif differ -- cgit v1.2.3 From 910dbbf2196fe2551540c5062261e938f0d1e3bd Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:17:02 +0000 Subject: none --- TWiki/SmiliesPlugin/tongue.gif | Bin 0 -> 338 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/tongue.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/tongue.gif b/TWiki/SmiliesPlugin/tongue.gif new file mode 100644 index 00000000..1b36c3d0 Binary files /dev/null and b/TWiki/SmiliesPlugin/tongue.gif differ -- cgit v1.2.3 From 51b35655b0a6182f6e057f5c285053e0a2ff2c03 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:17:16 +0000 Subject: none --- TWiki/SmiliesPlugin/smile.gif | Bin 0 -> 93 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/smile.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/smile.gif b/TWiki/SmiliesPlugin/smile.gif new file mode 100644 index 00000000..603ddddb Binary files /dev/null and b/TWiki/SmiliesPlugin/smile.gif differ -- cgit v1.2.3 From 27db369a2adf526c77d607ab64350e3eb990b7ef Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:17:31 +0000 Subject: none --- TWiki/SmiliesPlugin/rolleyes.gif | Bin 0 -> 1784 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/rolleyes.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/rolleyes.gif b/TWiki/SmiliesPlugin/rolleyes.gif new file mode 100644 index 00000000..d5e29f52 Binary files /dev/null and b/TWiki/SmiliesPlugin/rolleyes.gif differ -- cgit v1.2.3 From 611cdb8d6a78b8c2a0c55f8131a94128ad4e7bc7 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:17:42 +0000 Subject: none --- TWiki/SmiliesPlugin/redface.gif | Bin 0 -> 136 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/redface.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/redface.gif b/TWiki/SmiliesPlugin/redface.gif new file mode 100644 index 00000000..44cd75a8 Binary files /dev/null and b/TWiki/SmiliesPlugin/redface.gif differ -- cgit v1.2.3 From c25fa5388472f0a041f89b8f74a55295c594ea4d Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:17:54 +0000 Subject: none --- TWiki/SmiliesPlugin/mad.gif | Bin 0 -> 154 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/mad.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/mad.gif b/TWiki/SmiliesPlugin/mad.gif new file mode 100644 index 00000000..a38492bf Binary files /dev/null and b/TWiki/SmiliesPlugin/mad.gif differ -- cgit v1.2.3 From f2f84739172710eb4f1d144c3b3a8e119609b140 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:18:04 +0000 Subject: none --- TWiki/SmiliesPlugin/frown.gif | Bin 0 -> 94 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/frown.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/frown.gif b/TWiki/SmiliesPlugin/frown.gif new file mode 100644 index 00000000..e3086d11 Binary files /dev/null and b/TWiki/SmiliesPlugin/frown.gif differ -- cgit v1.2.3 From 5f5552b73d74824f6d1ce082737d901050c27ad1 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:18:16 +0000 Subject: none --- TWiki/SmiliesPlugin/eek.gif | Bin 0 -> 1264 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/eek.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/eek.gif b/TWiki/SmiliesPlugin/eek.gif new file mode 100644 index 00000000..43cf2125 Binary files /dev/null and b/TWiki/SmiliesPlugin/eek.gif differ -- cgit v1.2.3 From 29b9fd5e6b6f6a36ed9b7155f27257c064063cc8 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 12 Nov 2001 01:18:28 +0000 Subject: none --- TWiki/SmiliesPlugin/confused.gif | Bin 0 -> 110 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/SmiliesPlugin/confused.gif (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin/confused.gif b/TWiki/SmiliesPlugin/confused.gif new file mode 100644 index 00000000..684b51c9 Binary files /dev/null and b/TWiki/SmiliesPlugin/confused.gif differ -- cgit v1.2.3 From 711bda664d6a5346146fd66e8e1518640f2fc71f Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Mon, 3 Dec 2001 06:15:02 +0000 Subject: Tip --- TWiki/TWikiDocGraphics/tip.gif | Bin 150 -> 123 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'TWiki') diff --git a/TWiki/TWikiDocGraphics/tip.gif b/TWiki/TWikiDocGraphics/tip.gif index 86dff9d2..0705fe35 100644 Binary files a/TWiki/TWikiDocGraphics/tip.gif and b/TWiki/TWikiDocGraphics/tip.gif differ -- cgit v1.2.3 From d46d1df0c8e01d88f8e9dd7107ac9fb1335add31 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 21 May 2002 15:27:35 +0000 Subject: Initial revision --- TWiki/TigerSkin/RCS/menuscript.js | 289 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 TWiki/TigerSkin/RCS/menuscript.js (limited to 'TWiki') diff --git a/TWiki/TigerSkin/RCS/menuscript.js b/TWiki/TigerSkin/RCS/menuscript.js new file mode 100644 index 00000000..6b30f176 --- /dev/null +++ b/TWiki/TigerSkin/RCS/menuscript.js @@ -0,0 +1,289 @@ +// Determine browser type (Netscape 6 or IE 5.5). + + +var isIE5 = (navigator.userAgent.indexOf("MSIE 5.5") > 0) ? 1 : 0; +var isIE5 = (navigator.userAgent.indexOf("MSIE 5") > 0) ? 1 : 0; +var isNS6 = (navigator.userAgent.indexOf("Gecko") > 0) ? 1 : 0; +var isNS4 = ((navigator.appName.indexOf("Netscape")==0) + &&(navigator.userAgent.indexOf("Mozilla/4") == 0)) ? 1 : 0; + +//if (isNS4==0) +// alert("This skin has been designed for Netscape 4.x."); + +// For IE, adjust menu bar styling. + +if (isIE5) { + document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-top:3px"); + document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-bottom:3px"); +} + +// Global variable for tracking the currently active button. + +var activeButton = null; + +if (isIE5) + document.onmousedown = pageMousedown; +if (isNS6) + document.addEventListener("mousedown", pageMousedown, true); + +function pageMousedown(event) { + + var className; + + // If the object clicked on was not a menu button or item, close any active + // menu. + + if (isIE5) + className = window.event.srcElement.className; + if (isNS6) + className = (event.target.className ? + event.target.className : event.target.parentNode.className); + + //Top menu mouseover + if (className != "menuButton" && className != "menuItem" && className != "menuItemDiff" && activeButton) + resetButton(activeButton); + + + //Left menu show hide + var eSrc = window.event.srcElement; + window.event.cancelBubble = true; + if ("clsShowHide" == eSrc.className) return contentsHeading_click(eSrc); + + //Original version of this (with frames support) + //while ("BODY" != eSrc.tagName) { + // if ("clsItem" == eSrc.className || "clsItemSelect" == eSrc.className) return contentsItem_click(eSrc); + // else if ("clsShowHide" == eSrc.className || "clsHeading" == eSrc.className) return contentsHeading_click(eSrc); + // eSrc = eSrc.parentElement; + //} +} + +function buttonClick(button, menuName) { + + // Blur focus from the link to remove that annoying outline. + + if (!isNS4) + button.blur(); + + // Associate the named menu to this button if not already done. + + if (!button.menu) + { + if (isNS4) + button.menu = document.layers[menuName]; + else + button.menu = document.getElementById(menuName); + } + + + // Reset the currently active button, if any. + + if (activeButton && activeButton != button) + resetButton(activeButton); + + // Toggle the button's state. + + if (button.isDepressed) + resetButton(button); + else + depressButton(button); + + return false; +} + +function buttonMouseover(button, menuName) { + + // If any other button menu is active, deactivate it and activate this one. + // Note: if this button has no menu, leave the active menu alone. + + if (activeButton) { + if (activeButton != button) { + resetButton(activeButton); + if (menuName) + buttonClick(button, menuName); + } + else { + } + } + else { + if (menuName) + buttonClick(button, menuName); + } +} + +function depressButton(button) { + + // Save current style values so they can be restored later. + // Only needs to be done once. + + if (!button.oldBackgroundColor) { + button.oldBackgroundColor = button.style.backgroundColor; + button.oldBorderBottomColor = button.style.borderBottomColor; + button.oldBorderRightColor = button.style.borderRightColor; + button.oldBorderTopColor = button.style.borderTopColor; + button.oldBorderLeftColor = button.style.borderLeftColor; + button.oldColor = button.style.color; + button.oldLeft = button.style.left; + button.oldPosition = button.style.position; + button.oldTop = button.style.top; + } + + // Change style value to make the button looks like it's + // depressed. + + button.style.backgroundColor = "#99CC99"; + button.style.borderBottomColor = "#99CC99"; + button.style.borderRightColor = "#99CC99"; + button.style.borderTopColor = "#99CC99"; + button.style.borderLeftColor = "#99CC99"; + button.style.color = "#E9E9E9"; + button.style.left = "0px"; + button.style.position = "relative"; + button.style.top = "0px"; + + // For IE, force first menu item to the width of the parent menu, + // this causes mouseovers work for all items even when cursor is + // not over the link text. + + if (isIE5 && !button.menu.firstChild.style.width) + button.menu.firstChild.style.width = + button.menu.offsetWidth + "px"; + +if (isNS4) +{ + button.menu.left = (window.innerWidth-100); + button.menu.top = 0; + button.menu.visibility = "show"; +} +else +{ + + + // Position the associated drop down menu under the button and + // show it. Note that the position must be adjusted according to + // browser, styling and positioning. + + //x = getPageOffsetLeft(button); + x = getPageOffsetLeft(button); + y = getPageOffsetTop(button) + button.offsetHeight; + if (isIE5) + y += 2; + if (isNS6) { + x--; + y--; + } + x -= 20; + y -= 10; + button.menu.style.left = x + "px"; + button.menu.style.top = y + "px"; + button.menu.style.visibility = "visible"; +} + + // Set button state and let the world know which button is + // active. + + button.isDepressed = true; + activeButton = button; +} + +function resetButton(button) { + + // Restore the button's style settings. + + button.style.backgroundColor = button.oldBackgroundColor; + button.style.borderBottomColor = button.oldBorderBottomColor; + button.style.borderRightColor = button.oldBorderRightColor; + button.style.borderTopColor = button.oldBorderTopColor; + button.style.borderLeftColor = button.oldBorderLeftColor; + button.style.color = button.oldColor; + button.style.left = button.oldLeft; + button.style.position = button.oldPosition; + button.style.top = button.oldTop; + + // Hide the button's menu. + + if (button.menu) + { + if (isNS4) + button.menu.visibility = "hide"; + else + button.menu.style.visibility = "hidden"; + + } + + + // Set button state and clear active menu global. + + button.isDepressed = false; + activeButton = null; +} + +function getPageOffsetLeft(el) { + + // Return the true x coordinate of an element relative to the page. + + return el.offsetLeft + (el.offsetParent ? getPageOffsetLeft(el.offsetParent) : 0); +} + + +function getPageOffsetTop(el) { + + // Return the true y coordinate of an element relative to the page. + + return el.offsetTop + (el.offsetParent ? getPageOffsetTop(el.offsetParent) : 0); +} + + +// Swap background colour +function bgcolour(obj, Colour) { + obj.style.backgroundColor=Colour +} + +//Pop up window +function MM_openBrWindow(theURL,winName,features) { //v2.0 + window.open(theURL,winName,features); +} + +function MM_findObj(n, d) { //v3.0 + var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { + d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} + if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i Date: Tue, 21 May 2002 15:27:35 +0000 Subject: Initial revision --- TWiki/GnuSkin/RCS/menuscript.js | 289 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 TWiki/GnuSkin/RCS/menuscript.js (limited to 'TWiki') diff --git a/TWiki/GnuSkin/RCS/menuscript.js b/TWiki/GnuSkin/RCS/menuscript.js new file mode 100644 index 00000000..6b30f176 --- /dev/null +++ b/TWiki/GnuSkin/RCS/menuscript.js @@ -0,0 +1,289 @@ +// Determine browser type (Netscape 6 or IE 5.5). + + +var isIE5 = (navigator.userAgent.indexOf("MSIE 5.5") > 0) ? 1 : 0; +var isIE5 = (navigator.userAgent.indexOf("MSIE 5") > 0) ? 1 : 0; +var isNS6 = (navigator.userAgent.indexOf("Gecko") > 0) ? 1 : 0; +var isNS4 = ((navigator.appName.indexOf("Netscape")==0) + &&(navigator.userAgent.indexOf("Mozilla/4") == 0)) ? 1 : 0; + +//if (isNS4==0) +// alert("This skin has been designed for Netscape 4.x."); + +// For IE, adjust menu bar styling. + +if (isIE5) { + document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-top:3px"); + document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-bottom:3px"); +} + +// Global variable for tracking the currently active button. + +var activeButton = null; + +if (isIE5) + document.onmousedown = pageMousedown; +if (isNS6) + document.addEventListener("mousedown", pageMousedown, true); + +function pageMousedown(event) { + + var className; + + // If the object clicked on was not a menu button or item, close any active + // menu. + + if (isIE5) + className = window.event.srcElement.className; + if (isNS6) + className = (event.target.className ? + event.target.className : event.target.parentNode.className); + + //Top menu mouseover + if (className != "menuButton" && className != "menuItem" && className != "menuItemDiff" && activeButton) + resetButton(activeButton); + + + //Left menu show hide + var eSrc = window.event.srcElement; + window.event.cancelBubble = true; + if ("clsShowHide" == eSrc.className) return contentsHeading_click(eSrc); + + //Original version of this (with frames support) + //while ("BODY" != eSrc.tagName) { + // if ("clsItem" == eSrc.className || "clsItemSelect" == eSrc.className) return contentsItem_click(eSrc); + // else if ("clsShowHide" == eSrc.className || "clsHeading" == eSrc.className) return contentsHeading_click(eSrc); + // eSrc = eSrc.parentElement; + //} +} + +function buttonClick(button, menuName) { + + // Blur focus from the link to remove that annoying outline. + + if (!isNS4) + button.blur(); + + // Associate the named menu to this button if not already done. + + if (!button.menu) + { + if (isNS4) + button.menu = document.layers[menuName]; + else + button.menu = document.getElementById(menuName); + } + + + // Reset the currently active button, if any. + + if (activeButton && activeButton != button) + resetButton(activeButton); + + // Toggle the button's state. + + if (button.isDepressed) + resetButton(button); + else + depressButton(button); + + return false; +} + +function buttonMouseover(button, menuName) { + + // If any other button menu is active, deactivate it and activate this one. + // Note: if this button has no menu, leave the active menu alone. + + if (activeButton) { + if (activeButton != button) { + resetButton(activeButton); + if (menuName) + buttonClick(button, menuName); + } + else { + } + } + else { + if (menuName) + buttonClick(button, menuName); + } +} + +function depressButton(button) { + + // Save current style values so they can be restored later. + // Only needs to be done once. + + if (!button.oldBackgroundColor) { + button.oldBackgroundColor = button.style.backgroundColor; + button.oldBorderBottomColor = button.style.borderBottomColor; + button.oldBorderRightColor = button.style.borderRightColor; + button.oldBorderTopColor = button.style.borderTopColor; + button.oldBorderLeftColor = button.style.borderLeftColor; + button.oldColor = button.style.color; + button.oldLeft = button.style.left; + button.oldPosition = button.style.position; + button.oldTop = button.style.top; + } + + // Change style value to make the button looks like it's + // depressed. + + button.style.backgroundColor = "#99CC99"; + button.style.borderBottomColor = "#99CC99"; + button.style.borderRightColor = "#99CC99"; + button.style.borderTopColor = "#99CC99"; + button.style.borderLeftColor = "#99CC99"; + button.style.color = "#E9E9E9"; + button.style.left = "0px"; + button.style.position = "relative"; + button.style.top = "0px"; + + // For IE, force first menu item to the width of the parent menu, + // this causes mouseovers work for all items even when cursor is + // not over the link text. + + if (isIE5 && !button.menu.firstChild.style.width) + button.menu.firstChild.style.width = + button.menu.offsetWidth + "px"; + +if (isNS4) +{ + button.menu.left = (window.innerWidth-100); + button.menu.top = 0; + button.menu.visibility = "show"; +} +else +{ + + + // Position the associated drop down menu under the button and + // show it. Note that the position must be adjusted according to + // browser, styling and positioning. + + //x = getPageOffsetLeft(button); + x = getPageOffsetLeft(button); + y = getPageOffsetTop(button) + button.offsetHeight; + if (isIE5) + y += 2; + if (isNS6) { + x--; + y--; + } + x -= 20; + y -= 10; + button.menu.style.left = x + "px"; + button.menu.style.top = y + "px"; + button.menu.style.visibility = "visible"; +} + + // Set button state and let the world know which button is + // active. + + button.isDepressed = true; + activeButton = button; +} + +function resetButton(button) { + + // Restore the button's style settings. + + button.style.backgroundColor = button.oldBackgroundColor; + button.style.borderBottomColor = button.oldBorderBottomColor; + button.style.borderRightColor = button.oldBorderRightColor; + button.style.borderTopColor = button.oldBorderTopColor; + button.style.borderLeftColor = button.oldBorderLeftColor; + button.style.color = button.oldColor; + button.style.left = button.oldLeft; + button.style.position = button.oldPosition; + button.style.top = button.oldTop; + + // Hide the button's menu. + + if (button.menu) + { + if (isNS4) + button.menu.visibility = "hide"; + else + button.menu.style.visibility = "hidden"; + + } + + + // Set button state and clear active menu global. + + button.isDepressed = false; + activeButton = null; +} + +function getPageOffsetLeft(el) { + + // Return the true x coordinate of an element relative to the page. + + return el.offsetLeft + (el.offsetParent ? getPageOffsetLeft(el.offsetParent) : 0); +} + + +function getPageOffsetTop(el) { + + // Return the true y coordinate of an element relative to the page. + + return el.offsetTop + (el.offsetParent ? getPageOffsetTop(el.offsetParent) : 0); +} + + +// Swap background colour +function bgcolour(obj, Colour) { + obj.style.backgroundColor=Colour +} + +//Pop up window +function MM_openBrWindow(theURL,winName,features) { //v2.0 + window.open(theURL,winName,features); +} + +function MM_findObj(n, d) { //v3.0 + var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { + d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} + if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i Date: Tue, 4 Jun 2002 07:50:06 +0000 Subject: Beta screenshot, June 4th, 2002 - 09:44 CET --- TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg | Bin 0 -> 128336 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg (limited to 'TWiki') diff --git a/TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg b/TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg new file mode 100644 index 00000000..19f4d4e9 Binary files /dev/null and b/TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg differ -- cgit v1.2.3 From 8f2175f5d730401ae2a3d5e201979d3c0d0b0813 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 24 Jun 2002 09:20:57 +0000 Subject: New fresh TWiki logo for TigerSkin --- TWiki/TigerSkin/new_logo.gif | Bin 0 -> 2774 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/TigerSkin/new_logo.gif (limited to 'TWiki') diff --git a/TWiki/TigerSkin/new_logo.gif b/TWiki/TigerSkin/new_logo.gif new file mode 100644 index 00000000..6f149e1f Binary files /dev/null and b/TWiki/TigerSkin/new_logo.gif differ -- cgit v1.2.3 From af990beb9690413f7fa82b4f26d00e4398bfed61 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 24 Jun 2002 10:03:54 +0000 Subject: New TWiki logo for TigerSkin --- TWiki/WebHome/new_logo.gif | Bin 0 -> 2774 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/WebHome/new_logo.gif (limited to 'TWiki') diff --git a/TWiki/WebHome/new_logo.gif b/TWiki/WebHome/new_logo.gif new file mode 100644 index 00000000..6f149e1f Binary files /dev/null and b/TWiki/WebHome/new_logo.gif differ -- cgit v1.2.3 From 4efd5be900f6acec88efb514e77fa1e72f16c6f1 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 24 Jun 2002 10:07:17 +0000 Subject: New TWiki logo for TigerSkin --- TWiki/WebPreferences/logo.gif | Bin 0 -> 2774 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/WebPreferences/logo.gif (limited to 'TWiki') diff --git a/TWiki/WebPreferences/logo.gif b/TWiki/WebPreferences/logo.gif new file mode 100644 index 00000000..6f149e1f Binary files /dev/null and b/TWiki/WebPreferences/logo.gif differ -- cgit v1.2.3 From e6f4ce4d0121f8118dd94b454f80dec83baae357 Mon Sep 17 00:00:00 2001 From: TWikiGuest Date: Fri, 21 Feb 2003 08:14:27 +0000 Subject: Problem with icons in Gnuskin with NS 4.79/Solaris --- TWiki/GnuSkinTodo/gnuskin-icon-problem.png | Bin 0 -> 17695 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 TWiki/GnuSkinTodo/gnuskin-icon-problem.png (limited to 'TWiki') diff --git a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png new file mode 100644 index 00000000..431c507a Binary files /dev/null and b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png differ -- cgit v1.2.3 From 891e18f5d62fc61a62d0d0c72fff4ab97b603f11 Mon Sep 17 00:00:00 2001 From: TWikiGuest Date: Fri, 21 Feb 2003 08:24:07 +0000 Subject: Diffs from CVS 2003-02-18 for new i18n of template --- TWiki/GnuSkinTodo/gnuskin-i18n-diffs | 66 ++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 TWiki/GnuSkinTodo/gnuskin-i18n-diffs (limited to 'TWiki') diff --git a/TWiki/GnuSkinTodo/gnuskin-i18n-diffs b/TWiki/GnuSkinTodo/gnuskin-i18n-diffs new file mode 100644 index 00000000..c0b26cbb --- /dev/null +++ b/TWiki/GnuSkinTodo/gnuskin-i18n-diffs @@ -0,0 +1,66 @@ +========= changeform.gnu.tmpl +5c5 +< +--- +> +11c11 +<
+--- +> +========= edit.gnu.tmpl +6c6 +< +--- +> +12c12 +< +--- +> +========= preview.gnu.tmpl +6c6 +< +--- +> +26c26 +< +--- +> +========= rdiff.gnu.tmpl +6c6 +< +--- +> +========= search.gnu.tmpl +6c6 +< +--- +> +========= searchbookview.gnu.tmpl +6c6 +< +--- +> +========= searchformat.gnu.tmpl +6c6 +< +--- +> +========= searchrenameview.gnu.tmpl +6c6 +< +--- +> +========= twiki.gnu.tmpl +23c23 +< ); ;( +--- +> ): :( +226c226 +< +--- +> +========= view.gnu.tmpl +6c6 +< +--- +> -- cgit v1.2.3 From b251e8855d1ca775eccaa6eacd97cb09b2d6e64c Mon Sep 17 00:00:00 2001 From: TWikiGuest Date: Fri, 21 Feb 2003 09:15:06 +0000 Subject: Diff for fixing the bug with comment and TD close --- TWiki/GnuSkinTodo/gnuskin-comment-bug.diff | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 TWiki/GnuSkinTodo/gnuskin-comment-bug.diff (limited to 'TWiki') diff --git a/TWiki/GnuSkinTodo/gnuskin-comment-bug.diff b/TWiki/GnuSkinTodo/gnuskin-comment-bug.diff new file mode 100644 index 00000000..a1afb5e2 --- /dev/null +++ b/TWiki/GnuSkinTodo/gnuskin-comment-bug.diff @@ -0,0 +1,4 @@ +34c34 +<   %TMPL:P{"parents"}% +--- +>   %TMPL:P{"parents"}% -- cgit v1.2.3 From 066ceb3b5f0a769c017128affc56ca26cb9f44ea Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 25 Feb 2003 21:37:08 +0000 Subject: Problem with icons in Gnuskin with NS 4.79/Solaris --- TWiki/GnuSkinTodo/gnuskin-icon-problem.png | Bin 17695 -> 19542 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'TWiki') diff --git a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png index 431c507a..22fed265 100644 Binary files a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png and b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png differ -- cgit v1.2.3 From c19da88c8af525fb5bda7903a04ed560bed1fd90 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 25 Feb 2003 21:40:57 +0000 Subject: Problem with icons in Gnuskin with NS 4.79/Solaris --- TWiki/GnuSkinTodo/gnuskin-icon-problem.png | Bin 19542 -> 18899 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'TWiki') diff --git a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png index 22fed265..8e2cd75f 100644 Binary files a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png and b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png differ -- cgit v1.2.3 From 1c99774bde0e28f3fd496055787d0a92c3d883ff Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 25 Feb 2003 21:55:40 +0000 Subject: Problem with icons in Gnuskin with NS 4.79/Solaris --- TWiki/GnuSkinTodo/gnuskin-icon-problem.png | Bin 18899 -> 15977 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'TWiki') diff --git a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png index 8e2cd75f..971192a5 100644 Binary files a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png and b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png differ -- cgit v1.2.3 From 7ebe52aa00c0fc66f7527063372e3388f8e36557 Mon Sep 17 00:00:00 2001 From: Markus Kaarn Date: Sat, 17 Apr 2004 14:17:05 +0000 Subject: Just a test --- TWiki/WikiNotation/XF86Config | 469 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 469 insertions(+) create mode 100644 TWiki/WikiNotation/XF86Config (limited to 'TWiki') diff --git a/TWiki/WikiNotation/XF86Config b/TWiki/WikiNotation/XF86Config new file mode 100644 index 00000000..08a241df --- /dev/null +++ b/TWiki/WikiNotation/XF86Config @@ -0,0 +1,469 @@ +# File generated by xf86config. + +# +# Copyright (c) 1999 by The XFree86 Project, Inc. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Except as contained in this notice, the name of the XFree86 Project shall +# not be used in advertising or otherwise to promote the sale, use or other +# dealings in this Software without prior written authorization from the +# XFree86 Project. +# + +# ********************************************************************** +# Refer to the XF86Config(4/5) man page for details about the format of +# this file. +# ********************************************************************** + +# ********************************************************************** +# Module section -- this section is used to specify +# which dynamically loadable modules to load. +# ********************************************************************** +# +Section "Module" + +# This loads the DBE extension module. + + Load "dbe" # Double buffer extension + +# This loads the miscellaneous extensions module, and disables +# initialisation of the XFree86-DGA extension within that module. + SubSection "extmod" + Option "omit xfree86-dga" # don't initialise the DGA extension + EndSubSection + +# This loads the Type1 and FreeType font modules + Load "type1" + Load "speedo" +# Load "freetype" +# Load "xtt" + +# This loads the GLX module + Load "glx" +# This loads the DRI module +# Load "dri" + +EndSection + +# ********************************************************************** +# Files section. This allows default font and rgb paths to be set +# ********************************************************************** + +Section "Files" + +# The location of the RGB database. Note, this is the name of the +# file minus the extension (like ".txt" or ".db"). There is normally +# no need to change the default. + + RgbPath "/usr/X11R6/lib/X11/rgb" + +# Multiple FontPath entries are allowed (which are concatenated together), +# as well as specifying multiple comma-separated entries in one FontPath +# command (or a combination of both methods) +# +# If you don't have a floating point coprocessor and emacs, Mosaic or other +# programs take long to start up, try moving the Type1 and Speedo directory +# to the end of this list (or comment them out). +# + +# FontPath "/usr/X11R6/lib/X11/fonts/TTF/" + FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" + FontPath "/usr/X11R6/lib/X11/fonts/local/" + FontPath "/usr/X11R6/lib/X11/fonts/misc/" + FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" + FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" + FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" + FontPath "/usr/X11R6/lib/X11/fonts/Type1/" +# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" +# FontPath "/usr/X11R6/lib/X11/fonts/freefont/" + FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" + FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" + +# The module search path. The default path is shown here. + +# ModulePath "/usr/X11R6/lib/modules" + +EndSection + +# ********************************************************************** +# Server flags section. +# ********************************************************************** + +Section "ServerFlags" + +# Uncomment this to cause a core dump at the spot where a signal is +# received. This may leave the console in an unusable state, but may +# provide a better stack trace in the core dump to aid in debugging + +# Option "NoTrapSignals" + +# Uncomment this to disable the VT switch sequence +# (where n is 1 through 12). This allows clients to receive these key +# events. + +# Option "DontVTSwitch" + +# Uncomment this to disable the server abort sequence +# This allows clients to receive this key event. + +# Option "DontZap" + +# Uncomment this to disable the / mode switching +# sequences. This allows clients to receive these key events. + +# Option "Dont Zoom" + +# Uncomment this to disable tuning with the xvidtune client. With +# it the client can still run and fetch card and monitor attributes, +# but it will not be allowed to change them. If it tries it will +# receive a protocol error. + +# Option "DisableVidModeExtension" + +# Uncomment this to enable the use of a non-local xvidtune client. + +# Option "AllowNonLocalXvidtune" + +# Uncomment this to disable dynamically modifying the input device +# (mouse and keyboard) settings. + +# Option "DisableModInDev" + +# Uncomment this to enable the use of a non-local client to +# change the keyboard or mouse settings (currently only xset). + +# Option "AllowNonLocalModInDev" + +EndSection + +# ********************************************************************** +# Input devices +# ********************************************************************** + +# ********************************************************************** +# Core keyboard's InputDevice section +# ********************************************************************** + +Section "InputDevice" + + Identifier "Keyboard1" + Driver "Keyboard" + Option "AutoRepeat" "500 30" + Option "XkbRules" "xfree86" + Option "XkbModel" "pc105" + Option "XkbLayout" "us,ru(winkeys)" + Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll" + +# For most OSs the protocol can be omitted (it defaults to "Standard"). +# When using XQUEUE (only for SVR3 and SVR4, but not Solaris), +# uncomment the following line. + +# Option "Protocol" "Xqueue" + +# Option "AutoRepeat" "500 30" + +# Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) +# Option "Xleds" "1 2 3" + +# Option "LeftAlt" "Meta" +# Option "RightAlt" "ModeShift" + +# To customise the XKB settings to suit your keyboard, modify the +# lines below (which are the defaults). For example, for a non-U.S. +# keyboard, you will probably want to use: +# Option "XkbModel" "pc102" +# If you have a US Microsoft Natural keyboard, you can use: +# Option "XkbModel" "microsoft" +# +# Then to change the language, change the Layout setting. +# For example, a german layout can be obtained with: +# Option "XkbLayout" "de" +# or: +# Option "XkbLayout" "de" +# Option "XkbVariant" "nodeadkeys" +# +# If you'd like to switch the positions of your capslock and +# control keys, use: +# Option "XkbOptions" "ctrl:swapcaps" + +# These are the default XKB settings for XFree86 +# Option "XkbRules" "xfree86" +# Option "XkbModel" "pc101" +# Option "XkbLayout" "us" +# Option "XkbVariant" "" +# Option "XkbOptions" "" + +# Option "XkbDisable" + +# Option "XkbRules" "xfree86" +# Option "XkbModel" "pc101" +# Option "XkbLayout" "us" + +EndSection + + +# ********************************************************************** +# Core Pointer's InputDevice section +# ********************************************************************** + +Section "InputDevice" + +# Identifier and driver + + Identifier "Mouse1" + Driver "mouse" + Option "ZAxisMapping" "4 5" + Option "Protocol" "IMPS/2" + Option "Device" "/dev/psaux" + +# Mouse-speed setting for PS/2 mouse. + +# Option "Resolution" "256" + +# When using XQUEUE, comment out the above two lines, and uncomment +# the following line. + +# Option "Protocol" "Xqueue" + +# Baudrate and SampleRate are only for some Logitech mice. In +# almost every case these lines should be omitted. + +# Option "BaudRate" "9600" +# Option "SampleRate" "150" + +# Emulate3Buttons is an option for 2-button Microsoft mice +# Emulate3Timeout is the timeout in milliseconds (default is 50ms) + +# Option "Emulate3Buttons" +# Option "Emulate3Timeout" "50" + +# ChordMiddle is an option for some 3-button Logitech mice + +# Option "ChordMiddle" + +EndSection + + +# ********************************************************************** +# Other input device sections +# this is optional and is required only if you +# are using extended input devices. This is for example only. Refer +# to the XF86Config man page for a description of the options. +# ********************************************************************** +# +# Section "InputDevice" +# Identifier "Mouse2" +# Driver "mouse" +# Option "Protocol" "MouseMan" +# Option "Device" "/dev/mouse2" +# EndSection +# +# Section "InputDevice" +# Identifier "spaceball" +# Driver "magellan" +# Option "Device" "/dev/cua0" +# EndSection +# +# Section "InputDevice" +# Identifier "spaceball2" +# Driver "spaceorb" +# Option "Device" "/dev/cua0" +# EndSection +# +# Section "InputDevice" +# Identifier "touchscreen0" +# Driver "microtouch" +# Option "Device" "/dev/ttyS0" +# Option "MinX" "1412" +# Option "MaxX" "15184" +# Option "MinY" "15372" +# Option "MaxY" "1230" +# Option "ScreenNumber" "0" +# Option "ReportingMode" "Scaled" +# Option "ButtonNumber" "1" +# Option "SendCoreEvents" +# EndSection +# +# Section "InputDevice" +# Identifier "touchscreen1" +# Driver "elo2300" +# Option "Device" "/dev/ttyS0" +# Option "MinX" "231" +# Option "MaxX" "3868" +# Option "MinY" "3858" +# Option "MaxY" "272" +# Option "ScreenNumber" "0" +# Option "ReportingMode" "Scaled" +# Option "ButtonThreshold" "17" +# Option "ButtonNumber" "1" +# Option "SendCoreEvents" +# EndSection + +# ********************************************************************** +# Monitor section +# ********************************************************************** + +# Any number of monitor sections may be present + +Section "Monitor" + + Identifier "My Monitor" + +# HorizSync is in kHz unless units are specified. +# HorizSync may be a comma separated list of discrete values, or a +# comma separated list of ranges of values. +# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S +# USER MANUAL FOR THE CORRECT NUMBERS. + +# HorizSync 31.5, 35.15, 35.5 + + HorizSync 30-64 # multisync +# HorizSync 31.5, 35.2 # multiple fixed sync frequencies +# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies + +# VertRefresh is in Hz unless units are specified. +# VertRefresh may be a comma separated list of discrete values, or a +# comma separated list of ranges of values. +# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S +# USER MANUAL FOR THE CORRECT NUMBERS. + + VertRefresh 50-70 + +EndSection + + +# ********************************************************************** +# Graphics device section +# ********************************************************************** + +# Any number of graphics device sections may be present + +# Standard VGA Device: + +Section "Device" + Identifier "Standard VGA" + VendorName "Unknown" + BoardName "Unknown" + +# The chipset line is optional in most cases. It can be used to override +# the driver's chipset detection, and should not normally be specified. + +# Chipset "generic" + +# The Driver line must be present. When using run-time loadable driver +# modules, this line instructs the server to load the specified driver +# module. Even when not using loadable driver modules, this line +# indicates which driver should interpret the information in this section. + + Driver "vga" +# The BusID line is used to specify which of possibly multiple devices +# this section is intended for. When this line isn't present, a device +# section can only match up with the primary video device. For PCI +# devices a line like the following could be used. This line should not +# normally be included unless there is more than one video device +# intalled. + +# BusID "PCI:0:10:0" + +# VideoRam 256 + +# Clocks 25.2 28.3 + +EndSection + +# Device configured by xf86config: + +Section "Device" + Identifier "RIVA TNT" + Driver "nvidia" + #VideoRam 131072 + # Insert Clocks lines here if appropriate +EndSection + + +# ********************************************************************** +# Screen sections +# ********************************************************************** + +# Any number of screen sections may be present. Each describes +# the configuration of a single screen. A single specific screen section +# may be specified from the X server command line with the "-screen" +# option. +Section "Screen" + Identifier "Screen 1" + Device "RIVA TNT" + Monitor "My Monitor" + DefaultDepth 24 + + Subsection "Display" + Depth 8 + Modes "1280x1024" "1024x768" "800x600" "640x480" + ViewPort 0 0 + EndSubsection + Subsection "Display" + Depth 16 + Modes "1280x1024" "1024x768" "800x600" "640x480" + ViewPort 0 0 + EndSubsection + Subsection "Display" + Depth 24 + Modes "1024x768" + ViewPort 0 0 + EndSubsection +EndSection + +# ********************************************************************** +# ServerLayout sections. +# ********************************************************************** + +# Any number of ServerLayout sections may be present. Each describes +# the way multiple screens are organised. A specific ServerLayout +# section may be specified from the X server command line with the +# "-layout" option. In the absence of this, the first section is used. +# When now ServerLayout section is present, the first Screen section +# is used alone. + +Section "ServerLayout" + +# The Identifier line must be present + Identifier "Simple Layout" + +# Each Screen line specifies a Screen section name, and optionally +# the relative position of other screens. The four names after +# primary screen name are the screens to the top, bottom, left and right +# of the primary screen. In this example, screen 2 is located to the +# right of screen 1. + + Screen "Screen 1" + +# Each InputDevice line specifies an InputDevice section name and +# optionally some options to specify the way the device is to be +# used. Those options include "CorePointer", "CoreKeyboard" and +# "SendCoreEvents". + + InputDevice "Mouse1" "CorePointer" + InputDevice "Keyboard1" "CoreKeyboard" + +EndSection + +# Section "DRI" +# Mode 0666 +# EndSection + -- cgit v1.2.3