Hi all
I am use to display remote code within TW using for example :
<<tiddler UrlContentScript with:../look_app15_raw/matlab/Emt27PowerFilter.m>>
with [[UrlContentScript]] :
<script>
var p;
if (document.all){
// For IE, create an ActiveX Object instance
p = new ActiveXObject("Microsoft.XMLHTTP");
}
else {
// For mozilla, create an instance of XMLHttpRequest.
p = new XMLHttpRequest();
}
p.open("GET","$1",false);
p.send(null);
wikify(p.responseText,place);
</script>
Sometime I would like to trunck the remote file to display for example only lines 5 to 9.
Can you please help me modify my script ?
Thank you
JBo