View Single Post
Old 02-08-2009, 01:44 PM   #4
Sonist
Apeist
Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.
 
Sonist's Avatar
 
Posts: 2,126
Karma: 381090
Join Date: Oct 2008
Location: The sunny part of California
Device: Generic virtual reality story-experiential device
Thanks!

I might be a bit thick, but I don't seem to be able to figure out how to edit the code to prevent automatic pagination. I am providing it here, if someone can point me to the correct line and how to change it, I would be grateful.

Code:
<script language="JavaScript">
function Paginate()
{ if ( document.styleSheets[0].rules[0].style.display == "" )
  { document.styleSheets[0].rules[0].style.display = "none";
    document.styleSheets[0].rules[1].style.display = "";
    document.styleSheets[0].rules[2].style.display = "none";
  }
  else
  { document.styleSheets[0].rules[0].style.display = "";
    document.styleSheets[0].rules[1].style.display = "none";
    document.styleSheets[0].rules[2].style.display = "";
  }
}
</script>
</head>

<script language="JavaScript">
<!-- hide
var w;
var lab = new Array()
function openWin(label)
{
 lab[lab.length] = label;
 if (!w || w.closed)
 {  w=window.open('','Footnote','resizable=yes,menubar=no,toolbar=no,scrollbars=yes,width=700,height=350');
    w.document.open();
    w.document.write('<html><head><title>Footnote</title>');
    w.document.write('<link rel="stylesheet" href="sci.css" type="text/css">');
    w.document.write('</head>');
    w.document.write('<script language="JavaScript">function openWin(label){ if (opener) opener.openWin(label);} function openWin1(label){ if (opener) opener.openWin1(label);} function window.onbeforeunload() {opener.lab.length = 0;}</script>');
    w.document.write('<body BGCOLOR="#AFE1A7" onunload=winClose1()>');
    w.document.write('</body></html>');
    w.document.close();
 }
 w.document.body.innerHTML = document.getElementById(label).innerHTML;

 if (lab.length>1)
    w.document.body.innerHTML = w.document.body.innerHTML + '<br><a href=# onClick="openWin1(\''+lab[lab.length-2]+'\'); return false;">&lt;&lt; Back</a>';
}

function openWin1(label)
{
 lab.pop();
 w.document.body.innerHTML = document.getElementById(label).innerHTML;
 if (lab.length>1)
    w.document.body.innerHTML = w.document.body.innerHTML + '<br><a href=# onClick="openWin1(\''+lab[lab.length-2]+'\'); return false;">&lt;&lt; Back</a>';
}

function winClose()  { if(w)  w.close() }
//-->
</script>

<body onunload=winClose()>

<a name=tit></a>
<table width=100% cellspacing=0 cellpadding=0 border=0>
<tr><td>
    <td width=100%><hr></td>
    <td><a href=#cont>&gt;&gt;</a></td>
</tr>
</table>

<center><img src=cover.jpg width="500" height="500"></center>
<br>
<table width=100% cellspacing=0 cellpadding=0 border=0>
<tr><td><a href=#tit>&lt;&lt;</a></td>
    <td width=50%><hr></td>
    <td><span class=page>&nbsp;<a name=pii>{ii}</a>&nbsp;</span><pagenumber { display: none; }></td>
    <td width=50%><hr></td>
    <td><a href=#cont>&gt;&gt;</a></td>
</tr>
</table>
P.S. I can't wait for the ability to edit - it would make formatting relatively idiot-proof, which would be good for people like me.

Last edited by Sonist; 02-08-2009 at 01:46 PM.
Sonist is offline   Reply With Quote