LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2009, 05:21 PM   #1
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Rep: Reputation: 32
Post Perl Question ?


Hi to all . i know this is general Perl question.
but i would like to ask the experts in this.


i have a website that is running under Apache + perl .

I have added an MP3 song that would run in the background for anyone who would visit my web.

Can I keep the song playing in the background as long as that user is viewing my webpages ? Even if he go from one page to another ,
So as long as the user is browsing my website pages the song keeps playing without stopping and playing again.


Thank you .

Regards,
MaaS
 
Old 04-06-2009, 05:31 PM   #2
grunt547
Member
 
Registered: Nov 2006
Distribution: FreeBSD, OpenBSD
Posts: 30

Rep: Reputation: Disabled
It's probably possible, but that doesn't make it a good idea. Will your users really want background music following them from page to page? I think web pages with music are annoying.

That said, you can use frames and give one small static one the background sound and open your content in a large frame. With judicious use of CSS, it will be almost unnoticeable.

I still think you should reconsider adding a persistent background sound, though.
 
Old 04-06-2009, 06:00 PM   #3
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Cool

Quote:
Originally Posted by grunt547 View Post
It's probably possible, but that doesn't make it a good idea. Will your users really want background music following them from page to page? I think web pages with music are annoying.

That said, you can use frames and give one small static one the background sound and open your content in a large frame. With judicious use of CSS, it will be almost unnoticeable.

I still think you should reconsider adding a persistent background sound, though.
Thank for the reply ? but what do u mean by frames ?
is it in CSS ? or Perl ?
thank you again
 
Old 04-06-2009, 09:05 PM   #4
grunt547
Member
 
Registered: Nov 2006
Distribution: FreeBSD, OpenBSD
Posts: 30

Rep: Reputation: Disabled
Google for a tutorial on HTML frames, that's one way of doing what you want. Here's one: http://www.htmlcodetutorial.com/frames/frames.html. You only need Perl for serving up the frameset. You can use CSS to make the frames unobtrusive.
 
Old 04-06-2009, 10:17 PM   #5
pepsimachine15
Member
 
Registered: Jun 2008
Posts: 122

Rep: Reputation: 16
i second that. use frames with css stylesheets and you should be able to create constant background music while navigating through your entire site.

as grunt547 said, google HTML frames and find out more about it. you could even make it so the music continues to play after they leave your site, provided they used a link on your page to access external sources
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl 5.10.0 Question unixshell101 General 0 12-19-2007 07:50 AM
Perl Question for perl hackers. linuxlover1 Programming 1 06-27-2006 06:56 PM
reinstall perl question.. (urpme perl) rjcrews Mandriva 2 01-28-2006 06:19 PM
Hiding code in PERL, perl gui question randomx Programming 1 06-26-2004 03:22 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration