Flash banner in a Dreamweaver Template

Hi all,
I am using one of the provided Dreamweaver Templates (CSS).
All is fine, except that for some reason it does not like Flash
imports. I can alter the template as much as I like and it will
always successfully change across the site, BUT if I try to insert
a Flash movie/banner into the template - then it does not appear of
ANY of the site files. The only way I can see the flash banner, is
if I open the template.php file in a browser - then you can see
that it is in fact there and working - but for some reason the
other pages refuse to acknolwegde it. Images / Tables / Text - all
work fine - just not flash banners. I even tried saving the banner
as a JPG file in Flash, then sticking the JPG file in the template
where the banner should - and it worked perfectly, but as a .swf
extension it fails.
Am I missing something?
Nathan

> BUT if I try to insert a Flash movie/banner into the
template - then it
> does not appear of ANY of the site files.
Because of the active content .js fix, when you insert a .swf
file into a
template, you must use a Site Root relative path for it.
Open the .dwt template file.
Double-click on the .swf in design view- the "browse to file"
dialog box
should come up showing the currently selected file.
look in the bottom of that dialog box for the pulldown to
change from
document relative path to site root relative path. Change it
to site root.
click okay and save the file, and let changes propagate.
does it show in the child files now?
[note- It may still not show during local preview because
site root relative
paths in javascript will not make any sense during local
preview- they
should work fine on the remote host if the site has it's own
domain name
though]
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • Replacing flash banner in dreamweaver 9

    Hi everyone here ! I hope you are all well and ready for weekend !
    I would like to really ask for your help guys... Thing is i have a website which is connected with my dreamweaver 9 and i would like to replace flash banner on my web. The new banner that i got is the same with and lenght as old one, but i dont know how to replace it, i have tried to delete old one, put in new one and save all to update my web but nothing is changing at all.... Could you guide me through how can i do it ? And also i woul like to add a logo as well - i have it saved as .jpeg or .jpg... Thanks in advance ! I really hope someone can help me out... Thanks to everyone

    Open your Template.dwt file.
    replace all this:
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="857" height="209">
          <param name="movie" value="ads/dr_banner_oak.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="8.0.35.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="ads/dr_banner_oak.swf" width="857" height="209">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="8.0.35.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
    with your new images
    <img src="logo.jpg"><img src="new-banner,jpg">
    Save Template.  Update child pages.  Upload child pages and new images to server.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Oracle content presenter template for a flash banner with onclick property

    Hi all,
    I m using webcenter portal applicaiton which a banner on my home page.On click of the flash banner, we navigate it to a specific page in my applicaion(i.e on my application resides a page called test, if i click my flash banner it will navigate to that speicific page.
    My application connects with oracle content server(ucm) to fetch the content.
    Now i tried to fetch the flash banner from Oracle Content server. When i fetch the banner from ucm by cmf:renderproperty using a content presenter template, the flash banner is not navigating to the test page as it did early.
    It takes the path from ucm(like http://xxx:16200/cs/public/do...). I tried using af:inlineframe but still getting the same path like http://xxx:16200/cs/public/doc...)
    Kindly help me out.
    Thanks
    S. Muthukumaran

    Hi All,
    Any update on this?
    Thanks

  • Dreamweaver, Fireworks pop menu and Flash  banner issue

    For some unknown reasons I am not getting my Fireworks
    pop-menu to show over a flash banner. It looks like it's working,
    but hidden behind the flash banner

    >>but hidden behind the flash banner
    That's because Flash content rises to the top, so to speak.
    There is a
    kludge/hack using the wmode parameter but I believe it only
    works in IE.
    Your best bet is to redesign the page so the Flash is
    separated from the
    menu.
    Walt
    "snazaire" <[email protected]> wrote in
    message
    news:f747u9$cqk$[email protected]..
    > For some unknown reasons I am not getting my Fireworks
    pop-menu to show
    > over a flash banner. It looks like it's working, but
    hidden behind the
    > flash banner

  • Problem with a flash banner in a php includes

    I am creating a site that has many pages and I made an includes file for the header of the page that contains my navigation bar, i then made a template of the page to use for all my pages.
    Now I have created a flash banner that i want to play in the header of all my pages but i´m having problems getting it to show on all the pages.
    Firstly I added the flash swf into my includes file and inserted the flash into the includes file page using insert flash from the dreamweaver menu (code below):
    <?php $currentPage=basename ($_SERVER['SCRIPT_NAME']);?>
    <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <div id ="adBanner">
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','468','height','60','title','advertise','src','advertise_banner','quality','high','plu ginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveF lash','movie','advertise_banner' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60" title="advertise">
        <param name="movie" value="advertise_banner.swf" />
        <param name="quality" value="high" />
        <embed src="advertise_banner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>
      </object></noscript>
    </div>
    <div id ="NavBar">
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p><a href="index.php" <?php if ($currentPage == 'index.php') {echo 'id="here"';}?>>Home</a></p>
        <p><a href="about.php" <?php if ($currentPage == 'about.php') {echo 'id="here"';}?>>About Us</a></p>
      <p><a href="contact.php" <?php if ($currentPage == 'contact.php') {echo 'id="here"';}?>>Contact Us</a></p>
      <p><a href="advertise.php?ad=y" <?php if ($currentPage == 'advertise.php') {echo 'id="here"';}?>>Advertise</a></p>
      <p> </p>
        </div>
    Great the flash ad works when I load the includes page in a browser and when i look at all my other pages that have the link to the includes file the flash file shows as a grey box with F in the center, however if i load any of these pages into a browser the flash ad does not show.
    I also tried doing exactly the same, adding the flash to the header of my template and saving it. However this did not update all of the pages that use the template, the flash ad would play in the browser if I load the template in the browser. (in this instance the actual swf file was in my templates folder with the template page).
    The final thing i tried was just to add the flash to one of my pages just to see if it would work when i loaded the page into a browers, it didn´t and i don´t understand why as it worked on the includes page and template page. (the swf file in this case was in the file along with all the pages of my site).
    It doesn´t seem that i have a problem with the actual flash banner, i just cannot seem to put it in the pages that i want to.
    Any help or input in this matter will be greatly appreciated.
    Thank you in advance.

    I don't know if this will be of any help but I have a flash rotator that I use on a few pages setup in a seperate file as well, here is the code from my include file
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="884" height="402" id="myFlashContent">
        <param name="movie" value="/Image-Rotator-V2.swf" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="/Image-Rotator-V2.swf" width="884" height="402">
        <!--<![endif]-->
         <a href="http://www.adobe.com/go/getflashplayer">
          <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
         </a>
        <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    I also added the following to the head section of the page the flash is used on.
    <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
    Regards
    Richard

  • Insert 100% width flash banner in HTML

    Hi all,
    i am trying to insert a 100% width flash banner in an html
    page. The problem i am facing is that i am inserting the banner
    inside a div which has some margin in it. This is effecting the
    percentage size of the flash banner. How can i display the flash
    banner in that div without the margin width effecting the flash
    banner size.
    (01) - <div style="margin:0px;"> <object
    classid="somevalues"></object>
    The size of the flash banner is perfect and when the window
    is resized the flash banner fills in perfectly with the div tag and
    the retains its width and height
    (02) - <div style="margin:50px;"><object
    classid="somevalues"></object>
    The flash banner gets effect and the width is effected.
    Please help....

    > BUT if I try to insert a Flash movie/banner into the
    template - then it
    > does not appear of ANY of the site files.
    Because of the active content .js fix, when you insert a .swf
    file into a
    template, you must use a Site Root relative path for it.
    Open the .dwt template file.
    Double-click on the .swf in design view- the "browse to file"
    dialog box
    should come up showing the currently selected file.
    look in the bottom of that dialog box for the pulldown to
    change from
    document relative path to site root relative path. Change it
    to site root.
    click okay and save the file, and let changes propagate.
    does it show in the child files now?
    [note- It may still not show during local preview because
    site root relative
    paths in javascript will not make any sense during local
    preview- they
    should work fine on the remote host if the site has it's own
    domain name
    though]
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Space issue in Firefox related to Flash banner

    I have a website with validated XHTML and CSS that displays an unwanted space only in Firefox under a Flash banner.  The site has been tested in IE6/7/8, Firefox, Chrome, Safari, Opera, AOL, and Netscape.  Firefox is the only problem.  After posting this issue to Experts Exchange, it was determined that the code Dreamweaver generates to insert Flash causes the problem.  An expert on that site originally thought there were two instances of the object and removed what handles IE.  The site then displayed correctly in all other browsers, but would continuously try to load the Flash file in IE. Obviously, that is not the resolution.  I have tried inserting various IECCs without finding the right combination.  --  The live site is http://www.imfgsol.com.  The test page that contains code suggested by Experts Exchange is http://www.imfgsol.com/default2.html  --  I would great appreciate any help resolving this issue!!  Thanks!

    Thanks so much for your help!  Adding the param, removing the IECCs, and correcting the tag closing resolved the issue.  The http://www.imfgsol.com/default2.html page now loads in IE 6/7/8 and validates.
    For anyone that might have this issue, following was the problem and resolution:
    When inserting a Flash banner using Dreamweaver, the following code was created:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="963" height="113" class="imgpad" vspace="0" id="FlashID" title="Innovative Manufacturing Solutions">
          <param name="movie" value="images/IMSbanner.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object data="images/IMSbanner.swf" type="application/x-shockwave-flash" width="963" height="113" vspace="0">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
            <!--[if !IE]>-->
            </object>
          <!--<![endif]-->
        </object>
    The display was fine in all browsers other than Firefox.  In Firefox, an unwanted space was created due to the way it read the IE code.  The space below the banner is illustrated here:
    By removing the separate objects and IECCs and adding the param as suggested, there is no longer a space in Firefox and the display is correct in IE 6/7/8, Firefox, Chrome, Safari, Opera, AOL, and Netscape.  The code that works correctly is:
    <object data="images/IMSbanner.swf" type="application/x-shockwave-flash" width="963" height="113" vspace="0">
            <param name="movie" value="images/IMSbanner.swf" />
            <param value="high" name="quality" />
            <param value="opaque" name="wmode" />
            <param value="6.0.65.0" name="swfversion" />
            <param value="Scripts/expressInstall.swf" name="expressinstall" />
            <img width="112" height="33" alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"></a></p>
              </div>
        </object>

  • How to publish a flash banner without generating errors?

    I need to upload a flash banner every time a condition is
    verified. But I have troubles from the HTML code I use to call the
    flash banner.
    <CFIF #file# IS "fox">
    <div><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="468" height="60" vspace="0" hspace="0"><param
    name=movie value="
    http://www.site.com/banners/#address#"><param
    name=quality value=high><embed src="
    http://www.site.com/banners/#address#"
    quality=high pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="468" height="60"
    vspace="0" hspace="0"></embed></object></div>
    </CFIF>
    The error i receive is:
    Just in time compilation error
    Invalid parser construct found on line 30 at position 220
    ColdFusion was looking at the following text:
    =
    Invalid expression format. The usual cause is an error in the
    expression structure.
    This error is generated by the HTML code inside the CFIF tags
    because if I change the code between the conditional tags CFIF, it
    works fine.
    Exemple:
    <CFIF #file# IS "fox">
    <div>
    Now it works correctly!
    </div>
    </CFIF>
    Please could you suggest me how to resolve this trouble?
    Than You,
    rikros

    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=5,0,0,0"
    # is a reserved CF symbol. If your template has a
    non-CF-related # symbol
    in it, you need to escape it (##).
    http://www.adobe.com/go/tn_17016
    Adam

  • Help with creating a flash banner

    Hi,
    I need some help with a creating/replicating a flash banner I
    saw online. I cant find it anymore but I will do my best to
    describe it.
    The banner had multiple images layered on top of each other
    horizontally. Each image covered the image to the left of it. When
    you moused over an image the image expanded to full size while the
    other remained contracted.
    How can I create something with the above description? Are
    there any good tutorials for something like this or maybe someone
    can provide me with a few tips/tricks for doing this?
    I am proficient in PShop and a beginner with Flash so the
    design portion is not the hard part, just the programming/setup in
    flash is what has me stumped.
    Thanks in advance for any assitance.
    Regards,
    Mike
    Hookah Life

    Update:
    The banner on this template has an exact example of what I am
    shooting for.
    http://www.algozone.com/zencart-templates-zc03c00287-p-1191.html

  • Dreamweaver template / having trouble seeing the previews

    I am designing a website, using Dreamweaver for the first
    time, and I would like to ask your advice.
    Do you know how to apply a dreamweaver template to other html
    pages. I have having trouble seeing the previews in the local
    browser. For examples, when I preview an html page, that has the
    template included, I see the page OK. But when I click to go to
    another page with the sample template, the new page shows up, but
    without the template design included.

    Answered mutliple times on the DW forum.
    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
    ==================
    "happydreamweaver" <[email protected]> wrote
    in message
    news:fin6nr$5q1$[email protected]..
    > How can I apply a template to new pages? I have done the
    following:
    > Apply the template to the pages as follows:1 Select File
    > Open.
    > 2 Browse to and select index.html.
    > 3 Select Modify > Templates > Apply Template to
    Page.
    > 4 Type the title of the page in the Banner Editable
    Region. Type or insert
    > text in the Body Editable Region.
    > 5 Select File > Save.
    >
    > Then when I preview the broswer, I see the html page as
    I should, put when
    > I
    > click to a new page, the new new doesn't have the
    template.
    >
    > Also, when I went to apply the template to a new page, a
    message said that
    > I
    > had orphaned stuff. What does that mean and how can I
    get the template
    > show
    > apply without the hassle.
    >

  • DreamWeaver Template - How to remove a border?

    Hi Folks,
    I'm a newbie here. 
    I decided to use a dreamweaver template to start my website.  I want to remove the border of the template...as well as to make the Left and Right hand side "margins" the same background color as the webpage... can anyone tell me where to start on this?  Thanks for the help,
    Joe

    For myself, the best place to learn about this sort of thing is staring you in the face... I don't like books.  I find that suffering thru solving things is the best way to learn.  The internet is a very good resource, and taking a course or two never hurt me, though I usually had most courses completed by the second class (I couldn't put this stuff down once I started).
    Dreamweaver is just a tool...one of a few fairly decent ones.  Learning how to use it is nice, but the more important things to learn are the languages of web design, which can be overwhelming to catch and keep up with.  For the basics, I'd say you want to get neck deep into HTML, CSS, and Javascript.
    I don't do web design on a continuous basis... my dealings are more often in the Flash realm. Other folks here may have other recommendations that may be better advice to follow.  You'll probably find a few postings where someone has asked how to learn what, so look around a bit.  If you don't find anything, just ask it straight out as a new posting.

  • Dreamweaver template - Image display

    Hey everyone.
    I am using a Dreamweaver template that I have created to
    format my pages. The banner is a graphic. I have created 2 pages,
    both with the same template. When i view these in IE one has a
    crisp clear image and the other one has jagged edges (like i have
    resized it). I have went through the code for both pages and they
    are EXACTLY the same.
    I am complete stumped as to why this is happening. I have
    never seen this before.
    Does anyone have an suggestions as to what to look for, or to
    solve this??

    Show us the pages, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "athomas32" <[email protected]> wrote in
    message
    news:f427lu$mf9$[email protected]..
    > Hey everyone.
    >
    > I am using a Dreamweaver template that I have created to
    format my pages.
    > The
    > banner is a graphic. I have created 2 pages, both with
    the same template.
    > When
    > i view these in IE one has a crisp clear image and the
    other one has
    > jagged
    > edges (like i have resized it). I have went through the
    code for both
    > pages and
    > they are EXACTLY the same.
    >
    > I am complete stumped as to why this is happening. I
    have never seen this
    > before.
    >
    > Does anyone have an suggestions as to what to look for,
    or to solve this??
    >
    >

  • Dreamweaver Template Error: Error reading file (Site Location/info) returned incomplete data

    Hello!
    I am working on new website we are creating for our company. I have never really had any Dreamweaver template file errors before...so this one has me really stumped! We purchased the site files from Template Monster and I have contacted their tech support, but I have not had much luck with them.
    I started out by creating the Dreamweaver template folder that includes the template files that I would like to use. I started creating some pages using the template. I placed all the html pages in the main folder of the website. When I go to update the template to those pages I get the following error: "Error reading file (Site Location\Folder name\Dreamweaver template name) returned incomplete data".
    I am not sure what I am doing wrong. Any help and advice would be greatly appreciated!
    The site is a CSS based site with a Flash navigation menu. Since it is in the production phase, I do not yet have it placed on a server so you can take a look at it at this time (although if really needed and we cannot find an answer, I may be able to get the test site on line - if someone thinks they can help me answer this problem by viewing the site). Right now the site is housed in the same place we house all of the other sites we have produced and all of our other templates on our other websites work just fine. The main difference with this site is that we did purchase files from Template Monster to help speed us along during the construction of the page structures and also this site has a Flash Navigation Menu and a few other Flash elements (something our other sites do not really have).
    I am using Abobe Dreamweaver CS5 and Windows 7
    Thanks again for taking the time to help find and answer to this problem!
    -J

    I am curious as to why no one likes them around here.
    They have spammed these forums in the past.
    The code on their pages is rarely 'best-practice' code.
    There are much better choices available.
    My co-worker and I have to share the files, since we are editing the site together. The files are not local on our computers, but on the company's f drive that have Novell on it.
    This arrangement is a recipe for disaster.  The correct way to collaborate on a site with a colleague is with the following setup:
    Each of you must have a LOCAL site (local to your workstation)
    You would use a single remote location as a staging area, so each of you would have a site definition that specifies your own workstation for the local site, and the same network shared location as the Remote site
    You will both need to enable Check In/ Check Out
    You will both have to agree to PLAY BY THE RULES!
    One (or both) of you will also need to have a second site defined that has the staging server as the local root folder, and would have the PRODUCTION server as the remote site.  I'll explain how to use this site soon.
    When you use CI/CO, your 'gold-standard files' are on the staging server.  To begin working, you would connect to the staging server, and double click on a file, which will a) fetch the file from the staging server to your local site, and b) CHECK OUT the file to you.  As long as you have the file checked out, it cannot be edited by your colleague.  When you are done with your edit, you would CHECK IN the file (which uploads it to the staging server).  It can now be edited by your colleague.
    When you add templates to this scenario, things get even more complicated, although manageable.  If you ever need to make a change to a template you must use the following procedure:
    ALL FILES MUST BE CHECKED IN - this includes both you and your colleague.
    One of you would connect with the SECOND SITE, open and edit the template, and save it propagating the changes to all "LOCAL" files (i.e., on the staging server).
    Each of you would then need to return to the FIRST SITE, and again check out any files you want to work on.
    When changes are done, and files are ready to publish, connect to the SECOND SITE, and upload the files from STAGING to PRODUCTION.
    Does that make sense?  It's important that it does.
    I need to add in one more tab/link to the Flash nav bar.
    Using Flash for navigation is a VERY POOR CHOICE, unless you also have redundant, text-based navigation on the pages.  By using Flash to navigate, you guarantee: a) your pages will not be spiderable by search engines, b) your pages will not be navigable by iPlatforms, and c) your pages will be inaccessible to anyone browsing with screen assistive devices.  Someone is making bad decisions about this site, in my opinion.

  • Highlight "current" page in CSS Dreamweaver TEMPLATE

    I have created 2 navigation bars (in my header) using an unordered list styled with CSS in a Dreamweaver Template that I created. Here is that template (in the template- the "Beads" link is styled as the current page): http://www.bfranklincrafts.com/Templates/MainTemplateM.dwt 
    I don't want the navbars to be editable in the pages that will be created from this template, so I was NOT planning on putting the navbars in editable regions. But now I'm realizing that if I don't put the navbars in editable regions, I won't be able to go in each link in my navbars to put the "current" style for each page.
    The idea of the template is wonderful because it allows us to create one template and from that template we can make changes that would be past down to all the pages that were created using this template. But if I have to put the navbars in editable regions, it means that if I have to make changes to the navbars, I'll have to go to each individual page to make those changes.
    I really want to show the "current" page that visitors are on, can anyone help!!!
    Liolee

    Hi,
    sorry to bring up an old post but I am having issues with this myself and hope you can help?
    I have coded my site as per your example but still no luck.
    It is an .asp site. and my menu looks like this:
    <ul id="nav">
        <li><a id="home" href="http://www.ampso.co.uk/index.asp"><img src="/images/nav1_gray.jpg" width="84" data-srcover="/images/nav1_full.jpg"></a></li>
        <li><a id="tech" href="http://www.ampso.co.uk/page/88/Technical.asp#.USOIoqWduS0"><img src="/images/nav4_gray.jpg" width="102" data-srcover="/images/nav4_full.jpg" class="wrap_right"></a></li>
        <li><a id="construction" href="http://www.ampso.co.uk/page/89/Construction.asp#.USOQLqWduS0"><img src="/images/nav5_gray.jpg" width="170" data-srcover="/images/nav5_full.jpg" class="wrap_right"></a></li>
        <li><a id="medical" href="http://www.ampso.co.uk/page/87/Medical.asp#.USOUeaWduS0"><img src="/images/nav3_gray.jpg" width="88" data-srcover="/images/nav3_full.jpg" class="wrap_right"></a></li>
        <li><a id="media" href="http://www.ampso.co.uk/page/90/Media.asp#.USOWQKWduS0"><img src="/images/nav6_gray.jpg" width="88" data-srcover="/images/nav6_full.jpg" class="wrap_right"></a></li>
        <li><a id="logistics" href="http://www.ampso.co.uk/page/91/Logistics.asp#.USOXdqWduS0"><img src="/images/nav7_gray.jpg" width="100" data-srcover="/images/nav7_full.jpg" class="wrap_right"></a></li>
        <li><a id="allsectors" href="http://www.paycoservices.co.uk/page/86/All-Sectors.htm"><img src="/images/nav2_gray.jpg" width="120" data-srcover="/images/nav2_full.jpg" class="wrap_right"></li>
        <li><a id="contact" href="http://www.ampso.co.uk/page/205/Welcome-to-Payco.asp#.USObtaWduS0"><img src="/images/nav9_gray.jpg" width="120" data-srcover="/images/nav9_full.jpg" class="wrap_right"></a></li>
    </ul>
    Now the issue arises with adding the code to the pages themselves. For example, if I go to the 'tech' page. I have no editable regions like I would with a html template (even though my main menu is in a top menu template which applies to each page) so I'm not sure exactly where to put the css code.
    Currently the top section of my 'tech' page looks like this:
    <%
    Bodystyle = "style='background:url(/images/bg-further-technical.jpg) center 0px no-repeat;'"
    %>
    <!-- #INCLUDE virtual= "/top.asp" -->
    <div id="further-banner" style="background:url(/images/technical-icon.png) 811px 9px no-repeat; ">
    <h1>Payco Technical  <span>It's your industry so why not do it your way?</span></h1>
    <p><b>You are here:</b>
    <a href="/index.asp">Home</a> /
    <a href='Payco-Technical.asp'>Payco Technical</a> /
    </p>
    </div>
    Now do I paste the css code into here? Or would it help if you saw my whole 'tech' page so you can see the rest?
    Any help would be greatly appreciated.
    Thanks

  • Suggestions to stop a flash banner reloading..

    Hi All
    i have a DW page template which has a flash banner in the
    header, from
    these i have built a site.
    i have just realised that when i navigate around the site the
    flash banner
    re loads each time the new page loads - which is a bit of a
    pain!
    so how can i stop this - i suppose i could use a frameset but
    i dont want to
    unless its the only option?
    maybe i could use a i-frame?
    any suggestions?
    thanks for any help
    keen to learn...

    That's a good idea, in my opinion. But as long as you use
    Flash, and you
    don't want it to restart on every page, they are your only
    options.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Keen to Learn" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi Murray
    >
    > Thanks for the input, i might re think / design this to
    try and avoid the
    > frame / i frame option
    >
    > thanks
    > keen to learn..
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Frames are your only option. And an IFrame is a
    frame.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Keen to Learn" <[email protected]>
    wrote in message
    >> news:[email protected]...
    >>> Hi All
    >>>
    >>> i have a DW page template which has a flash
    banner in the header, from
    >>> these i have built a site.
    >>> i have just realised that when i navigate around
    the site the flash
    >>> banner re loads each time the new page loads -
    which is a bit of a pain!
    >>>
    >>> so how can i stop this - i suppose i could use a
    frameset but i dont
    >>> want to unless its the only option?
    >>> maybe i could use a i-frame?
    >>>
    >>> any suggestions?
    >>>
    >>> thanks for any help
    >>>
    >>> keen to learn...
    >>>
    >>>
    >>>
    >>
    >>
    >
    >

Maybe you are looking for