hey, i posted a topic a few days ago on a problem with my html file not showing pictures.... can someone setup an html file to display some img, and show me how to implement this with code? thanx
this sould realy workd
____________________________________
var/html = "{
<HTML>
</HEAD>
<TITLE>
My HTML
</TITLE>
</HEAD>
<BODY>
Your text here
</BODY>
</HTML>
"
usr << browse_rsc(file)
usr << browse("[html]","window=html")
____________________________________
You can use your file anywhere you want but if its in a folder then always use only the file name and only name the folder at brows_src()
So if you file is in a folder HTML
____________________________________
var/html = "{
<HTML>
</HEAD>
<TITLE>
My HTML
</TITLE>
</HEAD>
<BODY background=test.PNG>
Your text here
</BODY>
</HTML>
"
usr << browse_rsc(html/test.PNG)
usr << browse("[html]","window=html")
____________________________________
I dunno if the code i gave is bug free (i am using a other computer now so i cant use byond to check it) but its something very close to this.