PDA

View Full Version : continuously playing music, pop up or frames...or other?


blacktears
03-16-2007, 02:22 PM
I have made a site for someone and now they want the music player to play throughout the site, it's s fully fledged turn off etc. one so that's not the problem. The problem is, I have no idea how to get it to work. I have never used frames and I am not sure if what I want it right for frames, and then there is the pop up idea, what happenes if they have a pop up blocker? I want to get it so that only the player is in a frame, like an insert or something...this is the link

http://www.chrisjenningsmusic.com

any help would be greatly appreciated, or a point in the right direction...

this is in a basic form what I want......

http://www.rainstormphotography.co.uk/frameset.jpg

Xiong Chiamiov
03-17-2007, 06:39 PM
Well, that site is in flash, which makes things completely different. However, you can do that same thing with an iframe. Been a little while for me, I think you can float it down and right? You do want it to keep playing uninterrupted while they browse to different pages, yes? Because if so, you're going to have to use normal frames, which will take up a whole column, not just a nice square. If you're not allowing them to select music, I would recommend having a (very) small frame at the bottom, just tall enough to provide controls.

Arbitrator
03-18-2007, 12:00 AM
Your two options are frames, inline frames, or a new window. The first two are bad for accessibility and the last can, of course, be blocked.

You can probably get away with frames for a small site like that since bookmarking shouldn’t be much of an issue. They will still be bad for search engines though. You’d also need to downgrade from the HTML 4.01 Strict document type definition since iframes aren’t allowed under Strict and full frames use the HTML 4.01 Frameset DTD.

For full frames, you’ll need at least three pages and two frames. For inline frames, you would need at least two pages with one embedded into the other. You can’t slice the page into that inverted “L” shape though. You would either put the entire right side of the layout into a frame or position an iframe over the layout; the latter approach may have compatibility, overlap, or transparency issues though.

A pop-up also works, although there’s a chance that the user may not notice the pop-up, or, if it gets blocked, they may have to click a hyperlink to activate it. You would need to be sure to include such a hyperlink, of course.

blacktears
03-18-2007, 02:17 PM
I think that in order to keep it within the site in frames etc, it's going to be too much of a problem to sort out. I am thinking of utilising the pop up window option. So, is there a way of indicating this to the user, and/or blocking pop up blockers?

thanks for your help!!
:thumbsup:

Arbitrator
03-18-2007, 08:47 PM
I think that in order to keep it within the site in frames etc, it's going to be too much of a problem to sort out. I am thinking of utilising the pop up window option. So, is there a way of indicating this to the user, and/or blocking pop up blockers?The browser should indicate to the user that a pop-up has been blocked. You can indicate and provide access to your pop-up using a hyperlink and text; I don’t believe that pop-ups initiated by the user are blocked. As for blocking a pop-up blocker altogether, that would sort of defeat their purpose, wouldn’t it?

Now that I think about it, you could also put all of the content on one page and hide the non-relevant content (showing the rest on demand) to keep your site on a single page, which will, of course, allow your music to play continuously. The drawback is that you need to make your site reliant on something like JavaScript, PHP, or Flash if you do that and it’ll mean that that one page will have longer loading times.

blacktears
03-19-2007, 07:46 PM
I have gone for the pop up option, which seems to work pretty well :D Thanks for your help guys!

Becka