Home All Groups Group Topic Archive Search About

make mp3 work across all browsers

Author
4 Jun 2009 3:14 PM
Ricopetro
Hi I want to set a mp3 file to to play on each page in page properties. It
works great in IE how do I get to work across all browsers TIA
Ric

Author
5 Jun 2009 2:24 AM
Mike Mueller
Please post a sample of your code

Show quoteHide quote
"Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message
news:07D958A7-6A77-4CE0-937E-11086D807D7F@microsoft.com...
> Hi I want to set a mp3 file to to play on each page in page properties. It
> works great in IE how do I get to work across all browsers TIA
> Ric
Are all your drivers up to date? click for free checkup

Author
5 Jun 2009 12:34 PM
Ricopetro
Hi Mike thanks for the response but in trying to get you my code I realized
that I can not make it work as I'm using DWT and I would have to use the page
properties for the DWT which would make all the pages play the same song so I
will have to put it in the flash
Thanks Ric

Show quoteHide quote
"Mike Mueller" wrote:

> Please post a sample of your code
>
> "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message
> news:07D958A7-6A77-4CE0-937E-11086D807D7F@microsoft.com...
> > Hi I want to set a mp3 file to to play on each page in page properties. It
> > works great in IE how do I get to work across all browsers TIA
> > Ric
>
>
>
Author
5 Jun 2009 3:06 PM
Ricopetro
Hi Mike now he wants the song to play across the whole site so if I can get
it to work with all browsers that will be great below is the code for the
page it is a DWT.
===============================
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<!-- #BeginEditable "doctitle" -->
<title>standardpage</title>
<!-- #EndEditable -->
<script language="JavaScript">
<!--
function FP_swapImgRestore() {//v1.0
var doc=document,i; if(doc.$imgSwaps) { for(i=0;i<doc.$imgSwaps.length;i++) {
  var elm=doc.$imgSwaps[i]; if(elm) { elm.src=elm.$src; elm.$src=null; } }
  doc.$imgSwaps=null; }
}

function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image;
d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}

function FP_goToURL(url) {//v1.0
window.location=url;
}

function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url) {//v1.0
var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,'; else
  windowProperties+='toolbar=yes,'; if(loc==false)
windowProperties+='location=no,';
else windowProperties+='location=yes,'; if(sts==false)
windowProperties+='status=no,';
else windowProperties+='status=yes,'; if(menu==false)
windowProperties+='menubar=no,';
else windowProperties+='menubar=yes,'; if(scroll==false)
windowProperties+='scrollbars=no,';
else windowProperties+='scrollbars=yes,'; if(resize==false)
windowProperties+='resizable=no,';
else windowProperties+='resizable=yes,'; if(w!="")
windowProperties+='width='+w+',';
if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
  if( windowProperties.charAt(windowProperties.length-1)==',')
   windowProperties=windowProperties.substring(0,windowProperties.length-1);
}
window.open(url,name,windowProperties);
}
// -->
</script>
<bgsound src="../../../Desktop/Using/Music" loop="-1">
</head>

<body link="#808080" vlink="#808080" alink="#C0C0C0" text="#808080"
bgcolor="#000000" onload="FP_preloadImgs(/*url*/'buttons/17-RED.jpg',
/*url*/'buttons/24-RED.jpg', /*url*/'buttons/23-RED.jpg',
/*url*/'buttons/29-RED.jpg', /*url*/'buttons/32-RED.jpg',
/*url*/'buttons/34-RED.jpg', /*url*/'buttons/36-RED.jpg',
/*url*/'buttons/42-RED.jpg', /*url*/'template_images/Contact-RED.jpg',
/*url*/'template_images/Apparel-RED.jpg',
/*url*/'template_images/Classified-RED.jpg',
/*url*/'buttons/Catches-RED.jpg')">

<div align="center">
    <table border="1" cellpadding="0" cellspacing="0" width="100%"
bordercolorlight="#C0C0C0" bordercolordark="#808080">
        <tr>
            <td width="1131" height="536" rowspan="8">
            <!-- #BeginEditable "mainss" --> <!-- #EndEditable --></td>
            <td align="center" width="180" height="80">
            <font size="4" color="#C0C0C0"><!-- #BeginEditable "standardfeatuers"
-->(standardfeatuers)<!-- #EndEditable --></font></td>
        </tr>
        <tr>
            <td align="center" width="180" height="80">
            <font size="4" color="#C0C0C0"><!-- #BeginEditable "options"
-->(options)<!-- #EndEditable --></font></td>
        </tr>
        <tr>
            <td align="center" width="180" height="80">
            <font size="4" color="#C0C0C0"><!-- #BeginEditable "video" -->
            (video)<!-- #EndEditable --></font></td>
        </tr>
        <tr>
            <td align="center" width="180" height="80">
            <!-- #BeginEditable "Guides" -->
            <font size="4" color="#C0C0C0">(guides)</font><!-- #EndEditable --></td>
        </tr>
        <tr>
            <td align="center" width="180" height="80">
            <img border="0" src="buttons/Catches.jpg" width="180" height="80"
id="img12" onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img12',/*url*/'buttons/Catches-RED.jpg')"></td>
        </tr>
        <tr>
            <td align="center" width="180" height="80">
            <img border="0" src="template_images/Classified.jpg" width="180"
height="80" id="img11" onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img11',/*url*/'template_images/Classified-RED.jpg')" onclick="FP_goToURL(/*href*/'classified.htm')"></td>
        </tr>
        <tr>
            <td align="center" width="180" height="80">
            <img border="0" src="template_images/Apparel.jpg" width="180" height="80"
id="img10" onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img10',/*url*/'template_images/Apparel-RED.jpg')"
onclick="FP_openNewWindow('600', '400', true, true, true, true, true, true,
'store', /*href*/'http://www.yellowfinonlinestore.com/')"></td>
        </tr>
        <tr>
            <td align="center" width="180" height="80">
            <img border="0" src="template_images/Contact.jpg" width="180" height="80"
