> http://chandler.osafoundation.org/index2.php (will become
> http://chandler.osafoundation.org/)
> * The links in the "bubbles" are not real links, but rather JavaScript.

See the attachment for a possible fix for the links, to make them real
links instead of that JS.

-- 
  Heikki Toivonen

Index: main.js
===================================================================
--- main.js     (revision 419)
+++ main.js     (working copy)
@@ -14,7 +14,10 @@
         if (navigator.userAgent.indexOf('Gecko') > -1) {
             str += ' style="padding-top:2px;"'
         }
-        str += ' nobreak="nobreak" onclick="goURL(\'' + btnarr[i].url + 
'\')"><nobr>' + btnarr[i].title + '</nobr></td>';
+        str += ' nobreak="nobesreak">';
+        str += '<a href="' + btnarr[i].url + '" alt="' + btnarr[i].title;
+        str += '" title="' + btnarr[i].title + '"><nobr>' + btnarr[i].title;
+        str += '</nobr></a></td>';
         str += '<td width="9" height="19"><img 
src="images/endcap_dark_right.gif" width="9" height="20" alt=""/></td>';
         str += '</tr>\n';
         str += '</table></div>';
@@ -29,8 +32,10 @@
         str += '<div class="buttonLightDiv"><table width="100%" 
cellpadding="0" cellspacing="0">';
         str += '<tr>';
         str += '<td width="9" height="19"><img 
src="images/endcap_light_left.gif" width="9" height="19" alt=""/></td>';
-        str += '<td class="buttonSetBottom1"';
-        str += ' nobreak="nobreak" onclick="goURL(\'' + btnarr[i].url + 
'\')"><nobr>' + btnarr[i].title + '</nobr></td>';
+        str += '<td class="buttonSetBottom1" nobreak="nobreak">';
+        str += '<a href="' + btnarr[i].url + '" alt="' + btnarr[i].title;
+        str += '" title="' + btnarr[i].title + '"><nobr>' + btnarr[i].title;
+        str += '</nobr></a></td>';
         str += '<td width="9" height="19"><img 
src="images/endcap_light_right.gif" width="9" height="19" alt=""/></td>';
         str += '</tr>\n';
         str += '</table></div>';
@@ -49,8 +54,10 @@
     for (var i = 0; i < btnarr.length; i++) {
         str += '<tr>';
         str += '<td class="buttonEdge" width="9" height="19"></td>';
-        str += '<td class="buttonSetBottom2"';
-        str += ' nobreak="nobreak" onclick="goURL(\'' + btnarr[i].url + 
'\')"><nobr>' + btnarr[i].title + '</nobr></td>';
+        str += '<td class="buttonSetBottom2"  nobreak="nobreak">';
+        str += '<a href="' + btnarr[i].url + '" alt="' + btnarr[i].title;
+        str += '" title="' + btnarr[i].title + '"><nobr>' + btnarr[i].title;
+        str += '</nobr></a></td>';
         str += '<td class="buttonEdge" width="9" height="19"></td>';
         str += '</tr>';
         if (i < (btnarr.length-1)) {
@@ -69,7 +76,3 @@
 function setButtonSection(num, str) {
     document.getElementById('buttonSection' + num.toString()).innerHTML = str;
 }
-
-function goURL(str) {
-    location = str;
-}

Attachment: signature.asc
Description: OpenPGP digital signature

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Design" mailing list
http://lists.osafoundation.org/mailman/listinfo/design

Reply via email to