function scan() { var images = ['#fdc300','#d1d82f','#ffe47f','#73d1cc','#85c9f0']; var inumber = Math.floor((Math.random()* images.length)+1); var random_image = images[inumber-1]; //Do whatever you want with random_image //alert( random_image ); //Shows the random image $('#main-area').css('background-color', random_image); } $(document).ready( scan() );
Run your site from http://localhost:81/Social_Web/DG-pf372/upload/ <---
Steps for install in localhost 1) check --> install folder <-- in DG-pf372\upload\.......... 2) http://localhost:81/Social_Web/DG-pf372/upload/install/ 3) Steps same as wordpress theme 4) go to path --> DG-pf372\upload\include\setting Rename server.sett.php.new into server.sett.php & security.sett.php.new into security.sett.php 5) Continue other steps... 6) After completing all steps go to login page and login with email address and pwd which you given here... 7) RENAME -->install folder<-- path is DG-pf372\upload\include\setting\........
--> Enable chat module in phpfox 1) Go to http://localhost:81/Social_Web/DG-pf372/upload/index.php?do=/admincp/module/ 2) Login with username and password, which you used in installation time.... 3) Go to Admin CP --> Extension --> Manage Modules --> Search ""Im ""--> manage settings and First option """Set to True to enable the Instant Messenger to be part of the site wide footer bar."""Select True ---> Submit
Change theme in phpfox 1) Extensions --> Manage Theme 2) Right click on Default --> Manage Styles --> Make green button in Default section (on Right side)(Green=Active)