jwk811 Posted May 24, 2009 Share Posted May 24, 2009 on my site there is a music thing on the bottom. i have it set so it always automatically plays only on the front page but if you go to another page it would have to start over so it wont auto play on any other page. what i want to do is set it so the file will play in a pop up. i know how to do that but is there any way to make it so it wont show that page that pops up? can i auto minimize somehow i dont want it to get annoying. and im wondering if there is any other way to do this with php. i plan on setting a cookie if they want it to auto pop up. Quote Link to comment https://forums.phpfreaks.com/topic/159489-set-cookie-always-pop-up/ Share on other sites More sharing options...
wildteen88 Posted May 24, 2009 Share Posted May 24, 2009 If you want constant music to always play and not be interrupted when going to different pages then the only solution would be to use a frameset. Quote Link to comment https://forums.phpfreaks.com/topic/159489-set-cookie-always-pop-up/#findComment-841291 Share on other sites More sharing options...
jwk811 Posted May 24, 2009 Author Share Posted May 24, 2009 i looked up frameset i dunno how to use it or what it does and still dont haha, could you explain please Quote Link to comment https://forums.phpfreaks.com/topic/159489-set-cookie-always-pop-up/#findComment-841295 Share on other sites More sharing options...
wildteen88 Posted May 24, 2009 Share Posted May 24, 2009 Tutorial on framsets All you'll need to do is setup a horizontal frameset with two frames. The top will contain your music player set this to 0% so its hidden (or if you want it visible set the height accordingly) and the bottom frame will contain your site. Quote Link to comment https://forums.phpfreaks.com/topic/159489-set-cookie-always-pop-up/#findComment-841301 Share on other sites More sharing options...
jwk811 Posted May 24, 2009 Author Share Posted May 24, 2009 so i have to do that for every page? i still dont understand. this is an example i found <HTML> <HEAD> <TITLE>Great Recipes</TITLE> </HEAD> <FRAMESET ROWS="15%,*"> <FRAME SRC="recipetitlebar.html" NAME=TITLE SCROLLING=NO> <FRAMESET COLS="20%,*"> <FRAME SRC="recipesidebar.html" NAME=SIDEBAR> <FRAME SRC="recipes.html" NAME=RECIPES> </FRAMESET> </FRAMESET> </HTML> hmm i dunno Quote Link to comment https://forums.phpfreaks.com/topic/159489-set-cookie-always-pop-up/#findComment-841312 Share on other sites More sharing options...
DarkSuperHero Posted May 26, 2009 Share Posted May 26, 2009 think of a frame as a mini window....it opens webpages inside of web pages i suppose.....if you want to look at it that way.... [php <FRAMESET ROWS="15%,*"> <FRAME SRC="recipetitlebar.html" NAME=TITLE SCROLLING=NO> /*this is saying, in this html doc open up the webpage recipetitlebar.html*/ <FRAMESET COLS="20%,*"> <FRAME SRC="recipesidebar.html" NAME=SIDEBAR> <FRAME SRC="recipes.html" NAME=RECIPES> </FRAMESET> </FRAMESET> [/code] so you have the top one at 15% of the oage at top...the remaining 85% is used for the other 2 column frames one of which is 20% wide.... Hope that helps... Quote Link to comment https://forums.phpfreaks.com/topic/159489-set-cookie-always-pop-up/#findComment-842460 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.