01hanstu Posted May 16, 2010 Share Posted May 16, 2010 Hi, I am trying to make my app more customizable by allowing people to set their own bg (choice of 5 images), when installing. The code idea i have is: Function BG { BG[0] = "images/BG01"; BG[1] = "images/BG02"; BG[2] = "images/BG03"; BG[3] = "images/BG04"; } NO sure if this would even work but any advise would be great! Cheers Link to comment https://forums.phpfreaks.com/topic/201941-phpbg-set/ Share on other sites More sharing options...
JAY6390 Posted May 16, 2010 Share Posted May 16, 2010 Not really sure how to answer this other than no it will not work. You'll just have to dynamically set a bit of CSS in your page, or use an AJAX call to load the BG choice and set it when the page loads Link to comment https://forums.phpfreaks.com/topic/201941-phpbg-set/#findComment-1059086 Share on other sites More sharing options...
01hanstu Posted May 16, 2010 Author Share Posted May 16, 2010 Thanks for the reply JAY6390, What I want to do have have 5/6 fixed BG images and at install of the package they can choose which one they want. Cheers - Stu Link to comment https://forums.phpfreaks.com/topic/201941-phpbg-set/#findComment-1059129 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.