hehe.... så tabt er jeg heller ikke.... men koden er skrevet på en måde jeg ALDRIG har set før....
<csactions>
<csaction name="1B278F57" class="Open Window" type="onevent" val0="indhold/tutorials-frame.html" val1="" val2="672" val3="400" val4="true" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
<csaction name="1C889158" class="Open Window" type="onevent" val0="indhold/tools_frame.html" val1="" val2="672" val3="300" val4="true" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
<csaction name="20CDB259" class="Open Window" type="onevent" val0="indhold/paletterne_frame.html" val1="" val2="672" val3="300" val4="true" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
<csaction name="21416160" class="Open Window" type="onevent" val0="indhold/respekt_frame.html" val1="" val2="672" val3="300" val4="true" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
<csaction name="21C27061" class="Open Window" type="onevent" val0="indhold/refs_frame.html" val1="" val2="672" val3="300" val4="true" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
<csaction name="22492062" class="Open Window" type="onevent" val0="indhold/personligt_frame.html" val1="" val2="672" val3="400" val4="true" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
<csaction name="23EB2E63" class="Scroll Right" type="onevent" val0="1650" val1="1"></csaction>
<csaction name="24267C64" class="Scroll Left" type="onevent" val0="1650" val1="1"></csaction>
</csactions>
<csscriptdict>
<script><!--
function CSClickReturn () {
var bAgent = window.navigator.userAgent;
var bAppName = window.navigator.appName;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
return true; // dont follow link
else return false; // dont follow link
}
CSStopExecution=false;
function CSAction(array) {return CSAction2(CSAct, array);}
function CSAction2(fct, array) {
var result;
for (var i=0;i<array.length;i++) {
if(CSStopExecution) return false;
var aa = fct[array[i]];
if (aa == null) return false;
var ta = new Array;
for(var j=1;j<aa.length;j++) {
if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){
if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
else ta[j]=aa[j];}
} else ta[j]=aa[j];
}
result=aa[0](ta);
}
return result;
}
CSAct = new Object;
function CSOpenWindow(action) {
var wf = "";
wf = wf + "width=" + action[3];
wf = wf + ",height=" + action[4];
wf = wf + ",resizable=" + (action[5] ? "yes" : "no");
wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");
wf = wf + ",menubar=" + (action[7] ? "yes" : "no");
wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");
wf = wf + ",directories=" + (action[9] ? "yes" : "no");
wf = wf + ",location=" + (action[10] ? "yes" : "no");
wf = wf + ",status=" + (action[11] ? "yes" : "no");
window.open(action[1],action[2],wf);
}
function CSScrollRight(action){
if(navigator.appVersion.charAt(0) >=4) {
var container = 0
if (action[2] > 0) {
while (container < action[1]) {
window.scrollBy(action[2],0);
container = container + action[2];
}
}
}
}
function CSScrollLeft(action){
if(navigator.appVersion.charAt(0) >=4) {
var container = 0
if (action[2] > 0) {
while (container < action[1]) {
window.scrollBy(-action[2],0);
container = container + action[2];
}
}
}
}
// --></script>
</csscriptdict>
<csactiondict>
<script><!--
CSAct[/*CMP*/ '1B278F57'] = new Array(CSOpenWindow,/*URL*/ 'indhold/tutorials-frame.html','',672,400,true,false,false,false,false,false,false);
CSAct[/*CMP*/ '1C889158'] = new Array(CSOpenWindow,/*URL*/ 'indhold/tools_frame.html','',672,300,true,false,false,false,false,false,false);
CSAct[/*CMP*/ '20CDB259'] = new Array(CSOpenWindow,/*URL*/ 'indhold/paletterne_frame.html','',672,300,true,false,false,false,false,false,false);
CSAct[/*CMP*/ '21416160'] = new Array(CSOpenWindow,/*URL*/ 'indhold/respekt_frame.html','',672,300,true,false,false,false,false,false,false);
CSAct[/*CMP*/ '21C27061'] = new Array(CSOpenWindow,/*URL*/ 'indhold/refs_frame.html','',672,300,true,false,false,false,false,false,false);
CSAct[/*CMP*/ '22492062'] = new Array(CSOpenWindow,/*URL*/ 'indhold/personligt_frame.html','',672,400,true,false,false,false,false,false,false);
CSAct[/*CMP*/ '23EB2E63'] = new Array(CSScrollRight,1650,1);
CSAct[/*CMP*/ '24267C64'] = new Array(CSScrollLeft,1650,1);
// --></script>
</csactiondict>
Jeg kan gætte mig til at hovedinfoen ligger i:
[pre}
function CSScrollRight(action){
if(navigator.appVersion.charAt(0) >=4) {
var container = 0
if (action[2] > 0) {
while (container < action[1]) {
window.scrollBy(action[2],0);
container = container + action[2];
}
}
}
}
function CSScrollLeft(action){
if(navigator.appVersion.charAt(0) >=4) {
var container = 0
if (action[2] > 0) {
while (container < action[1]) {
window.scrollBy(-action[2],0);
container = container + action[2];
}
}
}
}
[/pre]
Men jeg kan på ingen måde gennemskueden... nogen der kan??
[Redigeret d. 10/01-05 21:17:22 af HKB]