id="img9" onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img9',/*url*/'template_images/Contact-RED.jpg')" onclick="FP_goToURL(/*href*/'contact.htm')"></td>
        </tr>
    </table>
</div>
<div align="center">
<table border="0" cellspacing="0" width="1315" height="100">
        <tr>
            <td align="center" width="50"> </td>
            <td align="center" width="140">
            <img border="0" src="buttons/17.jpg" width="140" height="75" id="img1"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img1',/*url*/'buttons/17-RED.jpg')"
onclick="FP_goToURL(/*href*/'17skiff.htm')"></td>
            <td align="center" width="140">
            <img border="0" src="buttons/24.jpg" width="140" height="75" id="img2"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img2',/*url*/'buttons/24-RED.jpg')"
onclick="FP_goToURL(/*href*/'24bay.htm')"></td>
            <td align="center" width="140">
            <img border="0" src="buttons/23.jpg" width="140" height="75" id="img3"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img3',/*url*/'buttons/23-RED.jpg')"
onclick="FP_goToURL(/*href*/'23os.htm');"></td>
            <td align="center" width="140">
            <img border="0" src="buttons/29.jpg" width="140" height="75" id="img4"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img4',/*url*/'buttons/29-RED.jpg')"
onclick="FP_goToURL(/*href*/'29os.htm')"></td>
            <td align="center" width="140">
            <img border="0" src="buttons/32.jpg" width="140" height="75" id="img5"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img5',/*url*/'buttons/32-RED.jpg')"
onclick="FP_goToURL(/*href*/'32os.htm')"></td>
            <td align="center" width="140">
            <img border="0" src="buttons/34.jpg" width="140" height="75" id="img6"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img6',/*url*/'buttons/34-RED.jpg')"
onclick="FP_goToURL(/*href*/'34os.htm')"></td>
            <td align="center" width="140">
            <img border="0" src="buttons/36.jpg" width="140" height="75" id="img7"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img7',/*url*/'buttons/36-RED.jpg')"
onclick="FP_goToURL(/*href*/'36os.htm')"></td>
            <td align="center" width="140">
            <img border="0" src="buttons/42.jpg" width="140" height="75" id="img8"
onmouseout="FP_swapImgRestore()"
onmouseover="FP_swapImg(1,1,/*id*/'img8',/*url*/'buttons/42-RED.jpg')"
onclick="FP_goToURL(/*href*/'42os.htm')"></td>
            <td align="center" width="140"> </td>
        </tr>
</table>
</div>
<div align="center">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td width="1315" height="200" align="center" valign="top"><!--
#BeginEditable "banner" --> <!-- #EndEditable --></td>
        </tr>
    </table>
</div>
</body>

</html>


Show quoteHide quote
"Mike Mueller" wrote:

> Please post a sample of your code
>
> "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message
> news:07D958A7-6A77-4CE0-937E-11086D807D7F@microsoft.com...
> > Hi I want to set a mp3 file to to play on each page in page properties. It
> > works great in IE how do I get to work across all browsers TIA
> > Ric
>
>
>
Author
6 Jun 2009 8:05 AM
Stefan B Rusynko
If you add it to the DWT (applied to all pages) it will Start playing again on each page
- only way to make it play across the site w/o restarts, is to build your site in frames and put it in 1 small or hidden frame with
the site in the other frame
(but then you have all the pitfalls of a framed site)

--

