Loading ...
Sorry, an error occurred while loading the content.

4238Re: [NH] Hyperlink to local index.html

Expand Messages
  • Jeff
    Dec 7, 2003
    • 0 Attachment
      H="HTMLDIR"
      ^!set %path%=^?{(t=d)DIRECTORY}
      ^!sethintinfo works
      ^!setlistdelimiter <br>^p
      ^!setarray %files%=^$getfiles("^%path%";"*.htm";name)$; %ct%=0
      ^!inc %ct%
      ^!if ^%ct% > ^%files0% skip_2
      ;LONG LINE FOLLOWS
      ^!set %files^%ct%%=<a
      href="^$filetourl(^%files^%ct%%)$">^$getname(^%files^%ct%%)$</a>
      ;END OF LONG LINE
      ^!goto skip_-3
      ^!info [l]^%files%
      ;END OF CLIP

      Good clip,

      Is there a way to produce te results as a new document? instead of in a
      messsage window?

      would changing the ("^%path%";"*.htm";name) to ("^%path%";"*.*";name)
      create FULL directory?
    • Show all 14 messages in this topic