New topic: 

How to setup a background image in web app?

<http://forums.realsoftware.com/viewtopic.php?t=41044>

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        sonoffreedom          Post subject: How to setup a background 
image in web app?Posted: Tue Oct 18, 2011 1:08 am                         
Joined: Fri Oct 14, 2011 3:08 pm
Posts: 8                How to setup a background image in web app?

i tried to use CSS code embedded in PageSource, but not success ,get help!   
                             Top                 Akiland          Post subject: 
Re: How to setup a background image in web app?Posted: Tue Oct 18, 2011 1:13 am 
                                
Joined: Tue Jan 04, 2011 3:02 am
Posts: 349
Location: Jönköping, Sweden                I've been using a webfile and an 
HTMLViewer in the background.

Code:WF = New WebFile
  wf.Data = "<html><head>" + chr(13) + "<style type=" + chr(34) + "text/css" + 
chr(34) + ">" + chr(13) +  "<!--" + chr(13) + "body {" + chr(13) + 
"background-image: 
url(http://www.google.se/intl/en_com/images/srpr/logo1w.png);" + chr(13) + 
"background-repeat: repeat-x;" + chr(13) + "}" + chr(13) + "-->" + chr(13) + 
"</style></head></html>"
  wf.mimetype = "text/html"
  wf.filename = "repimage.html"
  HTMLViewer1.URL = WF.URL

Give that a go, It should be something like that     
_________________
Bixue Kommunikation
Dev. iMac 27" (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.7
REAL.Studio Web Edition  
                             Top                 sonoffreedom          Post 
subject: Re: How to setup a background image in web app?Posted: Tue Oct 18, 
2011 1:17 am                         
Joined: Fri Oct 14, 2011 3:08 pm
Posts: 8                Thank you very much ! 

WebFile so powerful

and could you know called other javascript file (like jquery )  in the same web 
directory?   
                             Top                 sonoffreedom          Post 
subject: Re: How to setup a background image in web app?Posted: Tue Oct 18, 
2011 1:19 am                         
Joined: Fri Oct 14, 2011 3:08 pm
Posts: 8                And I found official documentation is not rich , how 
you found this method to build a background? i wonder.    
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to