_____________________________________________
SBR @ ENJOY (-:              [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!"  (-;
_____________________________________________


Show quoteHide quote
"Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message news:3BE6543D-B1D7-4188-957C-5FB005DAAC21@microsoft.com...
| Hi Mike now he wants the song to play across the whole site so if I can get
| it to work with all browsers that will be great below is the code for the
| page it is a DWT.
| ===============================
| <html>
|
| <head>
| <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
| <meta name="ProgId" content="FrontPage.Editor.Document">
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| <!-- #BeginEditable "doctitle" -->
| <title>standardpage</title>
| <!-- #EndEditable -->
| <script language="JavaScript">
| <!--
| function FP_swapImgRestore() {//v1.0
| var doc=document,i; if(doc.$imgSwaps) { for(i=0;i<doc.$imgSwaps.length;i++) {
|  var elm=doc.$imgSwaps[i]; if(elm) { elm.src=elm.$src; elm.$src=null; } }
|  doc.$imgSwaps=null; }
| }
|
| function FP_swapImg() {//v1.0
| var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
| n<args.length;
| n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
| doc.$imgSwaps[doc.$imgSwaps.length]=elm;
| elm.$src=elm.src; elm.src=args[n+1]; } }
| }
|
| function FP_preloadImgs() {//v1.0
| var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
| for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image;
| d.FP_imgs[i].src=a[i]; }
| }
|
| function FP_getObjectByID(id,o) {//v1.0
| var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
| el=o.getElementById(id);
| else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
| if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
| for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
| f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
| for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
| el; } }
| return null;
| }
|
| function FP_goToURL(url) {//v1.0
| window.location=url;
| }
|
| function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url) {//v1.0
| var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,'; else
|  windowProperties+='toolbar=yes,'; if(loc==false)
| windowProperties+='location=no,';
| else windowProperties+='location=yes,'; if(sts==false)
| windowProperties+='status=no,';
| else windowProperties+='status=yes,'; if(menu==false)
| windowProperties+='menubar=no,';
| else windowProperties+='menubar=yes,'; if(scroll==false)
| windowProperties+='scrollbars=no,';
| else windowProperties+='scrollbars=yes,'; if(resize==false)
| windowProperties+='resizable=no,';
| else windowProperties+='resizable=yes,'; if(w!="")
| windowProperties+='width='+w+',';
| if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
|  if( windowProperties.charAt(windowProperties.length-1)==',')
|   windowProperties=windowProperties.substring(0,windowProperties.length-1);
| }
| window.open(url,name,windowProperties);
| }
| // -->
| </script>
| <bgsound src="../../../Desktop/Using/Music" loop="-1">
| </head>
|
| <body link="#808080" vlink="#808080" alink="#C0C0C0" text="#808080"
| bgcolor="#000000" onload="FP_preloadImgs(/*url*/'buttons/17-RED.jpg',
| /*url*/'buttons/24-RED.jpg', /*url*/'buttons/23-RED.jpg',
| /*url*/'buttons/29-RED.jpg', /*url*/'buttons/32-RED.jpg',
| /*url*/'buttons/34-RED.jpg', /*url*/'buttons/36-RED.jpg',
| /*url*/'buttons/42-RED.jpg', /*url*/'template_images/Contact-RED.jpg',
| /*url*/'template_images/Apparel-RED.jpg',
| /*url*/'template_images/Classified-RED.jpg',
| /*url*/'buttons/Catches-RED.jpg')">
|
| <div align="center">
| <table border="1" cellpadding="0" cellspacing="0" width="100%"
| bordercolorlight="#C0C0C0" bordercolordark="#808080">
| <tr>
| <td width="1131" height="536" rowspan="8">
| <!-- #BeginEditable "mainss" --> <!-- #EndEditable --></td>
| <td align="center" width="180" height="80">
| <font size="4" color="#C0C0C0"><!-- #BeginEditable "standardfeatuers"
| -->(standardfeatuers)<!-- #EndEditable --></font></td>
| </tr>
| <tr>
| <td align="center" width="180" height="80">
| <font size="4" color="#C0C0C0"><!-- #BeginEditable "options"
| -->(options)<!-- #EndEditable --></font></td>
| </tr>
| <tr>
| <td align="center" width="180" height="80">
| <font size="4" color="#C0C0C0"><!-- #BeginEditable "video" -->
| (video)<!-- #EndEditable --></font></td>
| </tr>
| <tr>
| <td align="center" width="180" height="80">
| <!-- #BeginEditable "Guides" -->
| <font size="4" color="#C0C0C0">(guides)</font><!-- #EndEditable --></td>
| </tr>
| <tr>
| <td align="center" width="180" height="80">
| <img border="0" src="buttons/Catches.jpg" width="180" height="80"
| id="img12" onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img12',/*url*/'buttons/Catches-RED.jpg')"></td>
| </tr>
| <tr>
| <td align="center" width="180" height="80">
| <img border="0" src="template_images/Classified.jpg" width="180"
| height="80" id="img11" onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img11',/*url*/'template_images/Classified-RED.jpg')"
onclick="FP_goToURL(/*href*/'classified.htm')"></td>
| </tr>
| <tr>
| <td align="center" width="180" height="80">
| <img border="0" src="template_images/Apparel.jpg" width="180" height="80"
| id="img10" onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img10',/*url*/'template_images/Apparel-RED.jpg')"
| onclick="FP_openNewWindow('600', '400', true, true, true, true, true, true,
| 'store', /*href*/'http://www.yellowfinonlinestore.com/')"></td>
| </tr>
| <tr>
| <td align="center" width="180" height="80">
| <img border="0" src="template_images/Contact.jpg" width="180" height="80"
| id="img9" onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img9',/*url*/'template_images/Contact-RED.jpg')"
onclick="FP_goToURL(/*href*/'contact.htm')"></td>
Show quoteHide quote
| </tr>
| </table>
| </div>
| <div align="center">
| <table border="0" cellspacing="0" width="1315" height="100">
| <tr>
| <td align="center" width="50"> </td>
| <td align="center" width="140">
| <img border="0" src="buttons/17.jpg" width="140" height="75" id="img1"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img1',/*url*/'buttons/17-RED.jpg')"
| onclick="FP_goToURL(/*href*/'17skiff.htm')"></td>
| <td align="center" width="140">
| <img border="0" src="buttons/24.jpg" width="140" height="75" id="img2"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img2',/*url*/'buttons/24-RED.jpg')"
| onclick="FP_goToURL(/*href*/'24bay.htm')"></td>
| <td align="center" width="140">
| <img border="0" src="buttons/23.jpg" width="140" height="75" id="img3"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img3',/*url*/'buttons/23-RED.jpg')"
| onclick="FP_goToURL(/*href*/'23os.htm');"></td>
| <td align="center" width="140">
| <img border="0" src="buttons/29.jpg" width="140" height="75" id="img4"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img4',/*url*/'buttons/29-RED.jpg')"
| onclick="FP_goToURL(/*href*/'29os.htm')"></td>
| <td align="center" width="140">
| <img border="0" src="buttons/32.jpg" width="140" height="75" id="img5"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img5',/*url*/'buttons/32-RED.jpg')"
| onclick="FP_goToURL(/*href*/'32os.htm')"></td>
| <td align="center" width="140">
| <img border="0" src="buttons/34.jpg" width="140" height="75" id="img6"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img6',/*url*/'buttons/34-RED.jpg')"
| onclick="FP_goToURL(/*href*/'34os.htm')"></td>
| <td align="center" width="140">
| <img border="0" src="buttons/36.jpg" width="140" height="75" id="img7"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img7',/*url*/'buttons/36-RED.jpg')"
| onclick="FP_goToURL(/*href*/'36os.htm')"></td>
| <td align="center" width="140">
| <img border="0" src="buttons/42.jpg" width="140" height="75" id="img8"
| onmouseout="FP_swapImgRestore()"
| onmouseover="FP_swapImg(1,1,/*id*/'img8',/*url*/'buttons/42-RED.jpg')"
| onclick="FP_goToURL(/*href*/'42os.htm')"></td>
| <td align="center" width="140"> </td>
| </tr>
| </table>
| </div>
| <div align="center">
| <table border="0" cellpadding="0" cellspacing="0" width="100%">
| <tr>
| <td width="1315" height="200" align="center" valign="top"><!--
| #BeginEditable "banner" --> <!-- #EndEditable --></td>
| </tr>
| </table>
| </div>
| </body>
|
| </html>
|
|
| "Mike Mueller" wrote:
|
| > Please post a sample of your code
| >
| > "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message
| > news:07D958A7-6A77-4CE0-937E-11086D807D7F@microsoft.com...
| > > Hi I want to set a mp3 file to to play on each page in page properties. It
| > > works great in IE how do I get to work across all browsers TIA
| > > Ric
| >
| >
| >
Author
6 Jun 2009 11:31 AM
Ricopetro
Hi the restarts are not a problem to my boss, the problem is he uses safari
to browse and the music will not show up there or in Google chrome. It say's
on the MS site that it "will not work in all browsers" is there a way to make
it work in safari ?

