View Single Post
  #1 (permalink)  
Old 08-22-2007, 04:34 PM
tonythemediaguy tonythemediaguy is offline
Senior Member
 
Posts: 53
Default Modify URL for file links

Hi,

Our file server is mapped as "H:\" and I would like for the URL zimlet to automatically convert any strings that begin with "H:/" to a link and add "file://" to the beginning.

So I edited url.js to add the following:

if (escapedUrl.substr(0, 3) == 'H:\') {
escapedUrl = "file://" + escapedUrl;
}

but it's not working. Does anybody have any insight on this?

Thanks,

Tony
Reply With Quote