|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
src
I have having problem in using src="filename" for last few days. I seem to be able to do fine when I do src="http://google.com/image.jpg" but when I like to add a file on my harddrive - it does not work. It is within the same directory as the other files, I have made sure it is not case sensitive.
Here is my code: <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin" type="text/css"?> <!DOCTYPE window> <window title="Hello xFly" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="background-color: white;" width="300" height="215" onload="centerWindowOnScreen( )"> <script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" /> <vbox align="left"> <label style="font-weight: bold;font-size:20px" value="Hello, Welcome to the xFly" /> <image src="hello.jpg" /> <button style="font-weight" label="hello xFly" oncommand="alert('Hello World');" /> </vbox> </window> When I do <image src="http://www.tk2digital.com/hello.jpg"/> it works fine. However, the above image is not shown. I checked the access logs and error logs of Apache' and it has no entry for either. What does it mean? Please Help! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > src |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|