Show quoteHide quote
"Stefan B Rusynko" wrote:

> If you add it to the DWT (applied to all pages) it will Start playing again on each page
> - only way to make it play across the site w/o restarts, is to build your site in frames and put it in 1 small or hidden frame with
> the site in the other frame
> (but then you have all the pitfalls of a framed site)
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-:              [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!"  (-;
> _____________________________________________
>
>
> "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message news:3BE6543D-B1D7-4188-957C-5FB005DAAC21@microsoft.com...
> | Hi Mike now he wants the song to play across the whole site so if I can get
> | it to work with all browsers that will be great below is the code for the
> | page it is a DWT.
> | ===============================
> | <html>
> |
> | <head>
> | <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
> | <meta name="ProgId" content="FrontPage.Editor.Document">
> | <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
> | <!-- #BeginEditable "doctitle" -->
> | <title>standardpage</title>
> | <!-- #EndEditable -->
> | <script language="JavaScript">
> | <!--
> | function FP_swapImgRestore() {//v1.0
> | var doc=document,i; if(doc.$imgSwaps) { for(i=0;i<doc.$imgSwaps.length;i++) {
> |  var elm=doc.$imgSwaps[i]; if(elm) { elm.src=elm.$src; elm.$src=null; } }
> |  doc.$imgSwaps=null; }
> | }
> |
> | function FP_swapImg() {//v1.0
> | var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
> | n<args.length;
> | n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
> | doc.$imgSwaps[doc.$imgSwaps.length]=elm;
> | elm.$src=elm.src; elm.src=args[n+1]; } }
> | }
> |
> | function FP_preloadImgs() {//v1.0
> | var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
> | for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image;
> | d.FP_imgs[i].src=a[i]; }
> | }
> |
> | function FP_getObjectByID(id,o) {//v1.0
> | var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
> | el=o.getElementById(id);
> | else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
> | if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
> | for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
> | f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
> | for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
> | el; } }
> | return null;
> | }
> |
> | function FP_goToURL(url) {//v1.0
> | window.location=url;
> | }
> |
> | function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url) {//v1.0
> | var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,'; else
> |  windowProperties+='toolbar=yes,'; if(loc==false)
> | windowProperties+='location=no,';
> | else windowProperties+='location=yes,'; if(sts==false)
> | windowProperties+='status=no,';
> | else windowProperties+='status=yes,'; if(menu==false)
> | windowProperties+='menubar=no,';
> | else windowProperties+='menubar=yes,'; if(scroll==false)
> | windowProperties+='scrollbars=no,';
> | else windowProperties+='scrollbars=yes,'; if(resize==false)
> | windowProperties+='resizable=no,';
> | else windowProperties+='resizable=yes,'; if(w!="")
> | windowProperties+='width='+w+',';
> | if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
> |  if( windowProperties.charAt(windowProperties.length-1)==',')
> |   windowProperties=windowProperties.substring(0,windowProperties.length-1);
> | }
> | window.open(url,name,windowProperties);
> | }
> | // -->
> | </script>
> | <bgsound src="../../../Desktop/Using/Music" loop="-1">
> | </head>
> |
> | <body link="#808080" vlink="#808080" alink="#C0C0C0" text="#808080"
> | bgcolor="#000000" onload="FP_preloadImgs(/*url*/'buttons/17-RED.jpg',
> | /*url*/'buttons/24-RED.jpg', /*url*/'buttons/23-RED.jpg',
> | /*url*/'buttons/29-RED.jpg', /*url*/'buttons/32-RED.jpg',
> | /*url*/'buttons/34-RED.jpg', /*url*/'buttons/36-RED.jpg',
> | /*url*/'buttons/42-RED.jpg', /*url*/'template_images/Contact-RED.jpg',
> | /*url*/'template_images/Apparel-RED.jpg',
> | /*url*/'template_images/Classified-RED.jpg',
> | /*url*/'buttons/Catches-RED.jpg')">
> |
> | <div align="center">
> | <table border="1" cellpadding="0" cellspacing="0" width="100%"
> | bordercolorlight="#C0C0C0" bordercolordark="#808080">
> | <tr>
> | <td width="1131" height="536" rowspan="8">
> | <!-- #BeginEditable "mainss" --> <!-- #EndEditable --></td>
> | <td align="center" width="180" height="80">
> | <font size="4" color="#C0C0C0"><!-- #BeginEditable "standardfeatuers"
> | -->(standardfeatuers)<!-- #EndEditable --></font></td>
> | </tr>
> | <tr>
> | <td align="center" width="180" height="80">
> | <font size="4" color="#C0C0C0"><!-- #BeginEditable "options"
> | -->(options)<!-- #EndEditable --></font></td>
> | </tr>
> | <tr>
> | <td align="center" width="180" height="80">
> | <font size="4" color="#C0C0C0"><!-- #BeginEditable "video" -->
> | (video)<!-- #EndEditable --></font></td>
> | </tr>
> | <tr>
> | <td align="center" width="180" height="80">
> | <!-- #BeginEditable "Guides" -->
> | <font size="4" color="#C0C0C0">(guides)</font><!-- #EndEditable --></td>
> | </tr>
> | <tr>
> | <td align="center" width="180" height="80">
> | <img border="0" src="buttons/Catches.jpg" width="180" height="80"
> | id="img12" onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img12',/*url*/'buttons/Catches-RED.jpg')"></td>
> | </tr>
> | <tr>
> | <td align="center" width="180" height="80">
> | <img border="0" src="template_images/Classified.jpg" width="180"
> | height="80" id="img11" onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img11',/*url*/'template_images/Classified-RED.jpg')"
> onclick="FP_goToURL(/*href*/'classified.htm')"></td>
> | </tr>
> | <tr>
> | <td align="center" width="180" height="80">
> | <img border="0" src="template_images/Apparel.jpg" width="180" height="80"
> | id="img10" onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img10',/*url*/'template_images/Apparel-RED.jpg')"
> | onclick="FP_openNewWindow('600', '400', true, true, true, true, true, true,
> | 'store', /*href*/'http://www.yellowfinonlinestore.com/')"></td>
> | </tr>
> | <tr>
> | <td align="center" width="180" height="80">
> | <img border="0" src="template_images/Contact.jpg" width="180" height="80"
> | id="img9" onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img9',/*url*/'template_images/Contact-RED.jpg')"
> onclick="FP_goToURL(/*href*/'contact.htm')"></td>
> | </tr>
> | </table>
> | </div>
> | <div align="center">
> | <table border="0" cellspacing="0" width="1315" height="100">
> | <tr>
> | <td align="center" width="50"> </td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/17.jpg" width="140" height="75" id="img1"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img1',/*url*/'buttons/17-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'17skiff.htm')"></td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/24.jpg" width="140" height="75" id="img2"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img2',/*url*/'buttons/24-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'24bay.htm')"></td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/23.jpg" width="140" height="75" id="img3"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img3',/*url*/'buttons/23-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'23os.htm');"></td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/29.jpg" width="140" height="75" id="img4"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img4',/*url*/'buttons/29-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'29os.htm')"></td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/32.jpg" width="140" height="75" id="img5"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img5',/*url*/'buttons/32-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'32os.htm')"></td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/34.jpg" width="140" height="75" id="img6"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img6',/*url*/'buttons/34-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'34os.htm')"></td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/36.jpg" width="140" height="75" id="img7"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img7',/*url*/'buttons/36-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'36os.htm')"></td>
> | <td align="center" width="140">
> | <img border="0" src="buttons/42.jpg" width="140" height="75" id="img8"
> | onmouseout="FP_swapImgRestore()"
> | onmouseover="FP_swapImg(1,1,/*id*/'img8',/*url*/'buttons/42-RED.jpg')"
> | onclick="FP_goToURL(/*href*/'42os.htm')"></td>
> | <td align="center" width="140"> </td>
> | </tr>
> | </table>
> | </div>
> | <div align="center">
> | <table border="0" cellpadding="0" cellspacing="0" width="100%">
> | <tr>
> | <td width="1315" height="200" align="center" valign="top"><!--
> | #BeginEditable "banner" --> <!-- #EndEditable --></td>
> | </tr>
> | </table>
> | </div>
> | </body>
> |
> | </html>
> |
> |
> | "Mike Mueller" wrote:
> |
> | > Please post a sample of your code
> | >
> | > "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message
> | > news:07D958A7-6A77-4CE0-937E-11086D807D7F@microsoft.com...
> | > > Hi I want to set a mp3 file to to play on each page in page properties. It
> | > > works great in IE how do I get to work across all browsers TIA
> | > > Ric
> | >
> | >
> | >
>
>
>
Author
7 Jun 2009 8:02 AM
Stefan B Rusynko
Yes
- use the SWfobject for your FLV
See http://blog.deconcept.com/swfobject/

