Discussion Forums  >  Images, Documents, File Locations

Replies: 6    Views: 113

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
03/31/12 01:27 PM (13 years ago)

HTML background Image Query

Hi can anyone tell if it is possible to link to an HTML file for a page background image? Dragon
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
04/01/12 04:11 AM (13 years ago)
Do you mean a .jpg or .png image that you can include in your local HTML or from a custom URL screen? You don't mean "the page" as in the whole index.php or myfilename.html file?
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/01/12 05:24 AM (13 years ago)
Hi ictguy yes I do mean a .jpg or png as an html file. I know it sounds mad, but what I want to do is create a background image that has a rating feature added to it. I am not an advanced user of Xcode so don't know how to add a rating feature to a page but I am more advanced web developer and really just experimenting with the boundaries of the Buzztouch platform.
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
04/01/12 05:09 PM (13 years ago)
I think I understand what you are trying to do :) You should be able to reference images using http://domain.com/filename.jpg These can either sit on a server somewhere (user needs connectivity to access them the first time and then I believe they are cached) or you can use a local HTML file on the device that has references to images not on the device as long as you use absolute url's and not relative ones. For example, I use local html screens for content on the device but in that code I access jquery libraries from the web. cheers
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/02/12 02:53 AM (13 years ago)
Hi ictguy does that mean you cannot add .html files as an image background instead the usual .jpg or .png?
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
04/02/12 03:24 AM (13 years ago)
No you can't just add a .html file as an image background (unless you can take a screenshot and save it in the right format) I was just suggesting that parts of your html can be on the device and the other elements can be pulled from the web. Sorry for any confusion.
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/02/12 04:17 AM (13 years ago)
No probs, thanks for your help.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.