[prev in list] [next in list] [prev in thread] [next in thread] 

List:       phorum-dev
Subject:    [phorum-dev] More bugs
From:       "Juan Antonio Ruiz Zwollo" <J.Antonio () jaruz ! com>
Date:       1999-05-13 10:07:28
[Download RAW message or body]

1)
[file: ] form.inc
[error:] JavaScript issue. HTML output contains [onClick="checkEmail();]
resulting in JavaScript errors on Netscape 3.
[where:] $quote_button.
[fix:  ] Remove the onClick text. It's just a remain of the previous attempt
of using JavaScript to check the e-mail address.

2)
[file: ] post.php3
[error:] HTML issue. FONT tag contains parameter [color='']. It should be
[color=""]. Using ' instead of " will result in unexpected behaviour from
certain browsers.
[where:]: $nav (lots of times)

3)
[file: ] multi-threads.inc
[error:] HTML issue. When there is only a transparent image inside a cell
inside a nested table, the cell will not show the nested table bgcolor if it
is white, and will show the background image (or color) instead. (On certain
version of Netscape).
[fix:  ] the row itself should also contain the BGCOLOR property, not each
cell.

4)
[file: ] lots
[error:] HTML issue. When the user choses not to use a color on a certain
table (for example: $default_nav_color = ""), it will result in errors on
Netscape if the HTML output is [BGCOLOR=""]. (Older versions of) Netscape
considers "" = black.
[fix:  ] Do somethign like this: whenever BGCOLOR is used, replace is with
the following code: <?php BgColor($TheColor);?> where
$TheColor = the color (duh) and BgColor is the following function:
function BgColor($TheBgColor){
 if($TheBgColor!=""){
  echo " BGCOLOR=\"".$TheBgColor."\"";
 }
}

That's all folks! (for now).


Juan Antonio






---------------------------------------------------------------------
A demo of the dev version is at:
http://www.phorum.org/phorum-dev/

You can download the entire zip at:
http://www.phorum.org/downloads/download.php3?devcode.php3

You can also download new files at:
http://www.phorum.org/phorum-dev/code.php3

Mailing List Archive:
http://www.progressive-comp.com/Lists/?l=phorum-dev#phorum-dev

To unsubscribe, e-mail: phorum-dev-unsubscribe@phorum.org
For additional commands, e-mail: phorum-dev-help@phorum.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic