ID:175837
Mar 5 2003, 7:20 pm
|
|
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
|
Mar 7 2003, 6:45 am
|
|
anyone?
|
Post [link] has the basics. You should look up browse() and browse_rsc() in the reference. If you have a BYONDscape subscription, http://www.byondscape.com/ascape.dmb/LummoxJR.2002-0220/ is a good article about using the browser.
|
In response to Jerico2day
|
|
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. Greetz Fint |
In response to Fint
|
|
ok thanx i will try it out
|