Update of /cvsroot/phpwiki/phpwiki/themes/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10316
Modified Files:
toolbar.js
Log Message:
</option> syntax fix in pulldown window
Index: toolbar.js
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/themes/default/toolbar.js,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -2 -b -p -d -r1.6 -r1.7
--- toolbar.js 16 Nov 2004 18:01:28 -0000 1.6
+++ toolbar.js 25 Nov 2004 17:05:47 -0000 1.7
@@ -33,8 +33,8 @@ function addTagButton(imageFile, speedTi
//}
function showPulldown(title, pages) {
- pullwin =
window.open('','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,height=370,width=250');
-
pullwin.window.document.write('<html><head><title>'+escapeQuotes(title)+'</title><style
type=\"text/css\"><'+'!'+'-- body, input
{font-family:Tahoma,Arial,Helvetica,sans-serif;font-size:10pt;font-weight:bold;}
option {font-size:9pt} --'+'></style></head><body
bgcolor=\"#dddddd\"><form><select name=\"select\"
size=\"'+((pages.length>20)?'20':new String(pages.length))+'\"
ondblclick=\"if(self.opener)self.opener.do_pulldown(document.forms[0].select.value);
return false;\">');
+ pullwin =
window.open('','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,height=270,width=180');
+
pullwin.window.document.write('<html><head><title>'+escapeQuotes(title)+'</title><style
type=\"text/css\"><'+'!'+'-- body
{font-family:Tahoma,Arial,Helvetica,sans-serif;font-size:10pt;} input
{font-weight:bold} option {font-size:9pt} --'+'></style></head><body
bgcolor=\"#dddddd\"><form><select name=\"select\"
size=\"'+((pages.length>20)?'20':new String(pages.length))+'\"
ondblclick=\"if(self.opener)self.opener.do_pulldown(document.forms[0].select.value);
return false;\">');
for (i=0; i<pages.length; i++){
- pullwin.window.document.write('<option
value="'+pages[i]+'">'+escapeQuotes(pages[i])+'<option>\n');
+ pullwin.window.document.write('<option
value="'+pages[i]+'">'+escapeQuotes(pages[i])+'</option>\n');
}
pullwin.window.document.write('</select><br /><input type=\"button\"
value=\"Ok\"
onclick=\"if(self.opener)self.opener.do_pulldown(document.forms[0].select.value);
return false;\"><input type=\"button\" value=\"Close\" onclick=\"self.close();
return false;\"></form></body></html>');
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
|