个人工具

“UbuntuHelp:RestrictedFormats/Microsoft Fonts”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第17行: 第17行:
  
 
function searchChange(e) {
 
function searchChange(e) {
    // Update search buttons status according to search box content.
+
// Update search buttons status according to search box content.
    // Ignore empty or whitespace search term.
+
// Ignore empty or whitespace search term.
    var value = e.value.replace(/\s+/, '');
+
var value = e.value.replace(/\s+/, '');
    if (value == '' || searchIsDisabled) {  
+
if (value == '' || searchIsDisabled) {  
        searchSetDisabled(true);
+
searchSetDisabled(true);
    } else {
+
} else {
        searchSetDisabled(false);
+
searchSetDisabled(false);
    }
+
}
 
}
 
}
  
 
function searchSetDisabled(flag) {
 
function searchSetDisabled(flag) {
    // Enable or disable search
+
// Enable or disable search
    document.getElementById('fullsearch').disabled = flag;
+
document.getElementById('fullsearch').disabled = flag;
    document.getElementById('titlesearch').disabled = flag;
+
document.getElementById('titlesearch').disabled = flag;
 
}
 
}
  
 
function searchFocus(e) {
 
function searchFocus(e) {
    // Update search input content on focus
+
// Update search input content on focus
    if (e.value == 'Search') {
+
if (e.value == 'Search') {
        e.value = '';
+
e.value = '';
        e.style.color = 'black';
+
e.style.color = 'black';
        searchIsDisabled = false;
+
searchIsDisabled = false;
    }
+
}
 
}
 
}
  
 
function searchBlur(e) {
 
function searchBlur(e) {
    // Update search input content on blur
+
// Update search input content on blur
    if (e.value == '') {
+
if (e.value == '') {
        e.value = 'Search';
+
e.value = 'Search';
        e.style.color = 'gray';
+
e.style.color = 'gray';
        searchIsDisabled = true;
+
searchIsDisabled = true;
    }
+
}
 
}
 
}
  
 
function actionsMenuInit(title) {
 
function actionsMenuInit(title) {
    // Initiliaze action menu
+
// Initiliaze action menu
    for (i = 0; i < document.forms.length; i++) {
+
for (i = 0; i < document.forms.length; i++) {
        var form = document.forms[i];
+
var form = document.forms[i];
        if (form.className == 'actionsmenu') {
+
if (form.className == 'actionsmenu') {
            // Check if this form needs update
+
// Check if this form needs update
            var div = form.getElementsByTagName('div')[0];
+
var div = form.getElementsByTagName('div')[0];
            var label = div.getElementsByTagName('label')[0];
+
var label = div.getElementsByTagName('label')[0];
            if (label) {
+
if (label) {
                // This is the first time: remove label and do buton.
+
// This is the first time: remove label and do buton.
                div.removeChild(label);
+
div.removeChild(label);
                var dobutton = div.getElementsByTagName('input')[0];
+
var dobutton = div.getElementsByTagName('input')[0];
                div.removeChild(dobutton);
+
div.removeChild(dobutton);
                // and add menu title
+
// and add menu title
                var select = div.getElementsByTagName('select')[0];
+
var select = div.getElementsByTagName('select')[0];
                var item = document.createElement('option');
+
var item = document.createElement('option');
                item.appendChild(document.createTextNode(title));
+
item.appendChild(document.createTextNode(title));
                item.value = 'show';
+
item.value = 'show';
                select.insertBefore(item, select.options[0]);
+
select.insertBefore(item, select.options[0]);
                select.selectedIndex = 0;
+
select.selectedIndex = 0;
            }
+
}
        }
+
}
    }
+
}
 
}
 
}
 
//-->
 
//-->
第95行: 第95行:
 
<body  lang="en" dir="ltr">
 
<body  lang="en" dir="ltr">
  
    <script xmlns="" src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script>
+
<script xmlns="" src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script>
            <script xmlns="" type="text/javascript"><![CDATA[
+
<script xmlns="" type="text/javascript"><![CDATA[
                    _uacct = "UA-737845-5";
+
_uacct = "UA-737845-5";
                    urchinTracker();
+
urchinTracker();
            ]]></script>
+
]]></script>
 
<div id="header">
 
<div id="header">
 
<div id="mastwrap"><div id="masthead">
 
<div id="mastwrap"><div id="masthead">
第110行: 第110行:
 
<label for="searchinput">Search:</label>
 
