Adding a third (down" behavior to my navigation buttons

Hello, I've designed my first two-state navigation bar using
DW-generated behaviors (Javascripts).
I have an "up" (inactive) graphic, and a "mouseover" graphic
working. I also have a "down" state
graphic created, but don't see how I would apply that in
Dreamweaver. This means I have to go
in and modify the nav bar on every page (swapping out the
"up" graphic for the down, as the default),
a real hassle.
I'd like to modify the Javascript so that the "down" state
button is displayed whenever
the browser address = the page's address (when you've landed
on that page).
I don't see a way to do that in DW, but perhaps there is a
way? Or would it require
manual JavaScript coding?
If I can get the third (down) state added to every button in
the nav bar, then I would be able to maintain
ONE nav bar and just replicate it on every page. What would
be the proper way to set that up, so changing the
nave bar one place would change it everywhere (without using
templates?).
The url is www.pulversbriar.com (the horizontal nav bar).
I've also attached the code for the table that the nav bar sets
in, on the "attach code" button.
I am going to have to rework my button graphics, don't like
the way they turned out (dark at the center when active),
but that is an easy task in Fireworks. I'm more concerned
with getting a single nav bar working first, per above.
Going to have to learn some Javascript coding... thanks in
advance for any help...
-steve

I think I may have figured out how to do (at least part of)
this in DW. My new
'nav bar code) is attached. I added a third behavior,
onMouseDown,
but the third ("down") graphic doesn't work reliably on all
buttons.
Wonder if I should have used the "onKeyDown" behavior
instead?
I want the darker button to display when you're on a page.
I manually copied the nav bar to each of the 10 pages. At
least it's now
the same for every page. But I would like to have a way
(without using
frames or templates) to keep the nav bar in one place, and
just "invoke"
or call it, on every page it's used.
I also fixed the button graphics... that was the easy part:)
Am I approaching this reasonably correctly, without getting
too fancy?
thanks....
-steve