--

_____________________________________________
SBR @ ENJOY (-:              [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!"  (-;
_____________________________________________


Show quoteHide quote
"Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message news:23A7D5D2-29D4-426C-BC41-21B46CBA3615@microsoft.com...
| Hi the restarts are not a problem to my boss, the problem is he uses safari
| to browse and the music will not show up there or in Google chrome. It say's
| on the MS site that it "will not work in all browsers" is there a way to make
| it work in safari ?
|
| "Stefan B Rusynko" wrote:
|
| > If you add it to the DWT (applied to all pages) it will Start playing again on each page
| > - only way to make it play across the site w/o restarts, is to build your site in frames and put it in 1 small or hidden frame
with
| > the site in the other frame
| > (but then you have all the pitfalls of a framed site)
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-:              [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!"  (-;
| > _____________________________________________
| >
| >
| > "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message news:3BE6543D-B1D7-4188-957C-5FB005DAAC21@microsoft.com...
| > | Hi Mike now he wants the song to play across the whole site so if I can get
| > | it to work with all browsers that will be great below is the code for the
| > | page it is a DWT.
| > | ===============================
| > | <html>
| > |
| > | <head>
| > | <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
| > | <meta name="ProgId" content="FrontPage.Editor.Document">
| > | <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| > | <!-- #BeginEditable "doctitle" -->
| > | <title>standardpage</title>
| > | <!-- #EndEditable -->
| > | <script language="JavaScript">
| > | <!--
| > | function FP_swapImgRestore() {//v1.0
| > | var doc=document,i; if(doc.$imgSwaps) { for(i=0;i<doc.$imgSwaps.length;i++) {
| > |  var elm=doc.$imgSwaps[i]; if(elm) { elm.src=elm.$src; elm.$src=null; } }
| > |  doc.$imgSwaps=null; }
| > | }
| > |
| > | function FP_swapImg() {//v1.0
| > | var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
| > | n<args.length;
| > | n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
| > | doc.$imgSwaps[doc.$imgSwaps.length]=elm;
| > | elm.$src=elm.src; elm.src=args[n+1]; } }
| > | }
| > |
| > | function FP_preloadImgs() {//v1.0
| > | var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
| > | for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image;
| > | d.FP_imgs[i].src=a[i]; }
| > | }
| > |
| > | function FP_getObjectByID(id,o) {//v1.0
| > | var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
| > | el=o.getElementById(id);
| > | else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
| > | if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
| > | for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
| > | f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
| > | for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
| > | el; } }
| > | return null;
| > | }
| > |
| > | function FP_goToURL(url) {//v1.0
| > | window.location=url;
| > | }
| > |
| > | function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url) {//v1.0
| > | var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,'; else
| > |  windowProperties+='toolbar=yes,'; if(loc==false)
| > | windowProperties+='location=no,';
| > | else windowProperties+='location=yes,'; if(sts==false)
| > | windowProperties+='status=no,';
| > | else windowProperties+='status=yes,'; if(menu==false)
| > | windowProperties+='menubar=no,';
| > | else windowProperties+='menubar=yes,'; if(scroll==false)
| > | windowProperties+='scrollbars=no,';
| > | else windowProperties+='scrollbars=yes,'; if(resize==false)
| > | windowProperties+='resizable=no,';
| > | else windowProperties+='resizable=yes,'; if(w!="")
| > | windowProperties+='width='+w+',';
| > | if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
| > |  if( windowProperties.charAt(windowProperties.length-1)==',')
| > |   windowProperties=windowProperties.substring(0,windowProperties.length-1);
| > | }
| > | window.open(url,name,windowProperties);
| > | }
| > | // -->
| > | </script>
| > | <bgsound src="../../../Desktop/Using/Music" loop="-1">
| > | </head>
| > |
| > | <body link="#808080" vlink="#808080" alink="#C0C0C0" text="#808080"
| > | bgcolor="#000000" onload="FP_preloadImgs(/*url*/'buttons/17-RED.jpg',
| > | /*url*/'buttons/24-RED.jpg', /*url*/'buttons/23-RED.jpg',
| > | /*url*/'buttons/29-RED.jpg', /*url*/'buttons/32-RED.jpg',
| > | /*url*/'buttons/34-RED.jpg', /*url*/'buttons/36-RED.jpg',
| > | /*url*/'buttons/42-RED.jpg', /*url*/'template_images/Contact-RED.jpg',
| > | /*url*/'template_images/Apparel-RED.jpg',
| > | /*url*/'template_images/Classified-RED.jpg',
| > | /*url*/'buttons/Catches-RED.jpg')">
| > |
| > | <div align="center">
| > | <table border="1" cellpadding="0" cellspacing="0" width="100%"
| > | bordercolorlight="#C0C0C0" bordercolordark="#808080">
| > | <tr>
| > | <td width="1131" height="536" rowspan="8">
| > | <!-- #BeginEditable "mainss" --> <!-- #EndEditable --></td>
| > | <td align="center" width="180" height="80">
| > | <font size="4" color="#C0C0C0"><!-- #BeginEditable "standardfeatuers"
| > | -->(standardfeatuers)<!-- #EndEditable --></font></td>
| > | </tr>
| > | <tr>
| > | <td align="center" width="180" height="80">
| > | <font size="4" color="#C0C0C0"><!-- #BeginEditable "options"
| > | -->(options)<!-- #EndEditable --></font></td>
| > | </tr>
| > | <tr>
| > | <td align="center" width="180" height="80">
| > | <font size="4" color="#C0C0C0"><!-- #BeginEditable "video" -->
| > | (video)<!-- #EndEditable --></font></td>
| > | </tr>
| > | <tr>
| > | <td align="center" width="180" height="80">
| > | <!-- #BeginEditable "Guides" -->
| > | <font size="4" color="#C0C0C0">(guides)</font><!-- #EndEditable --></td>
| > | </tr>
| > | <tr>
| > | <td align="center" width="180" height="80">
| > | <img border="0" src="buttons/Catches.jpg" width="180" height="80"
| > | id="img12" onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img12',/*url*/'buttons/Catches-RED.jpg')"></td>
| > | </tr>
| > | <tr>
| > | <td align="center" width="180" height="80">
| > | <img border="0" src="template_images/Classified.jpg" width="180"
| > | height="80" id="img11" onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img11',/*url*/'template_images/Classified-RED.jpg')"
| > onclick="FP_goToURL(/*href*/'classified.htm')"></td>
| > | </tr>
| > | <tr>
| > | <td align="center" width="180" height="80">
| > | <img border="0" src="template_images/Apparel.jpg" width="180" height="80"
| > | id="img10" onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img10',/*url*/'template_images/Apparel-RED.jpg')"
| > | onclick="FP_openNewWindow('600', '400', true, true, true, true, true, true,
| > | 'store', /*href*/'http://www.yellowfinonlinestore.com/')"></td>
| > | </tr>
| > | <tr>
| > | <td align="center" width="180" height="80">
| > | <img border="0" src="template_images/Contact.jpg" width="180" height="80"
| > | id="img9" onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img9',/*url*/'template_images/Contact-RED.jpg')"
| > onclick="FP_goToURL(/*href*/'contact.htm')"></td>
| > | </tr>
| > | </table>
| > | </div>
| > | <div align="center">
| > | <table border="0" cellspacing="0" width="1315" height="100">
| > | <tr>
| > | <td align="center" width="50"> </td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/17.jpg" width="140" height="75" id="img1"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img1',/*url*/'buttons/17-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'17skiff.htm')"></td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/24.jpg" width="140" height="75" id="img2"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img2',/*url*/'buttons/24-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'24bay.htm')"></td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/23.jpg" width="140" height="75" id="img3"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img3',/*url*/'buttons/23-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'23os.htm');"></td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/29.jpg" width="140" height="75" id="img4"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img4',/*url*/'buttons/29-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'29os.htm')"></td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/32.jpg" width="140" height="75" id="img5"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img5',/*url*/'buttons/32-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'32os.htm')"></td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/34.jpg" width="140" height="75" id="img6"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img6',/*url*/'buttons/34-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'34os.htm')"></td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/36.jpg" width="140" height="75" id="img7"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img7',/*url*/'buttons/36-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'36os.htm')"></td>
| > | <td align="center" width="140">
| > | <img border="0" src="buttons/42.jpg" width="140" height="75" id="img8"
| > | onmouseout="FP_swapImgRestore()"
| > | onmouseover="FP_swapImg(1,1,/*id*/'img8',/*url*/'buttons/42-RED.jpg')"
| > | onclick="FP_goToURL(/*href*/'42os.htm')"></td>
| > | <td align="center" width="140"> </td>
| > | </tr>
| > | </table>
| > | </div>
| > | <div align="center">
| > | <table border="0" cellpadding="0" cellspacing="0" width="100%">
| > | <tr>
| > | <td width="1315" height="200" align="center" valign="top"><!--
| > | #BeginEditable "banner" --> <!-- #EndEditable --></td>
| > | </tr>
| > | </table>
| > | </div>
| > | </body>
| > |
| > | </html>
| > |
| > |
| > | "Mike Mueller" wrote:
| > |
| > | > Please post a sample of your code
| > | >
| > | > "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message
| > | > news:07D958A7-6A77-4CE0-937E-11086D807D7F@microsoft.com...
| > | > > Hi I want to set a mp3 file to to play on each page in page properties. It
| > | > > works great in IE how do I get to work across all browsers TIA
| > | > > Ric
| > | >
| > | >
| > | >
| >
| >
| >
Author
7 Jun 2009 11:33 AM
Ricopetro
Hi Stefan
Thanks for the reply I read the blog you mentioned and got the idea to just
create a 1x1 pixel movie with the sound track I wanted in it and insert it
into an empty cell on my DWT in the same color as the page background and it
works great
Thanks

