How define the complete path when the pages includes relative paths for the images and css.

  •  06-28-2006, 11:30 AM

    How define the complete path when the pages includes relative paths for the images and css.

    My question is very trivial!.
    In the virtual directory of my server are stored html pages with relative path both the images and css.
    On client side I try to load a page using editor.LoadFile( pathFile ) where pathFile rappresents the path absolute to this page on server.  Nevertheless no image is displayed (or css is rendered) beucase, I suppose, the editor don't know the absolute path for the this image. How can I define it ?     
    Best regards
View Complete Thread