[SVN] Re: opening html content in preview

Steven Ross nowhiding at gmail.com
Thu Apr 10 12:39:04 UTC 2008


nevermind I found it in the manual... tm-file:/// easy.

On Thu, Apr 10, 2008 at 8:33 AM, Steven Ross <nowhiding at gmail.com> wrote:

> Hi all... I've been trying in vain to open local html files ie: file:///
> path using this technique:
> path = $tags[tag.downcase] || request_tag_name(tag)
> url  = "file:///Users/username/path" + path
> puts "<meta http-equiv='Refresh' content='0;URL=#{url}'>"
>
> Can someone give me some insight as to the best way to load local html
> files in the preview window?
>
> thx,
>
> Steven
>
> --
> Steven Ross
> web application & interface developer
> http://blog.stevensross.com
> [mobile] 404-488-4364 [fax] (404) 592-6885
> [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
>



-- 
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] (404) 592-6885
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20080410/8e2eca0a/attachment.html>


More information about the textmate-dev mailing list