<label for="searchinput">Search:</label>
 
<input id="searchinput" type="text" name="value" value="" size="20"
 
<input id="searchinput" type="text" name="value" value="" size="20"
    onfocus="searchFocus(this)" onblur="searchBlur(this)"
+
onfocus="searchFocus(this)" onblur="searchBlur(this)"
    onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search">
+
onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search">
 
<input id="titlesearch" name="titlesearch" type="submit"
 
<input id="titlesearch" name="titlesearch" type="submit"
    value="Titles" alt="Search Titles">
+
value="Titles" alt="Search Titles">
 
<input id="fullsearch" name="fullsearch" type="submit"
 
<input id="fullsearch" name="fullsearch" type="submit"
    value="Text" alt="Search Full Text">
+
value="Text" alt="Search Full Text">
 
</div>
 
</div>
 
</form>
 
</form>
第129行: 第129行:
  
  
  <div id="sisternav">
+
<div id="sisternav">
      <ul>
+
<ul>
        <li id="plain">
+
<li id="plain">
            <a href="https://help.ubuntu.com/6.06"
+
<a href="https://help.ubuntu.com/6.06"
              accesskey="t">6.06 LTS</a>
+
accesskey="t">6.06 LTS</a>
        </li>
+
</li>
        <li id="plain">
+
<li id="plain">
            <a href="https://help.ubuntu.com/6.10"
+
<a href="https://help.ubuntu.com/6.10"
              accesskey="t">6.10</a>
+
accesskey="t">6.10</a>
        </li>
+
</li>
        <li id="plain">
+
<li id="plain">
            <a href="https://help.ubuntu.com/7.04"
+
<a href="https://help.ubuntu.com/7.04"
              accesskey="t">7.04</a>
+
accesskey="t">7.04</a>
        </li>
+
</li>
        <li id="current">
+
<li id="current">
            <a href="https://help.ubuntu.com/community"
+
<a href="https://help.ubuntu.com/community"
              accesskey="t">Community Docs</a>
+
accesskey="t">Community Docs</a>
        </li>
+
</li>
      </ul>
+
</ul>
  </div>
+
</div>
  
 
</div></div>
 
</div></div>
第196行: 第196行:
 
<li><a href="/community/RestrictedFormats/Microsoft?action=edit&amp;template=TransparentTemplate">TransparentTemplate</a></li>
 
<li><a href="/community/RestrictedFormats/Microsoft?action=edit&amp;template=TransparentTemplate">TransparentTemplate</a></li>
 
</ul>
 
</ul>
</p>
+
</p>
 
</td>
 
</td>
 
<td style="vertical-align: top;">
 
<td style="vertical-align: top;">
第221行: 第221行:
 
<li><a href="/community/RestrictedFormatsRu">RestrictedFormatsRu</a></li>
 
<li><a href="/community/RestrictedFormatsRu">RestrictedFormatsRu</a></li>
 
</ul>
 
</ul>
</p>
+
</p>
 
</td>
 
</td>
 
</tr>
 
</tr>
第238行: 第238行:
 
<div id="footer">
 
<div id="footer">
  
  <div id="ubuntulinks">
+
<div id="ubuntulinks">
    &copy; 2007 <a href="http://www.canonical.com">Canonical Ltd</a>. Ubuntu, Kubuntu, Edubuntu and Canonical are registered trademarks of Canonical Ltd.<br />
+
&copy; 2007 <a href="http://www.canonical.com">Canonical Ltd</a>. Ubuntu, Kubuntu, Edubuntu and Canonical are registered trademarks of Canonical Ltd.<br />
    <a href="http://www.ubuntu.com/feedback">Feedback</a> &mdash;  
+
<a href="http://www.ubuntu.com/feedback">Feedback</a> &mdash;  
    <a href="http://www.ubuntu.com/legal">Legal</a> &mdash;  
+
<a href="http://www.ubuntu.com/legal">Legal</a> &mdash;  
    <a href="https://wiki.ubuntu.com/wiki/credits">Credits</a><!-- &mdash;  
+
<a href="https://wiki.ubuntu.com/wiki/credits">Credits</a><!-- &mdash;  
    <a href="http://www.ubuntu.com/sitemap">Site Map</a>-->
+
<a href="http://www.ubuntu.com/sitemap">Site Map</a>-->
  </div>
+
</div>
  
  

2007年5月24日 (四) 15:03的版本

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> RestrictedFormats/Microsoft - Community Ubuntu Documentation