Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: not2easy
The /navbar_right.htm is the ss include that displays to the right of the page and within it is the rotating ad code:
<div align="center"><a href="http://www.example.com/cgi-bin/adjuggler.cgi?img_click=/racer_profiles_sky&multiad=2" target="_blank"><img src="http://www.example.com/cgi-bin/adjuggler.cgi?img_only=/racer_profiles_sky&multiad=2" alt="Please Support Our SPONSORS!" border=0 ></a>
It displays fine with IE but in Netscape 7.1 IT WILL NOT ROTATE THE ADS OR LINK PROPERLY OR READ THE "alt" MESSAGE.
I'm an amatuer unfortunately with a Frankenstein site to deal with. Any help on this one would be greatly appreciated!
[edited by: tedster at 5:46 pm (utc) on Feb. 16, 2004]
[edit reason] use example.com [/edit]
I have found the WC.org site's validator and see that it is a wonderful resource. I have like..... 12 errors and the multi ad uses the & which I think they suggest substituting & for the &.....
I'll get to work on cleaning up the code THANKS!
....er.cgi?img_click=/racer_profiles_sky&multiad=2" target="_blank"><img src="htt....
The validator points to the &m and the = sign in &multiad=2"
It gives me this "explanation":
“unknown entity ‘FOO’”
The validator has found an entity (something like &this;) that it doesn't recognize. There are a few possibilities:
A reference to a URI that uses & as a separator between parameters, such as "http://example.org/prog?x=1&y=2".
To solve this problem, simply replace all the &'s in attribute values with & (user agents will convert them back before following the links.)
Another way to get around this problem is for the author of the CGI program to allow a different value to be used between arguments, like ';' or '¦', which would allow the link to be coded as e.g. <a href="http://example.org/prog?x=1;y=2">
An unterminated entity; for instance, this&that for "this&that", which the validator (correctly) interprets as a request for the entity &that;. Technically, any non-alphanumeric character (such as a space) will suffice to terminate the entity, but some browsers get this wrong; the safest thing to do is to terminate all entities with a semicolon, turning our example into this&that.
The entity " in conjunction with the HTML 3.2 DOCTYPE. This entity was accidentally omitted from the most recent version of the HTML 3.2 DTD. You should be able to ignore this error safely, though if you wish, you can replace " with the equivalent character entity ".
I replaced the & with & but have no idea what to do with the =2
Is there a simple fix?
That should take care of your validation and tool tip problems.
document.write('<a href="http://www.example.com/cgi-bin/adjuggler.cgi?img_click=/racer_profiles_sky&multiad=1&nocache='+r+'" target="_blank"><img border=0 src="http://www.example.com/cgi-bin/adjuggler.cgi?img_only=/racer_profiles_sky&multiad=1&nocache='+r+'" alt="Ad" title="Please Support Our SPONSORS!""></a>');
Now my question is will the java be rejected by the majority of browsers for security reasons or is that about the same percentage as cgi?