/    Sign up×
Community /Pin to ProfileBookmark

strange accessibility issues…

Hello everybody !!!
I’m having strange issues about my new website. On some computers, it works perfectly, and on some others, no way.¨
When it doesn’t work, I get a blank page, but when I click “view source code”, the code is here. No use refreshing the page.
I tested the website on Firefox : it works. On IE 6, it works on my computer and some others, but not on a friend’s computer. IE 5, it works ( so far ). Safari, it works. IE for Mac : no way…
I don’t know whast’s wrong.
I have a single swap image, very basic, and the page is not heavy to load…
Can someone have a look at it and tell me what’s wrong ?
Here is the code :

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<title>Le SAnG deS MiRoiRS</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<META Name=”author” Content=”Andréa du Frat”>
<META Name=”description” Content=”Le Sang des Miroirs, roman en ligne d’Andréa du Frat”>
<META name=”Keywords” content=”Margaret, roman, Marie, miroirs, jumelles, violon, drame, fiction, amour, schizophrénie, dédoublement de personnalité, art, psychophage. andréa du frat”>
<script language=”JavaScript” type=”text/JavaScript”>
<!–

// UTILISATEURS DE MACINTOSH, CONNECTEZ-VOUS AVEC SAFARI, LE SITE NE FONCTIONNE PAS DU TOUT SUR INTERNET EXPLORER MAC

function popup()
{
window.open(“accueil.htm”,”mapWin”,”width=800,height=600,scrollbars=no”);
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf(“#”)!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//–>
</script>
<script language=”JavaScript” type=”text/JavaScript”>
<!–
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==”Netscape”)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf(“?”))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//–>
</script>
<style type=”text/css”>
<!–
body {
font-family: “Courier New”, Courier, mono;
font-size: 12px;
color: #FFFFFF;
text-align: center;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #FFFFFF;
text-decoration: none;
}
a:active {
color: #FFFFFF;
text-decoration: none;
}
a:hover {
color: #FFFFFF;
text-decoration: none;
font-weight: bold;
}
body {
scrollbar-3dlight-color: black;
scrollbar-arrow-color: white;
scrollbar-darkshadow-color: black;
scrollbar-face-color: black;
scrollbar-highlight-color: white;
scrollbar-shadow-color: white;
scrollbar-track-color: black;
}

</style>
</head>

<body topmargin=”50″ bgcolor=”#000000″ onLoad=”MM_preloadImages(‘file:///D|/SDM/images/boutons/titre.jpg’,’Images/micha2.jpg’)”>
<div align=”center”>
<p><a href=”javascript: popup()” onMouseOut=”MM_swapImgRestore()” onMouseOver=”MM_swapImage(‘Micha’,”,’Images/micha2.jpg’,1)”><img src=”Images/micha1.jpg” name=”Micha” border=”0″></a></p>
<p><a href=”javascript: popup()”>Le Sang des Miroirs</a></p>
<p> <font color=”#999999″>Popup 800×600 : CSS : Javascript<br>
Meilleure visualisation avec IE5+</font></p>
<p><img
src=”http://perso0.free.fr/cgi-bin/wwwcount.cgi?df=[lesangdesmiroirs].dat&amp;dd=doghous&ft=0″>&nbsp;</p>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</body>
</html>

