PDA

View Full Version : menu gliding down in explorer, not in safari



Kresten Bjerg
01-30-2012, 11:23 PM
1) Script Title: Index

2) Script URL (on DD): www.phenomenalog.dk (http://www.phenomenalog.dk)
3) Describe problem: The left menu, giving acess to 14 different windows works nicely and adequately on a mac with Safaribrowser, and suddenly I discover, that the left menu only leaves the first 4-6 items acessible, and even when I scroll down the page the lower 10 items keep disapperaring down in the bottom.
I am no good in programming, and will not be able to understand an explanation and technically detailed advices, my only hope (and this is in a situation where I have promised important people that they can download and test the freeware program ) is, that someone can find, what needs to be changed in order to make that menu functional from explorer, the way it is from safari. I mean in fact: repair the script !!!????
I guess it is mainly in lines after line 146 changes shall be made, but I include here the full script, as it may be important for repair to have the entire context.

I am sorry to occupy so much space her. If a repaired version can be produced it would be nice to receive it as an email or attachment to kresten.bjerg@psy.ku.dk


(CODE)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Kresten Bjerg">
<meta name="description" content="Homepage for the electronic pictographic diary">
<meta name="keywords" content="diary,dagbog,phenomenology, pictogram, glyph, freeware">
<title>Introduction</title>
<style type="text/css">
<!--
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6548297-2");
pageTracker._trackPageview();
} catch(err) {}</script>
body {
background-color: #FFFFFF;
}
.style8 {color: #000000}
-->
</style>
<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);

I remove many lines here, to reduce this post to the admitted size

and continue here with the relevant</div>

<SCRIPT language="javascript" type="text/javascript">
/* Floating Menu script- Roy Whittle (http://www.javascript-fx.com/) Script featured on/available at http://www.dynamicdrive.com This notice must stay intact for use */
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<layer id="divStayTopLeft" left="18" top="152" width="136" height="453" bgcolor="#FFFFFF">
<table border="0" width="120" cellspacing="0" cellpadding="0">
<td width="120" bgcolor="#FFFFFF">
<p align="right">
&nbsp;</p>
<p align="right">
&nbsp;</p>
<p align="right">
<a href="index.htm"><font size="1">INTRODUCTION</font></a><font size="1"><br>
<br>
<a href="dkintro.htm">DANSK INTRO </a><br>
<br>
<a href="Explanations.htm">EXPLANATIONS</a><br>
<br>
<a href="glyphs.htm">GLYPHS</a><br>
<br>
<a href="Danske/Presentationdansk2010.htm">Dansk DEMO</a></font></p>
<p align="right">
<font size="1">
<a href="Engelske/Personal%20Electronic%20Journaling2010.htm">English DEMO</a><br>
<br>
<a href="downloads.htm">DOWNLOADS</a><br>
<br>
<a href="manual.htm">USER MANUAL</a><br>
<br>
<a href="faq.htm">FAQ</a><br>
<br>
<a href="forum.htm">FORUM</a><br>
<br>
<a href="background.htm">BACKGROUND</a><br>
<br>
<a href="links.htm">LINKS</a><br>
<br>
<a href="credits.htm">CREDITS</a><br>
<br>
<a href="contact.htm">CONTACT</a></font><font size="2"> </font>
</p>
</td>
</table>
</layer>
<SCRIPT language="javascript" type="text/javascript">
var verticalpos="fromtop"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 150;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
</body>
</html>

I am sorry line-numbers disappear here.

Hopefully
Kresten Bjerg