Show quoteHide quote
"Stefan B Rusynko" wrote:

> Yes
> - use the SWfobject for your FLV
> See http://blog.deconcept.com/swfobject/
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-:              [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!"  (-;
> _____________________________________________
>
>
> "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message news:23A7D5D2-29D4-426C-BC41-21B46CBA3615@microsoft.com...
> | Hi the restarts are not a problem to my boss, the problem is he uses safari
> | to browse and the music will not show up there or in Google chrome. It say's
> | on the MS site that it "will not work in all browsers" is there a way to make
> | it work in safari ?
> |
> | "Stefan B Rusynko" wrote:
> |
> | > If you add it to the DWT (applied to all pages) it will Start playing again on each page
> | > - only way to make it play across the site w/o restarts, is to build your site in frames and put it in 1 small or hidden frame
> with
> | > the site in the other frame
> | > (but then you have all the pitfalls of a framed site)
> | >
> | > --
> | >
> | > _____________________________________________
> | > SBR @ ENJOY (-:              [ Microsoft MVP - FrontPage ]
> | > "Warning - Using the F1 Key will not break anything!"  (-;
> | > _____________________________________________
> | >
> | >
> | > "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message news:3BE6543D-B1D7-4188-957C-5FB005DAAC21@microsoft.com...
> | > | Hi Mike now he wants the song to play across the whole site so if I can get
> | > | it to work with all browsers that will be great below is the code for the
> | > | page it is a DWT.
> | > | ===============================
> | > | <html>
> | > |
> | > | <head>
> | > | <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
> | > | <meta name="ProgId" content="FrontPage.Editor.Document">
> | > | <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
> | > | <!-- #BeginEditable "doctitle" -->
> | > | <title>standardpage</title>
> | > | <!-- #EndEditable -->
> | > | <script language="JavaScript">
> | > | <!--
> | > | function FP_swapImgRestore() {//v1.0
> | > | var doc=document,i; if(doc.$imgSwaps) { for(i=0;i<doc.$imgSwaps.length;i++) {
> | > |  var elm=doc.$imgSwaps[i]; if(elm) { elm.src=elm.$src; elm.$src=null; } }
> | > |  doc.$imgSwaps=null; }
> | > | }
> | > |
> | > | function FP_swapImg() {//v1.0
> | > | var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
> | > | n<args.length;
> | > | n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
> | > | doc.$imgSwaps[doc.$imgSwaps.length]=elm;
> | > | elm.$src=elm.src; elm.src=args[n+1]; } }
> | > | }
> | > |
> | > | function FP_preloadImgs() {//v1.0
> | > | var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
> | > | for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image;
> | > | d.FP_imgs[i].src=a[i]; }
> | > | }
> | > |
> | > | function FP_getObjectByID(id,o) {//v1.0
> | > | var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
> | > | el=o.getElementById(id);
> | > | else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
> | > | if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
> | > | for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
> | > | f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
> | > | for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
> | > | el; } }
> | > | return null;
> | > | }
> | > |
> | > | function FP_goToURL(url) {//v1.0
> | > | window.location=url;
> | > | }
> | > |
> | > | function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url) {//v1.0
> | > | var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,'; else
> | > |  windowProperties+='toolbar=yes,'; if(loc==false)
> | > | windowProperties+='location=no,';
> | > | else windowProperties+='location=yes,'; if(sts==false)
> | > | windowProperties+='status=no,';
> | > | else windowProperties+='status=yes,'; if(menu==false)
> | > | windowProperties+='menubar=no,';
> | > | else windowProperties+='menubar=yes,'; if(scroll==false)
> | > | windowProperties+='scrollbars=no,';
> | > | else windowProperties+='scrollbars=yes,'; if(resize==false)
> | > | windowProperties+='resizable=no,';
> | > | else windowProperties+='resizable=yes,'; if(w!="")
> | > | windowProperties+='width='+w+',';
> | > | if(h!="") windowProperties+='height='+h; if(windowProperties!="") {
> | > |  if( windowProperties.charAt(windowProperties.length-1)==',')
> | > |   windowProperties=windowProperties.substring(0,windowProperties.length-1);
> | > | }
> | > | window.open(url,name,windowProperties);
> | > | }
> | > | // -->
> | > | </script>
> | > | <bgsound src="../../../Desktop/Using/Music" loop="-1">
> | > | </head>
> | > |
> | > | <body link="#808080" vlink="#808080" alink="#C0C0C0" text="#808080"
> | > | bgcolor="#000000" onload="FP_preloadImgs(/*url*/'buttons/17-RED.jpg',
> | > | /*url*/'buttons/24-RED.jpg', /*url*/'buttons/23-RED.jpg',
> | > | /*url*/'buttons/29-RED.jpg', /*url*/'buttons/32-RED.jpg',
> | > | /*url*/'buttons/34-RED.jpg', /*url*/'buttons/36-RED.jpg',
> | > | /*url*/'buttons/42-RED.jpg', /*url*/'template_images/Contact-RED.jpg',
> | > | /*url*/'template_images/Apparel-RED.jpg',
> | > | /*url*/'template_images/Classified-RED.jpg',
> | > | /*url*/'buttons/Catches-RED.jpg')">
> | > |
> | > | <div align="center">
> | > | <table border="1" cellpadding="0" cellspacing="0" width="100%"
> | > | bordercolorlight="#C0C0C0" bordercolordark="#808080">
> | > | <tr>
> | > | <td width="1131" height="536" rowspan="8">
> | > | <!-- #BeginEditable "mainss" --> <!-- #EndEditable --></td>
> | > | <td align="center" width="180" height="80">
> | > | <font size="4" color="#C0C0C0"><!-- #BeginEditable "standardfeatuers"
> | > | -->(standardfeatuers)<!-- #EndEditable --></font></td>
> | > | </tr>
> | > | <tr>
> | > | <td align="center" width="180" height="80">
> | > | <font size="4" color="#C0C0C0"><!-- #BeginEditable "options"
> | > | -->(options)<!-- #EndEditable --></font></td>
> | > | </tr>
> | > | <tr>
> | > | <td align="center" width="180" height="80">
> | > | <font size="4" color="#C0C0C0"><!-- #BeginEditable "video" -->
> | > | (video)<!-- #EndEditable --></font></td>
> | > | </tr>
> | > | <tr>
> | > | <td align="center" width="180" height="80">
> | > | <!-- #BeginEditable "Guides" -->
> | > | <font size="4" color="#C0C0C0">(guides)</font><!-- #EndEditable --></td>
> | > | </tr>
> | > | <tr>
> | > | <td align="center" width="180" height="80">
> | > | <img border="0" src="buttons/Catches.jpg" width="180" height="80"
> | > | id="img12" onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img12',/*url*/'buttons/Catches-RED.jpg')"></td>
> | > | </tr>
> | > | <tr>
> | > | <td align="center" width="180" height="80">
> | > | <img border="0" src="template_images/Classified.jpg" width="180"
> | > | height="80" id="img11" onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img11',/*url*/'template_images/Classified-RED.jpg')"
> | > onclick="FP_goToURL(/*href*/'classified.htm')"></td>
> | > | </tr>
> | > | <tr>
> | > | <td align="center" width="180" height="80">
> | > | <img border="0" src="template_images/Apparel.jpg" width="180" height="80"
> | > | id="img10" onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img10',/*url*/'template_images/Apparel-RED.jpg')"
> | > | onclick="FP_openNewWindow('600', '400', true, true, true, true, true, true,
> | > | 'store', /*href*/'http://www.yellowfinonlinestore.com/')"></td>
> | > | </tr>
> | > | <tr>
> | > | <td align="center" width="180" height="80">
> | > | <img border="0" src="template_images/Contact.jpg" width="180" height="80"
> | > | id="img9" onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img9',/*url*/'template_images/Contact-RED.jpg')"
> | > onclick="FP_goToURL(/*href*/'contact.htm')"></td>
> | > | </tr>
> | > | </table>
> | > | </div>
> | > | <div align="center">
> | > | <table border="0" cellspacing="0" width="1315" height="100">
> | > | <tr>
> | > | <td align="center" width="50"> </td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/17.jpg" width="140" height="75" id="img1"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img1',/*url*/'buttons/17-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'17skiff.htm')"></td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/24.jpg" width="140" height="75" id="img2"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img2',/*url*/'buttons/24-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'24bay.htm')"></td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/23.jpg" width="140" height="75" id="img3"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img3',/*url*/'buttons/23-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'23os.htm');"></td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/29.jpg" width="140" height="75" id="img4"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img4',/*url*/'buttons/29-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'29os.htm')"></td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/32.jpg" width="140" height="75" id="img5"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img5',/*url*/'buttons/32-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'32os.htm')"></td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/34.jpg" width="140" height="75" id="img6"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img6',/*url*/'buttons/34-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'34os.htm')"></td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/36.jpg" width="140" height="75" id="img7"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img7',/*url*/'buttons/36-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'36os.htm')"></td>
> | > | <td align="center" width="140">
> | > | <img border="0" src="buttons/42.jpg" width="140" height="75" id="img8"
> | > | onmouseout="FP_swapImgRestore()"
> | > | onmouseover="FP_swapImg(1,1,/*id*/'img8',/*url*/'buttons/42-RED.jpg')"
> | > | onclick="FP_goToURL(/*href*/'42os.htm')"></td>
> | > | <td align="center" width="140"> </td>
> | > | </tr>
> | > | </table>
> | > | </div>
> | > | <div align="center">
> | > | <table border="0" cellpadding="0" cellspacing="0" width="100%">
> | > | <tr>
> | > | <td width="1315" height="200" align="center" valign="top"><!--
> | > | #BeginEditable "banner" --> <!-- #EndEditable --></td>
> | > | </tr>
> | > | </table>
> | > | </div>
> | > | </body>
> | > |
> | > | </html>
> | > |
> | > |
> | > | "Mike Mueller" wrote:
> | > |
> | > | > Please post a sample of your code
> | > | >
> | > | > "Ricopetro" <Ricope***@discussions.microsoft.com> wrote in message
> | > | > news:07D958A7-6A77-4CE0-937E-11086D807D7F@microsoft.com...
> | > | > > Hi I want to set a mp3 file to to play on each page in page properties. It
> | > | > > works great in IE how do I get to work across all browsers TIA
> | > | > > Ric
> | > | >
> | > | >
> | > | >
> | >
> | >
> | >
>
>
>

Bookmark and Share