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

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cd720065-4eaa-4a50-b63b-3ae3d9a037ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to