mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
363dc8a22b
It's actually not as hard as some make it seem ;-) To make an entire page RTL, simply: 1. Add body { direction: rtl; } to your style sheet (or add 'dir="rtl"' to your <body> tag if you insist on not using a style sheet). 2. Watch out for explicit directionality and alignment in your page, and change it as needed. i.e. if you have <p align="right">, it has to be changed to <p align="left">... That's it. You definitely shouldn't start changing the order of table columns or other elements. That's looking for trouble... :) CCMAIL: staikos@kde.org svn path=/trunk/kdebase/konqueror/; revision=259903
51 lines
1.5 KiB
HTML
51 lines
1.5 KiB
HTML
<html>
|
|
<head>
|
|
<style type="text/css"> <!--
|
|
body { direction: rtl; }
|
|
//--></style>
|
|
<title>%1</title>
|
|
<script language="Javascript"> <!--
|
|
function listPlugins() {
|
|
document.write("<table border=\"1\">");
|
|
document.write("<tr>%2</tr>");
|
|
for (i = 0; i < navigator.plugins.length; i++)
|
|
{
|
|
document.write("<tr><td>"+navigator.plugins[i].name);
|
|
document.write("</td><td>"+navigator.plugins[i].description);
|
|
document.write("</td><td>"+navigator.plugins[i].filename);
|
|
document.write("</td><td><ul>");
|
|
for (j = 0; j < navigator.plugins[i].length; j++)
|
|
{
|
|
document.write("<li>"+navigator.plugins[i][j].type+" - "
|
|
+navigator.plugins[i][j].description+" ("
|
|
+navigator.plugins[i][j].suffixes+")</li>");
|
|
}
|
|
document.write("</ul></td></tr>");
|
|
}
|
|
document.write("</table>");
|
|
|
|
document.write("<br/><br/>");
|
|
|
|
document.write("<table border=\"1\">");
|
|
document.write("<tr>%4</tr>");
|
|
for (i = 0; i < navigator.mimeTypes.length; i++)
|
|
{
|
|
document.write("<tr><td>"+navigator.mimeTypes[i].type);
|
|
document.write("</td><td>"+navigator.mimeTypes[i].description);
|
|
document.write("</td><td>"+navigator.mimeTypes[i].suffixes);
|
|
if (navigator.mimeTypes[i].enabledPlugin) {
|
|
document.write("</td><td>");
|
|
// This could be enhanced to write the plugin name(s) by
|
|
// searching through navigator.plugins[][]
|
|
document.write("%3");
|
|
}
|
|
document.write("</td></tr>");
|
|
}
|
|
document.write("</table>");
|
|
}
|
|
//--></script>
|
|
</head>
|
|
<body onload="listPlugins();">
|
|
</body>
|
|
</html>
|
|
|