On 1 nov 2005, at 05.28, a.zatsepin wrote:
Hello.
Now I have a few more questions.
In RB Help I found that:
HTMLViewer.LoadPage
Loads the passed source HTML. Any links will be resolved relative
to the passed RelativeTo FolderItem <../Topics/780.html>.
Syntax
HTMLViewer.LoadPage Source, RelativeTo
HTMLViewer.LoadPage EditField1.Text, DesktopFolder
If you have an html page in the Editfield that have an link to an CSS
file
<link rel="stylesheet" href="styles/standard.css" type="text/css" />
then the link starts at the desktopfolder and then the folder styles
and then the standard.css file
1. I thought "RelativeTo" is a folder where I should place images
and so on.
Yes it is..., but don't place images in the root of an site..
2. Why cross-platform code on Mac works differ rather than Win32?
I don't know I am an Mac user
3. If "RelativeTo" is a file on Mac, for what it is used?
It is an folder, eg the root on an site
How any links can be resolved relative to one file? What does it mean?
4. When I write a RB cross-platform code I don't want to know any
specific differences between Mac, Win32 or Linux. Otherwise there
are no purpose to use
REALBasic. Am I right?
I don't know how it works on other platforms then Mac
But there should not be any problems using compiler directives, and
then it is cross platform that only works.
Can you send me more completly documentation?
No I have not more documents than you have..
I have just written an test, and it just works...
Regards,
Sven E
Sven E Olsson
svenerik at xhtmlsoft dot com
http://www.xhtmlsoft.com
http://seedit.3.forumer.com/
Skype: callto://sven-e-olsson-simrishamn-sw
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|