and here’s the website…
[URL=http://lesangdesmiroirs.free.fr]Le Sang des Miroirs[/URL]
thanks !!!

to post a comment
HTML

17 Comments(s)

Copy linkTweet thisAlerts:
@rhsundergroundDec 11.2004 — [i]Originally posted by Ness_du_Frat [/i]

[B]<p><a href="java script: popup()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Micha','','Images/micha2.jpg',1)"><img src="Images/micha1.jpg" name="Micha" border="0"></a></p>

<p><a href="java script: popup()">Le Sang des Miroirs</a></p>[/B]
[/QUOTE]
you need to remove the spaces between 'java' and 'script' to make 'javascript.' that should help some.
Copy linkTweet thisAlerts:
@Ness_du_FratauthorDec 11.2004 — strange thing.. I never wrote java script in two words... it was always written in one word, javascript, as usual... Will check on the source file... I don't think that's the problem, anyway, cause I redid the page on the mac ( I first did it on pc and realised it didn't work on mac ), and it didn't work either...

thanks, I'll investigate that !!!

edit : no, it's written javascript in one word. Notepad did the separation...
Copy linkTweet thisAlerts:
@Ness_du_FratauthorDec 11.2004 — the new code. the separation in the word javascript ( java script ) is due to this forum, not to the notepad, as I thought before, and it's written javascript on the source file...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>Le SAnG deS MiRoiRS</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<META Name="author" Content="Andréa du Frat">

<META Name="description" Content="Le Sang des Miroirs, roman en ligne d'Andréa du Frat">

<META name="Keywords" content="Margaret, roman, Marie, miroirs, jumelles, violon, drame, fiction, amour, schizophrénie, dédoublement de personnalité, art, psychophage. andréa du frat">

<script language="JavaScript" type="text/JavaScript">

<!--



function popup()

{

window.open("accueil.htm","mapWin","width=800,height=600,scrollbars=no");

}

function MM_preloadImages() { //v3.0

var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}

//-->

</script>

<script language="JavaScript" type="text/JavaScript">

<!--

function MM_reloadPage(init) { //reloads the window if Nav4 resized

if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

}

MM_reloadPage(true);



function MM_swapImgRestore() { //v3.0

var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_findObj(n, d) { //v4.01

var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

//-->

</script>

<style type="text/css">

<!--

body {

font-family: "Courier New", Courier, mono;

font-size: 12px;

color: #FFFFFF;

text-align: center;

}

a:link {

color: #FFFFFF;

text-decoration: none;

}

a:visited {

color: #FFFFFF;

text-decoration: none;

}

a:active {

color: #FFFFFF;

text-decoration: none;

}

a:hover {

color: #FFFFFF;

text-decoration: none;

font-weight: bold;

}

body {

scrollbar-3dlight-color: black;

scrollbar-arrow-color: white;

scrollbar-darkshadow-color: black;

scrollbar-face-color: black;

scrollbar-highlight-color: white;

scrollbar-shadow-color: white;

scrollbar-track-color: black;

}



</style>

</head>



<body topmargin="50" bgcolor="#000000" onLoad="MM_preloadImages('Images/micha2.jpg')">

<div align="center">

<p><a href="javascript: popup()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Micha','','Images/micha2.jpg',1)"><img src="Images/micha1.jpg" name="Micha" border="0"></a></p>

<p><a href="javascript: popup()">Le Sang des Miroirs</a></p>

<p> <font color="#999999">Popup 800x600 : CSS : Javascript<br>

Meilleure visualisation avec IE5+</font></p>

<p><img

src="http://perso0.free.fr/cgi-bin/wwwcount.cgi?df=[lesangdesmiroirs].dat&amp;dd=doghous&ft=0">&nbsp;</p>



<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

</div>

</body>

</html>





I was wondering, can it be because of the meta ? I have french words in the meta, with accent... Normaly, it shouldn't be a problem, but...
Copy linkTweet thisAlerts:
@DaveSWDec 11.2004 — do the computers that this occurs on use a popup blocker, ad-blocker, or some other type of security thing like that?
Copy linkTweet thisAlerts:
@Ness_du_FratauthorDec 11.2004 — no, not at all... I don't have any add blockers on my mac, and ths friend with the pc turned his add-blockers off before loading the page.

The strange thing about that is, it's not the popup page that doesn't load, it's the index page. The one with the picture on it. Very simple page, in fact. And if you do the "view source" thing, you get all the source, like if the page had been loaded all right... Strange... I would understand if the popup wasn't working, but the simple index page ?!!!
Copy linkTweet thisAlerts:
@DaveSWDec 11.2004 — C'est bizarre... ?

I've moved your thread to the html forum where hopefully more people will see it.

edit: ok it's already in here as well. never mind...
Copy linkTweet thisAlerts:
@Ness_du_FratauthorDec 11.2004 — thanks, but I don't think they will be too happy about it, as I posted also there... lol !!! Anyway, I hope this can be solved, I'm sure it must be something really stupid and very simple... Are you french ?
Copy linkTweet thisAlerts:
@DaveSWDec 11.2004 — lol yeah I've just realised that.

Actually I'm Welsh, but French is my third language. I did an A level in it, tho I don't speak it as well as you speak English!

What happens to the page if you make a static page with no link and no javascript, then start adding them back in one by one? at what stage does it fail?
Copy linkTweet thisAlerts:
@MstrBobDec 11.2004 — Tres bizarre, en effet!

I don't know why. ISO characterset should cover it. I would suggest using the proper HTML 4.01 Doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

And declare the language of the document as, I believe, French. So make your html tag:

<html lang="fr" dir="ltr">

Though I don't imagine those two reasons would stop the display.


Also, while we're here, ditch the scrollbar stying. Tis unprofessional, annoying, invalid CSS, and only works in Internet Explorer (to my knowledge) anywho.
Copy linkTweet thisAlerts:
@Ness_du_FratauthorDec 11.2004 — actually, I tried that... It NEVER failed... I mean, I put the things one after each other, and each time, it was uploaded to the server. At the end, it was working perfectly on the mac. Two days later, everything was broken again... This is the strnagest thing I've ever seen...
Copy linkTweet thisAlerts:
@DaveSWDec 11.2004 — what happens if you wipe out all your javascript and then go back and rewrite your popups using the accessible popup code found on this page: http://webdevfaqs.com/javascript.php#popup
Copy linkTweet thisAlerts:
@Ness_du_FratauthorDec 11.2004 — my popup isn't the problem, exactly the same popup code is working on my mac for other things... No, this has to do with something in the page, that prevents it to show it's content... I don't understand that at all...

I just made a test with the mac again, and got the blank page once more... ?
Copy linkTweet thisAlerts:
@DaveSWDec 11.2004 — Does the page linked below show normally? it's done using css rollovers, so ignore the fact it currently jumps in IE, but in principle?

http://www.emdevelopments.co.uk/demo/Ness_du_Frat/

edit: fixed jumping
Copy linkTweet thisAlerts:
@Ness_du_FratauthorDec 12.2004 — waoo, it's working !!! great !!! I just tested it on my mac, where it had never worked before, and it seems to be just fine...

But I would like to understand what the problem exactly was... You know, if I just test my index.htm file without putting it on the server, it is working great too, I would like to take your file and put it on my server to test it. Can I modify the source to put it on my server ? pretty pretty please ???
Copy linkTweet thisAlerts:
@DaveSWDec 13.2004 — lol cool, go ahead... Hopefully it'll work on yours as well as mine!

I'm not really sure why it wasn't working, but I think it might have been something to do with the javscripts on the page conflicting. I'm wondering whether your web host inserts any extra code, or something like that.

Most of the code is fairly simple, but if there's anything I can explain, let me know.

?

would you like me to send you the html file?
Copy linkTweet thisAlerts:
@hasuinterceptorJan 08.2005 — Well, maybe it's simply that the browser you are using has Javascript disabled? Don't know if there is such a possibility, though.
Copy linkTweet thisAlerts:
@rhsundergroundJan 08.2005 — [i]Originally posted by hasuinterceptor [/i]

[B]Well, maybe it's simply that the browser you are using has Javascript disabled? Don't know if there is such a possibility, though. [/B][/QUOTE]
i believe that's a possibility in all major browsers.
×

Success!

Help @Ness_du_Frat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...