Similar Messages

  • Windows 7 won't boot after adding a third partition with gparted

    I needed extra space on my bootcamp partition so I :
    1. resized macintosh hd partition with disk utility
    2.booted with gparted live disk and "growed" the bootcamp partition
    Now Windows doesn't boot. Any suggestions?

    Hi,
    your Topic says '...adding a third partition' whereas in your message you don't mention this third partition...
    So what is the right one ?
    Nonetheless you might have a look at EasyBCD http://neosmart.net/dl.php?id=1 to repair the Windows 7 bootloader.
    Regards
    Stefan

  • Adding Content To the Top-Level of Navigation bar ?

    Hi,experts ,
       i have a problem with adding content to the top-level of navigation bar ?
    I have the authority of administration.I have added a customizing role with the entry-point property to myself userid . I have checked my navigation-target page's property can be visible in top-level navigation. I checked my my display level is set as 2 .
       However ,i dont get the folder content at the top-level navigation.Anyway,when i check the delta link trace,there is no folder that connect to my role .
       Anyone helps me out ?
    Thanks in Advance .

    Hi Eleanor,
    If you already created a role with an entry point and assigned it directly to you user, you may just have to refresh the portal page. You may also check the authorizations of you role.

  • Adding a Third Display

    Hi,
    I run Apple 30" and 23" displays off an ATI 1900. These handle most of my 'real' work, but I still find I could do with more real estate for things like, iTunes, Safari, et al (i.e. low demand applications). What would be my best (not necessarily cheapest, but cheapest not to compromise my rig) option for adding a third display? Can I mix ATI and nVidia in the same machine without worries? Presumably, if I have a lower powered GPU for the third display, providing I keep the power apps on the original two, I don't lose any performance? (Incidentally, what are the impacts on performance if I ran, say Photoshop or Apertue's main winodws off the 1900, and the palettes off a lower powered card? Can't get my head round this).
    (BTW, I would probably be looking at another 23" ACD or maybe a Dell equivalent – if there is such a thing!).
    Thanks.
    David

    The best option would be to simply get a second ATi X1900 XT. Apple don't recommend mixing card so I wouldn't go for a cheaper Nvidia 7300 GT.

  • I have just added a third iPod touch to our family collection of devices and iTunes won't allow me to add any of the apps to it. I can add songs etc but not apps. Any ideas?

    Just added a third iPod touch to the family collection of devices and it won't allow me to ad apps from iTunes to the device. Can add songs though?

    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    iTunes 11 for Windows: Syncing overview
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    If you set up the iPod originally via wifi then this computer is not your syncing computer and thus you can't sync apps from that computer/library.
    To make this your syncing computer:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • Adding Navigation Buttons for Users of PDF Documents

    The default for Acrobat Reader (and even the Pro version)
    seems to leave the Forward and Back navigation buttons OFF the
    Acrobat Reader tool bar. You have to deliberately go into the Tools
    - Customize Tools menu and turn on these two buttons in order for
    them to appear in the tool bar. This creates problems for readers
    of your PDF documents if the readers of your documents aren't very
    computer savy. If you have links in your PDF document so readers
    can navigate around, not having the Forward and Back buttons up on
    the tool bar as a default makes these links almost useless. The
    reader has to know how to turn these two buttons on and some
    readers may not have a clue how to do that.
    My question: Is there a way to put 2 navigation buttons on a
    reader's toolbar AUTOMATICALLY when they open your document--ie,
    something embedded in the PDF doc that automatically turns these
    buttons on for the reader so they don't have to do it
    themselves?

    Thank you for your post. These forums are specific to the
    Acrobat.com website and its set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • What happened to the drop down menu on the navigation bar that showed previous pages visited? It was to the right of the "forward/back" arrows.

    To the right of the forward/back arrows there was a drop down arrow that would allow you to see the last several stops you had made after doing a search. This was very handy for going back and forth between articles, etc. '''I used it all the time and want it back. '''If this version of Firefox doesn't have it, please tell me how to download the previous version that did have it. Thanks.

    The Back/Forward button drop-down arrow marker was removed from Firefox.
    To get the tab history drop-down list, you can:
    *right-click the Back/Forward button
    *HOLD down the left-click mouse button on the Back/Forward button until the list appears (about 1 second)
    *Add back the drop-down marker by installing this Add-on: https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Navigation Buttons

    I downloaded a Flash template and I was able to edit the html
    files. But I am having difficulty linking the Flash navigation
    buttons to the other pages. For example, to index-2.html,
    index-3.html, etc. I went into Actions and typed this in the getURL
    line, but it does not work.
    Please help.

    Did you remember to set the button navigation? You can do this manually for each button by using the property inspector, or you can use the settings drop down list in the menu editor and select 'assign now' for the buttons.
    As for the first button - DVDSP considers that the first button you drew out will be the default button. If you then go and move it, change it to be the third in the list or whatever, DVDSP still points to this button... UNLESS you go into the property inspector for the menu (click on the menu background... not in a button or drop zone, or click on the menu icon in the disc layout window) and set the default button to be something else. Whatever has happened, go in and set the default button for the menu to be the first one in your list - or the one that you want it to be.

  • I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.

    I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.
    I saw this report being sent to Apple:
    Interval Since Last Panic Report:  581719 sec
    Panics Since Last Report:          10
    Anonymous UUID: F4CF708D-D85C-4EC5-8047-4FC22C6B03AF
    Fri Mar  7 13:00:14 2014
    panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff800020c590, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x0000000007541000, CR4: 0x0000000000040660
    RAX: 0xffffff8000000000, RBX: 0xffffff800d35a870, RCX: 0xffffff800cf55cd8, RDX: 0xffffff80008a8fcc
    RSP: 0xffffff805e5f3d60, RBP: 0xffffff805e5f3da0, RSI: 0x000000001dcd6500, RDI: 0xffffff800d168778
    R8: 0x0000000000000001, R9: 0xffffff805e5f3e88, R10: 0x0000000000000011, R11: 0x0000000000000000
    R12: 0x0000000000000000, R13: 0xffffff800d168770, R14: 0xffffff800d168778, R15: 0x0000000000000000
    RFL: 0x0000000000010082, RIP: 0xffffff800020c590, CS:  0x0000000000000008, SS:  0x0000000000000010
    Error code: 0x0000000000000000
    Backtrace (CPU 0), Frame : Return Address
    0xffffff805e5f3a00 : 0xffffff8000204d15
    0xffffff805e5f3b00 : 0xffffff80002d1208
    0xffffff805e5f3c50 :
    Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f99
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5)
    Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
    Serial ATA Device: Hitachi HTS545032B9A302, 298.09 GB
    Serial ATA Device: OPTIARC DVD RW AD-5970H
    USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x8509, 0xfa200000 / 3
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x821a, 0xfa113000 / 8
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0245, 0xfa120000 / 4
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd110000 / 3

    Hmm. The problem still may be the RAM - Apple buys the RAM it puts in its machines from third-party vendors (usually Hynix) so it could be a RAM problem.
    There are a couple of things that you can do yourself before taking your machine into an Apple Store or an AASP... download and run an application named Rember that will run a RAM test for you - let it run for a couple of hours or even overnight. If it turns out that your RAM is faulty, Rember will let you know. If it is faulty, then you have a couple of options - replace the RAM yourself or (particularly if you're under warranty still) take the machine to an Apple Store or AASP and have them replace the RAM.
    If Rember finds no fault with the RAM, then you'll need to take it into an Apple Store/AASP and get a free diagnosis on the machine. Three beeps do usually indicate faulty RAM, but if it tests good with Rember you likely have another problem - it could be something as simple as the RAM, somehow, not seated correctly or signs of another hardware problem.
    Run Rember first... call back with results.
    Good luck,
    Clinton

  • How do I create more than one navigation button in Adobe Fireworks CS6?

    Hi guys, 
    Apologies if this comes across as very stupid question. I am a complete beginner with Adobe Fireworks and I'm in the process of creating my first website and I have got to the stage where I want to create navigation buttons and the book I have recommends using Adobe Fireworks so I have downloaded. My problem I have encountered is after I have created my first two state button what is the next step to create another two state button which has the identical size and colour of the previous two state button?
    Here is a brief rundown of the steps I have done to do the first two state button:
    1) Edit-Insert-New Button
    2) Chose the rectangle and then specified the width and height of the button and chose my stroke and fill colour
    3) Centred the button and used the text tool to put the button as a 'Home' button for my website. I then went on Window and Align in order to centre the text on the button
    4) I went on Select-Select All and then went on Windows-States to open the states panel. I right clicked on state 1 which is Up and clicked on copy to states. I then selected the next state radio button and clicked OK.
    5) I selected State 2 and slightly modified it by changing the colour of the text.
    6) I then clicked the back button to return to the main window.
    After this what step should I take to create my another button which has the same size, colour and text style as I have created for the first button? I tried just repeating these steps again but when I do step 1 it creates a new fireworks document which means I have to create the buttons size, colour, text style from scratch.
    Your help would be greatly appreciated guys and once again I do apologise if this comes across as a silly question.
    PS Please could you let me know if the steps I have taken to create the 1st two state button are correct

    Initially you need to configure via the provider's own web based control panel multiple e-mail accounts. If they don't have one, work it out with their customer support to have three distinct mail accounts. Then you can setup multiple logins by adding new accounts to mail. Since mail checks all accounts per Mac OS X user account simultaneously, it probably is best to use different usernames on the same internet provider. If you don't want mail to show all the information from all three mail accounts simultaneously, configure Apple menu -> System Preferences -> Accounts to have multiple users on your computer, and configure each of the internet service provider accounts for each separaet user on Mac OS X.
    Message was edited by: a brody

  • Help with Re-Linking Navigation Buttons

    I have Adobe Flash CS3 Pro.
    I have a navigation header flash file that came with my website template and I am having difficulty making sense of the actionscript. It has a logo section with effects, 5 main nav buttons that move, and two extra link buttons above the navigation bar. Let’s focus on just the Navigation buttons for now. Here is what I have gathered. I have multiple text buttons on one movieclip, and I have successfully edited the text for each button. If I look at the actionscript in the top layer of this movieclip I see:
    “gotoAndStop(parent._parent.num);”
    I also have a separate movieclip symbol (with effects) with 5 buttons layers listed in the actionscript with the following actionscript tied to each button from numbers 1 through 5:
    onClipEvent (load) {
                num=1;
    onClipEvent (load) {
                num=2;
    onClipEvent (load) {
                num=3;
    onClipEvent (load) {
                num=4;
    onClipEvent (load) {
                num=5;
    On the top layer of these 5 buttons I have the following actionscript:
    stop();
    this["item"+_root.button].gotoAndPlay("s1");
    _root.link = _root.button;
    I also have a separate button symbol with the following actionscript:
    on (rollOver) {
                if (_root.link<>1) {
                            menu.item1.gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
                if (_root.link<>1) {
                            menu.item1.gotoAndPlay("s2");
    on (release) {
                if (_root.link<>1) {
                            _root.menu["item"+_root.link].gotoAndPlay("s2");
                            _root.link = 1;
                            getURL("index.html");
    Now my website template came with 5 html pages that my flash navigation buttons correspond to: (index.html, index-1.html, index-2.html, index-3.html, index-4.html, index-5.html). My problem is that I have created new pages (index.html, about.html, featured.html, projects.html, contact.html). I would like each of the 5 buttons to correspond to these pages, not the existing standard “index-n.html” pages. 
    Also, this is probably not relevant, but each html page has something to this affect so I can see how they correspond to each button.
    <script type="text/javascript">
              var fo = new FlashObject("flash/menu_vf8.swf?button=2", "head", "100%", "144", "7", "");
              fo.addParam("quality", "high");
                        fo.addParam("wmode", "transparent");
                            fo.addParam("scale", "noscale");
              fo.write("head");
            </script>
    I guess my real question is: What actionscript do I need to update or remove for the nav button LINKS to work with my new html pages rather than the standard 5 index-n.html pages that it automatically wants to link to?
    When I try and add a “getURL” command to each of the 5 buttons and test preview the movie, the links work, but it messes up the effects of the movieclip. In other words, the buttons don’t move, they are motionless, however the links work. If I added this command to each button in some way, what actionscript would I need to remove so there weren’t any complications? I need some expert help here for it would be much appreciated. I am a novice with Flash script and its killing me that I can’t figure it out. I asked for help from the template support and all they came back with was the following message and it wasn’t helpful:
    You need to duplicate each button you are editing - it is very important.
    2) Update the scripting to look similar way:
    on (release) {
    if (_root.link<>num) {
    _parent["item"+_root.link].gotoAndPlay("s2");
    _root.link = num;
    if (num == 1) {
    getURL("index.html");
    } else {
    getURL("index-"+Number(num-1)+".html");
    Update it to:
    on (release) {
    getURL("http://www.google.com");
    Also, I read through the following discussion, which was helpful to a degree, but it still didn’t answer my questions about getting the links to work.
    http://forums.adobe.com/message/3614092#3614092

    First of all, thank you for showing interest and helping out in my dilemma here. I wish I understood your meaning behind “on” because with my luck there is probably some hidden way of placing script on an object that I don’t understand or haven’t discovered yet.
    This is what I know:
    I have multiple text buttons on one movieclip entitled “textbutton1” (see previous picture), and I have successfully edited the text for each button and created two extra frames/buttons to make 7 total. If I look at the actionscript in the top layer of this movieclip I see:
    “gotoAndStop(parent._parent.num);”
    But there is no action on each individual frame (all 7 of them) on that layer.
    Like I mentioned before I have a separate movieclip symbol (entitled “menu effect”) with 7 button movieclip layers listed in the actionscript with the following actionscript on each layer.
    onClipEvent (load) {
                num=1;
    onClipEvent (load) {
                num=2;
    onClipEvent (load) {
                num=3;
    onClipEvent (load) {
                num=4;
    onClipEvent (load) {
                num=5;
    onClipEvent (load) {
                num=6;
    onClipEvent (load) {
                num=7;
    On the top layer (layer 4 frame 25) of these 5 buttons I have the following actionscript:
    stop();
    this["item"+_root.button].gotoAndPlay("s1");
    _root.link = _root.button;
    I can upload another particular image of the movieclip/actionscript if it would be helpful. Let me know.

  • Export a pdf to a swf file with navigation buttons???

    I have CS4 and I've tried to export a couple indesign files using the swf export feature, but it the navigation of the file is very weak and not very intuitive, and when you zoom in to any of the text the text goes fuzzy.
    I would like to just convert a PDF to SWF file with navigation buttons, page controls, zoom in/out, single or two page view options, so that my end user can view it with the free flash player, but I don't have time to build the file in Flash and I don't want to use an online service that comes with a per month or per publication fee.
    Any suggestions??

    I've looked at that, but most of the pdf's that I need to convert are more than 10 pages.  I want a program I can download, install and use without a per use cost, or per publication cost.
    I'm looking more for a plug-in for either Acrobat, or Indesign or stand alone program that would convert them without adding copyrights, or ads to the file.

  • Help please with my navigation buttons

    Can anyone please help me with my vertical navigation buttons. I'm trying to set up my nav bar so that all the buttons have a background image (button.jpg) behind them at all times and the only thing that changes when touched or the mouse rolls over them is that the colour of the text changes, except when the sub buttons appear, because the name of some of the sub buttons are so long i have created another button image that is longer (button2.jpg), i only want this to appear on sub buttons otherwise the buttons will end up taking most of the pages space. I'm having great difficulties getting the sub buttons to appear with the correct image (button2.jpg) and am getting increasingly frustrated with it, can anyone please help!!!
    www.milesfunerals.com/index2.html

    index2.html is a broken link for sure. The main index page looks like it's working fine.
    A little styling critique if it's okay... Personally I'd have gone with a CSS or Javascript multi-level menu across the bottom of the header. Saves visitors from having to scroll all the way down the page to see every menu item. And I'd rethink the color of the "Miles & Daughters" in the header image. It kinda gets lost in the roses.
    If you have a link to the "broken" page please put it up so we can analyze it.

  • Add navigation buttons on top of every scene

    Hello,
    I've got a Flash movie with quite a few scenes and I'd like to add navigation buttons (prev\next) with AS3 to move from scene to scene.
    Sounds easy but...
    If I write this on first frame of first scene :
    this.addChild(play_btn);
    buttons will appear OK on this first scene but will disappear under objects of the second scene
    If I change to
    stage.addChild(play_btn);
    button will appear OK over every scene but, as my SWF is loaded in an e-learning software that produces SWF, the buttons will remain on the "stage" of every slide of the final module ! I can't remove them when the user changes slide because I can't run AS3 when changing slide...
    Is there way of adding the buttons "inside" my movie but on top of everything that might appear afterwards ? No more depth or Z order in AS3 ?
    Thanks.
    Please don't tell me using scenes is bad because I've been using them for years and I've always read that all scenes become a long timeline at runtime. They're just very handy to me.

      I believe in AS1/2 you can set a depth at any value.
    Yes ! And that would have been handy here... not clean, but handy !
    Here's what I did so far :
    I added the buttons to the root and found a function that did the trick, called with a timer :
    var play_btn:mcBtnPlay = new mcBtnPlay();
    Object(root).addChild(play_btn);
    function moveToTop(child:DisplayObject):void {
      (child.parent != null) ? child.parent.setChildIndex(child, child.parent.numChildren-1) : null;
    function timerListener(e:TimerEvent):void {
      moveToTop(play_btn);
    The only problem is that the buttons will flash on screen at scene change because the of the timer interval, but you can think it's on purpose (visual clue) .
    Don't know if there's a more clever way to detect scene change apart from some code on each first frame of scenes ?

  • How to get the page navigation buttons back at the bottom of the page?

    After upgrading to Acrobat X I discovered that there is only one option for the page navigation buttons - at the upper left. I'm mystified as to why they put them there. Most users are right-handed. With the buttons at upper left it's awkward to reach up there, across the page, with the mouse cursor for every page turn (yeah, I know you can use the PgUp/PgDnkeyboard keys, but that requires taking your hand off the mouse every page turn).
    What I really want is to be able to put a copy of these buttons back down at the bottom center of the page, which was an option in previous versions. Is there some way to get those back at the bottom?

    Hi terpenoid,
    Have you tried Read Mode yet ( under the View menu)?  It displays a nivagation bar at the bottom of the PDF with next/previous page, zoom in/out, etc.
    Hope this helps,
    Dimitri
    WindJack Solutions
    www.windjack.com
    www.pdfscripting.com

Maybe you are looking for