larrykmuzic Posted October 4, 2007 Share Posted October 4, 2007 I would like to add an audio file that plays a small clip each time the home page is loaded. I have no idea where to even start looking to add this in. Any help would be great!! I already have the audio file I just need to know where to put it so it only plays once each time the home page is loaded. thank you in advance. Link to comment Share on other sites More sharing options...
killerbambam Posted October 5, 2007 Share Posted October 5, 2007 go into the includes folder and stick it at the bottom of "footer.php" that should work. Then google for "music on website code" and it should give u small piece of code to stick it on website if you dont know it. I didnt have any freakin links in my sig!!! Pm me for help any other things ;-) There! Link to comment Share on other sites More sharing options...
♥Vger Posted October 5, 2007 Share Posted October 5, 2007 I would like to add an audio file that plays a small clip each time the home page is loaded Please tell me your website name - so I can be sure to never visit it by mistake. Sticking audio clips on homepages belongs in the stone age of web design - and was really annoying even then. I'd advise you not to do that. Vger Link to comment Share on other sites More sharing options...
larrykmuzic Posted October 5, 2007 Author Share Posted October 5, 2007 Please tell me your website name - so I can be sure to never visit it by mistake. Sticking audio clips on homepages belongs in the stone age of web design - and was really annoying even then. I'd advise you not to do that. Vger Its a quick 6 second drop from our featured artist of the month. Its a cd / digital download site. Just him giving a little shout out to the site. It worked very well on our previous site, I just havent worked with php enough to know where to slip the code in at. I dont want to have a player or anything for it, I just want it to play once on load and then never play again unless the home page is loaded, I dont want it playing on any other page loads. Link to comment Share on other sites More sharing options...
larrykmuzic Posted October 5, 2007 Author Share Posted October 5, 2007 Anyone know how I can just get this to play on teh home page? I have tried a few options and it plays on every page load. I just want it to play when the index.php page is loaded. Anyone? Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.