|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a site created at www.backtothebasics.net. I have Flash banners running
at the tops of each page. The home page works, as does all of the main category pages (ie Sprouting, Gardening, etc). However, when you click further, to an article within a category, the Flash banner just shows up as a blank white box. Each page has the same code on it-the script call in the head "<script src="AC_RunActiveContent.js" type="text/javascript"></script>", and then the code within the page. The only difference is that the article pages are one more level down in the folder structure, so the head code reads Scripts/AC_RunActiveContent.js on the home page, ../Scripts/ on the category pages, and then ../../Scripts/ on the newsletter article pages. I have tried taking out all AC references, as well as putting the js script in the same folder and adjusting the head code accordingly, and none of these things seems to work. Any ideas on what I need to do to fix this? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Make the link to the SWF file root relative.
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "webgirlrexburg" <webforumsuser@macromedia.com> wrote in message news:g1t0am$2tq$1@forums.macromedia.com... >I have a site created at www.backtothebasics.net. I have Flash banners >running > at the tops of each page. The home page works, as does all of the main > category pages (ie Sprouting, Gardening, etc). However, when you click > further, to an article within a category, the Flash banner just shows up > as a > blank white box. Each page has the same code on it-the script call in the > head > "<script src="AC_RunActiveContent.js" type="text/javascript"></script>", > and > then the code within the page. The only difference is that the article > pages > are one more level down in the folder structure, so the head code reads > Scripts/AC_RunActiveContent.js on the home page, ../Scripts/ on the > category > pages, and then ../../Scripts/ on the newsletter article pages. I have > tried > taking out all AC references, as well as putting the js script in the same > folder and adjusting the head code accordingly, and none of these things > seems > to work. Any ideas on what I need to do to fix this? > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
I tried making the link root relative, and did on the JS file as well, and neither of those worked. Any other ideas?
|
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Let's see your code, please.
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "webgirlrexburg" <webforumsuser@macromedia.com> wrote in message news:g21bqf$m9o$1@forums.macromedia.com... >I tried making the link root relative, and did on the JS file as well, and >neither of those worked. Any other ideas? |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
This is the portion in the <head>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/dehydrating_short.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Back to the Basics : Benefits of Dehydrating Article Page 1</title> <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --> <link href="../../print.css" rel="stylesheet" type="text/css" media="print" /> <script src="http://www.backtothebasics.net/Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <!-- InstanceEndEditable --> <link rel="stylesheet" type="text/css" href="../../theme.css" /> <script type="text/javascript"> This is the body portion: <table width="820" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="150" valign="middle"><img src="../../images/top_left.gif" width="160" height="180" /></td> <td width="670" valign="middle"> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=9,0,28,0','width','660','height','180','sr c','../flash/Dehydrateing_Bann er','quality','high','pluginspage','http://www.adobe.com/shockwave/download/down load.cgi?P1_Prod_Version=ShockwaveFlash','movie',' ../flash/Dehydrateing_Banner' ); //end AC code </script><noscript><object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=9,0,28,0" width="660" height="180"> <param name="movie" value="http://www.backtothebasics.net/flash/Dehydrateing_Banner.swf" /> <param name="quality" value="high" /> <embed src="../../flash/Dehydrateing_Banner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio n=ShockwaveFlash" type="application/x-shockwave-flash" width="660" height="180"></embed> </object></noscript></td> </tr> </table> The paths to the script and flash files are both correct. Here is the code on a page that is working correctly: The only difference is that this page is located at root/dehydrating/ and the one that is not working is at root/dehydrating/articles/. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main_page.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Back to the Basics : Dehydrating Main Page</title> <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <!-- InstanceEndEditable --> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="../theme.css" /> <script type="text/javascript"> And the page code: <table width="820" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="150" valign="middle"><img src="../images/top_left.gif" width="160" height="180" /></td> <td width="670" valign="middle"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=9,0,28,0','width','660','height','180','ti tle','Dehydrating Flash Banner','src','../flash/Dehydrateing_Banner','quality','high','pluginspage ','htt p://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash ','movie','../flash/Dehydrateing_Banner' ); //end AC code </script><noscript><object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=9,0,28,0" width="660" height="180" title="Dehydrating Flash Banner"> <param name="movie" value="../flash/Dehydrateing_Banner.swf" /> <param name="quality" value="high" /> <embed src="../flash/Dehydrateing_Banner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio n=ShockwaveFlash" type="application/x-shockwave-flash" width="660" height="180"></embed> </object></noscript></noscript></td> </tr> </table> Thanks! |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
I also tried putting both the Flash and JS files in the same folder as the page and changing the reference accordingly, but that still doesn't work.
|
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Please post a link to the LIVE page, so we can test it.
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "webgirlrexburg" <webforumsuser@macromedia.com> wrote in message news:g21kv3$2r7$1@forums.macromedia.com... >I also tried putting both the Flash and JS files in the same folder as the >page and changing the reference accordingly, but that still doesn't work. |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
This page works: http://www.backtothebasics.net/dehydrating/home.html
This page doesn't: http://www.backtothebasics.net/dehyd...ydrating1.html Right now the non-working page references the JS and Flash files in a relative folder-the last fix that I tried. |
|
![]() |
| Outils de la discussion | |
|
|