LinkBar rollOver Issues

One of the issues I’m having is that my rollOvers won’t initiate until the LinkButtons on the LinkBar  have been clicked. Does anyone know why? Also, I have my sub-menus displaying when  a LinkButton is clicked. I need to know how to make the selected  LinkButton’s sub-menu disappear when another LinkButton is rolled over and display  its sub-menu. Then on rollOut I need the selected LinkButton’s sub-menu to  reappear. Can someone please help? Thanks in advance. My code is below.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#000000" layout="absolute" width="1400">
      <mx:Style>
        LinkBar
            linkButtonStyleName: myCustomLinkButtonStyleName;
            fontFamily: Verdana;
        .myCustomLinkButtonStyleName
            cornerRadius: 0;
            fontWeight: normal;           
    </mx:Style>
      <mx:Script>
            <![CDATA[
                  import mx.rpc.events.ResultEvent;
                  import mx.controls.*;
                  import mx.events.*;
                  import mx.collections.XMLListCollection;
                  import mx.rpc.events.FaultEvent;
                  import mx.rpc.events.ResultEvent;
                  import flash.filters.GlowFilter;         
                  import mx.managers.PopUpManager;
              import mx.containers.TitleWindow;
              import mx.core.IFlexDisplayObject;
                  import mx.skins.*;
                  import flexlib.skins.*;
              import mx.managers.SystemManager;
                  private function accOver(event:MouseEvent):void
                        if(event.target.label == "Accounts")
                              accounts.visible = true;
                              invoicing.visible = false;
                              moveMoney.visible = false;
                              customers.visible = false;
                              reports.visible = false;
                              maintenance.visible = false;
                              nta.visible = false;
                              mail.visible = false;
                  private function accOut(event:MouseEvent):void
                        if(event.target.label == "Accounts")
                              accounts.visible = false;
                private function inOver(event:MouseEvent):void
                        if(event.target.label == "Invoicing")
                              accounts.visible = false;
                              invoicing.visible = true;
                              moveMoney.visible = false;
                              customers.visible = false;
                              reports.visible = false;
                              maintenance.visible = false;
                              nta.visible = false;
                              mail.visible = false;
                  private function inOut(event:MouseEvent):void
                        if(event.target.label == "Invoicing")
                              invoicing.visible = false;
                  private function moveOver(event:MouseEvent):void
                        if(event.target.label == "Move Money")
                              accounts.visible = false;
                              invoicing.visible = false;
                              moveMoney.visible = true;
                              customers.visible = false;
                              reports.visible = false;
                              maintenance.visible = false;
                              nta.visible = false;
                              mail.visible = false;
                  private function moveOut(event:MouseEvent):void
                        if(event.target.label == "Move Money")
                              moveMoney.visible = false;
                  private function customersOver(event:MouseEvent):void
                        if(event.target.label == "Customers")
                              accounts.visible = false;
                              invoicing.visible = false;
                              moveMoney.visible = false;
                              customers.visible = true;
                              reports.visible = false;
                              maintenance.visible = false;
                        nta.visible = false;
                        mail.visible = false;
                  private function customersOut(event:MouseEvent):void
                        if(event.target.label == "Customers")
                        customers.visible = false;
                  private function reportsOver(event:MouseEvent):void
                        if(event.target.label == "Reports")
                        accounts.visible = false;
                        invoicing.visible = false;
                        moveMoney.visible = false;
                        customers.visible = false;
                        reports.visible = true;
                        maintenance.visible = false;
                        nta.visible = false;
                        mail.visible = false;
                  private function reportsOut(event:MouseEvent):void
                        if(event.target.label == "Reports")
                        reports.visible = false;
                  private function maintenanceOver(event:MouseEvent):void
                  if(event.target.label == "Maintenance")
                        accounts.visible = false;
                        invoicing.visible = false;
                        moveMoney.visible = false;
                              customers.visible = false;
                              reports.visible = false;
                        maintenance.visible = true;
                        nta.visible = false;
                        mail.visible = false;
                  private function maintenanceOut(event:MouseEvent):void
                        if(event.target.label == "Maintenance")
                        maintenance.visible = false;
                  private function ntaOver(event:MouseEvent):void
                  if(event.target.label == "NTA")
                        accounts.visible = false;
                        invoicing.visible = false;
                        moveMoney.visible = false;
                        customers.visible = false;
                        reports.visible = false;
                        maintenance.visible = false;
                        nta.visible = true;
                        mail.visible = false;
                private function ntaOut(event:MouseEvent):void
                        if(event.target.label == "NTA")

I checked the link and I'm still confused as to what the guy did to solve the problem. What did you do to fix the issue?

Similar Messages

  • Button rollover issue

    Download zipped
    FLA
    If anyone is bored, I'm having a problem with a rollover
    issue in the above movie that I have been creating. It is an
    interactive, navigable map of city parks. Rollover of the
    individual dots marking park locations on the map works fine. But I
    am also trying to list all the parks' names on the right, where you
    see the "Bergen Park" button. This is so that the user can either
    mouse over the map locations and see the park name
    OR
    find where the park is located by mousing over the park name
    on the right. I want this "Bergen Park" button to cause a section
    of the movie clip that has an instance name of "bergen" to play,
    making the Bergen Park dot on the map enlarge when the "Bergen
    Park" button is moused over. I thought that this actionscript would
    do it:
    on (rollOver) {
    _root.bergen.gotoAndPlay("11");
    on (rollout) {
    _root.bergen.gotoAndPlay("19");
    But it is not working when the movie loads. Only if I mouse
    over the Bergen Golf Course dot on the map does the "Bergen Park"
    button start acting like a button. Otherwise it just gives me a
    text cursor when I mouse over the "Bergen Park" button. Any help
    would be much appreciated!
    Kevin

    had a look at your fla and didn't quite work out exactly what
    was "working fine" for you. a few comments on your code:
    1. don't you need a stop action on frame 92 ? otherwise it
    continues looping.
    2. flash is case sensitive - be careful of this - on
    (rollout) might work even though the correct syntax is on(rollOut),
    but this is because the on handler is ancient syntax (pre dot
    syntax). most flash syntax requires you to have the syntax
    case-correct.
    3. Why is each of your dot clips inside a group? They were
    very difficult to find. I can't think of a reason for them to be
    inside groups, so I'd recommend selecting all of them and breaking
    the group apart so that you can see where they are!
    4. The way you've structured your flash file has redundancy
    and is going to be a nightmare to make changes to. Imagine if you
    or your client decides that they want the dot to pulse twice when
    you rollover it. You're going to have to make that small change 42
    times. Or even imagine if a URL changes for one of the buttons.
    There is a unique line of action-script to open that URL on every
    key-frame within the dot movie-clip. so changing a URL would
    require making that change on 6 keyframes, let alone the park name
    reference to it that you are building on the right. The minimum I
    would suggest you do is to have only one movieclip which contains
    the animation of the dot pulsing, and then for you to put the
    button event handlers on those movieclips, rather than inside those
    movieclips. There are even better ways you could go about this, (by
    storing the urls and titles in arrays, or even xml, and then
    placing the event handlers on the movieclips via their instance
    names on one frame of action-script), but this would at least
    remove your redundancy.
    5. but i digress... to return to your question - the text
    cursor appears not when you point to the bergen park button but
    when you point to the area between {2, 0} and {502, 20}, because
    this is where you created a dynamic text field:
    _root.ToolTip.createTextField("TipText", 2, 2, 0, 500, 20);
    _root.ToolTip.TipText.type = "dynamic";
    add this line after the above code:
    _root.ToolTip.TipText.selectable=false;
    and your problem should be fixed...

  • Fireworks Rollover Issues & Browser Compatability!!

    I am working on a beta site, and it has been looking great.... until last night. Now the fireworks html portion I inserted (the rollover image box) is a few pixels askew, and what's worse,while it looks good in Firefox, IE and Chrome, the entire site looks like garbage in Safari.  I'm not a HTML/CSS genious by any stretch and have spent a ton of time trying to get it to this point. PLEASE HELP!!
    Page: www.flagfootballninja.com/superyouth/total.html
    (An excerpt of the rollover code on a new page all by itself works great, but embedded on the Total.html page, it gets all crazy)
    Max

    Well, your disjointed rollover looks borked in Firefox as well. In your stylesheet you have this:
    td {
    color:#4F6B72;
    padding:6px 6px 6px 12px;
    text-indent:20px;
    I removed the text-indent, and the alignment issue went away. I'm not sure if that'll fix your Safari issue, but it corrected the Firefox bug.
    The bigger issue is how you're approaching that "What's included" box. There's no reason to use tables, or images for the text there. I'd recommend you setup a JavaScript slider or something to that effect.

  • TileList rollover issues

    So I'm new to flex and I might be completely missing something here but the rollover effect on my tilelist just isn't working. Basically when I move my mouse over the TileList the last viewable item is always highlighted, not the item the mouse is over. I'm using data pulled down from Salesforce to populate the tilelist but that shouldn't have anything to do with the display issue, right?. Am I incorrectly using the titlelist component?
    [My application code]
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:salesforce="http://www.salesforce.com/" layout="absolute"  applicationComplete="init()">
        <salesforce:Connection id="force" serverUrl="https://test.salesforce.com/services/Soap/u/16.0"/>
        <mx:Script>
            <![CDATA[
                import com.salesforce.objects.SObject;
                import com.salesforce.objects.Base64;
                import mx.collections.ArrayCollection;
                import com.salesforce.AsyncResponder;
                import com.salesforce.objects.LoginRequest;
                import com.salesforce.results.LoginResult;
                import com.salesforce.results.QueryResult;
                [Bindable]
                private var employees:ArrayCollection;
                // Initalize
                private function init():void {
                    login();
                private function login():void {
                    var lr:LoginRequest = new LoginRequest();
                    lr.username = "get your own";
                    lr.password = "not telling";
                    lr.callback = new AsyncResponder(loginResponder);
                    force.login(lr);
                // Salesforce login callback
                private function loginResponder(result:LoginResult):void{
                    if (result.sessionId != null){
                        force.query("Select btydev__Picture_Id__c, Department__c, FirstName, LastName, Title, Phone, Email, Hire_Date__c From Contact Where Account.Name = 'A.W. Hastings'",
                            new AsyncResponder(getAllEmps_queryResponder));
                // Salesforce query all employees callback
                private function getAllEmps_queryResponder(result:QueryResult):void {
                    employees = result.records;
                    // get an array of attachment ids to pass to the retrieve call
                    var attachmentIds:Array = new Array();
                    for (var i:int = 0; i < employees.length; i++) {
                        if (employees[i].btydev__Picture_Id__c != null) {
                            attachmentIds.push(employees[i].btydev__Picture_Id__c);
                    force.retrieve("Id, Body","Attachment", attachmentIds, new AsyncResponder(getAllEmpsPhotos_responder));
                private function getAllEmpsPhotos_responder(result:Array):void {
                    for (var i:int = 0; i < result.length; i++) {
                        if (result[i] != null) {
                            var sObj:SObject = result[i];
                            for (var j:int = 0; j < employees.length; j++) {
                                if (employees[j].btydev__Picture_Id__c == sObj.Id) {
                                    if (sObj.Body != null){
                                        employees[j].btydev__Picture__c = Base64.decode(sObj.Body);
            ]]>
        </mx:Script>
        <mx:Panel>
            <mx:TileList id="empList" dataProvider="{employees}" width="100%" height="100%" selectable="true" maxColumns="3" itemRenderer="myComponent" >
            </mx:TileList>
        </mx:Panel>   
    </mx:Application>
    [My component code]
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Panel title="{data.FirstName} {data.LastName} | {data.Title}" width="320" paddingBottom="2" paddingLeft="2" paddingRight="2" paddingTop="2">
            <mx:Label text="{data.Department__c}" fontWeight="bold"/>
            <mx:HBox>
                <mx:Image source="{data.btydev__Picture__c}" width="75" height="75" horizontalAlign="center" />
                <mx:VRule height="60"/>
                <mx:VBox>
                    <mx:Label text="{data.Phone}"/>
                    <mx:LinkButton label="{data.Email}"/>                    
                    <mx:Label text="Employee since {data.Hire_Date__c}"/>
                </mx:VBox>
            </mx:HBox>
        </mx:Panel>
    </mx:Canvas>

    Hi,
    I don't have the time to read all that but I can point you into a direction: from what I understand, in essence you want to disable the default behavior of the TileList when rolling over and item or something. This should be done by calling preventDefault(); from the rollOver handler ( or itemRollOver and so on ). By calling preventDefault, you should be preventing default behavior and you can then call your own focusing method ( or whatever you might want to call/do ) to get the desired behavior.
    Hope it helps,
    Barna Biro

  • Flex 3 DataGrid Cross rollover issue

    Flex 3 DataGrid Control - How can i set cross rollover (Row & Column) in my datagrid ?

    I'm not sure what that means.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Firefox rollover issue

    I have a PNG image that i intend to use as a "CLICK HERE"
    button. When I connect a link to the image either dreamweaver or
    firefox is adding a yellow border as a rollover to this image,
    however in Safari the button works as intended. Another result of
    the rollover is that the image is now enlarged slightly an no
    longer lines up accurately with the cell above.
    Thanks for any help you guys can give me.
    -Adam
    here's the link:
    http://www.vsnfoto.com/products/teamportraits/youth.html

    VSN Larry wrote:
    > I have a PNG image that i intend to use as a "CLICK
    HERE" button. When I
    > connect a link to the image either dreamweaver or
    firefox is adding a yellow
    > border as a rollover to this image, however in Safari
    the button works as
    > intended. Another result of the rollover is that the
    image is now enlarged
    > slightly an no longer lines up accurately with the cell
    above.
    > Thanks for any help you guys can give me.
    >
    > -Adam
    >
    > here's the link:
    http://www.vsnfoto.com/products/teamportraits/youth.html
    >
    Hi,
    try adding....
    a img {border:none;}
    ...to your stylesheet
    HTH
    chin chin
    Sinclair

  • Image Rollover issues with IE

    I am working with CS4 and trying to do a simple image rollover exercise for a class I am taking,  I have selected the initial image and the replacement image and a link.  When I go to view the image rollover does not work but the link does.  I veiwed in Firefox and Opera and the rollover works as expected.
    Any Ideas?

    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body onload="MM_preloadImages('images/triangle.gif')">
    <p><a href="http://www.trilateral.org" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('trilateral','','images/triangle.gif',1)"><img src="images/square.gif" name="trilateral" width="84" height="83" border="0" id="trilateral" /></a></p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    </body>
    </html>
    Here is the code, it works in Opera and Firefox but the mouseover changing to the square to a triangle does not work in IE but the link works.
    Appreciate any insight you can provide.
    Ron

  • Rollover issue

    I'm a relative Dreamweaver novice. I have produced an html
    file and slices via "save for web" from Illustrator. From there, I
    am able to create buttons and rollovers in Dreamweaver (selecting a
    cell, clearing it, choosing select rollover images and then
    defining the source gifs to create the two button states). Works
    fine! Here's the problem: I want the file to be centered in the
    browser window, so I then select the the table containing all
    elements of the layout, go to "align" and choose "center". From
    that point on, the rollovers do not work - not even if I re-insert
    and define them. Any help would be appreciated.

    Hi there
    Unfortunately that's a bug with Rollovers and clickable areas. It's been around since version 1 I think.
    All I can suggest here is to:
    Just learn not to use Rollovers with Clickable areas if this bothers you
    Report it to the Adobe developers so it can be factored into the next release. (they are always working on the next release) The link is in my sig.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Firefox button rollover issues

    Strange one... I have a flash file that works in every browser, except Firefox.  In Firefox, it appears that the Y coordinate is "off". You can only use the button when you are approximately 200 pixels down the screen.  I've tested in Chrome, Safari and IE 7 with no problems.  Any ideas?  FYI..the only other info I've been able to find may point to wmode, which in this case I have to set it to transparant so the drop down boxes above the flash movie stays "over" the video.  Here is the link.
    http://www.kucourses.com/ec/media/store/mediate/ED532/ED532_9/unithome_tutorial.html
    Any ideas?

    chrisrubal,
         Interesting.  When I test that URL, the button seems just fine for me in Firefox.  The hotspot is positioned exactly where it makes sense (same for IE, Chrome, and Safari, all on Windows).  Does this issue persist for you when you clear your cache in Firefox?
    > the only other info I've been able to find may point to wmode,
    > which in this case I have to set it to transparant so the drop
    > down boxes above the flash movie stays "over" the video
         A setting of "transparent" does allow Flash content to appear under other HTML elements, but you really only need "transparent" when the Flash content includes transparency.  WMODE is known to be a bit dicey (has been since its introduction), but anecdotal evidence suggests that "opaque" is a bit less problematic, and both of those -- transparent and opaque -- let your layer your SWFs behind CSS menus.
         Not sure if WMODE is the cause for your issue, but opaque is worth a shot.
         Here's a bit more info:
         http://www.quip.net/blog/2006/flash/how-to-position-flash-beneath-other-content
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/dpsFoundationFlashCS4
    "Luck is the residue of good design."

  • Submenu rollover issue

    Hi guys,
    I have a question. In an animation I am working on, I have a
    menu which I load via an xml file.
    The problem I have is that when I move the mouse away or I
    click on a link in the submenu, it does not clear itself and stays
    on active. How can I make this work?
    When I add
    clear_child(inview); to
    function menuchild_init, that removes the links in the
    submenu when it's clicked, but the background of the submenu
    remains active and on top of the animation.
    What changes to the function are needed to remove the
    background too?
    The script is below:

    That worked, also using the X and Y positioning on the top toolbar worked. But, for me anyway, if I go back in and edit anything on the submenu (double click, change text, etc.), it reverts back to where it originally was.. connected to the bottom of the bounding box. Then have to go back and position again. Not a huge issue, just a nuisance thing that should be addressed.
    Thanks for the speedy response

  • Rediculous Rollover Issue

    I am at wits end. The most recent rollover I made just will
    not work. Images checked, code verified...deleted and rebuilt.
    Rollover have a unique name. Verified images again. Checked code
    again. Zip, Zilch, Nada, Nothing. I can only assume that something
    in the JS is wrong? I have no idea what it is. So here it is....
    Page images are on the
    upper right hand side, English and German Flags, should get much
    brighter as you rollover them.

    Change this -
    function MM_preloadImages() { //v3.0
    to this -
    function MM_preloadImages() { //v3.0
    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
    ==================
    "Qozmiq" <[email protected]> wrote in
    message
    news:g0jtdg$os1$[email protected]..
    > Yes, I see that as well. I am just not sure how to
    resolve it. The
    > images are where they should be, the paths are correct.
    I just don't know
    > what to at this point.

  • Year end rate rollover issue (Retained Earnings)

    HFM Retained earnings Showing wrong values after the years end(For January). It is happening for all parent entities at local currency total level(Entity Curr Total) but if we look at USD total values it is showing right values.. 
    Thanks,
    Mo

    BBeloware the rules scriptswritten in the Rule file.... 
    If pov_year > "2009" Then
                   HS.Clear "A#35100"
                   HS.EXP "A#35100.I#[ICP None] = A#RetainedEarnings.I#[ICP Top].Y#Prior.P#Last.V#<Entity Curr Total>"
    '                     Balancing Account and Equity Translation Adjustment                                          *
    'This occurs at the default currency if the assets do not equal liabilities and equity.
             ElseIfHS.Value.IsTransCur Then
                HS.Clear "A#35200.I#[ICP None]"
                HS.Exp "A#35200.C1#[None].I#[ICP None] = A#NetIncm.C1#TotC1.W#YTD.I#[ICP Top]"
                HS.Clear "A#35100"
                HS.EXP "A#35100.I#[ICP None] = A#RetainedEarnings.I#[ICP Top].Y#Prior.P#Last" ' + A#EquityAdj_35100.I#[ICP Top].V#<Entity Curr Total>"
                HS.Clear "A#CTA"
               If pov_entity <> "ElimCAN_TOT" Then
                HS.EXP "A#CTA = A#TotalAssets.I#[ICP Top] - A#TotalLiabStock.I#[ICP Top]"
                End If
            End If 'HS.Value.IsTransCur
    Else 'Not a base level entity
    '                     Balancing Account and Equity Translation Adjustment                                          *
    'This occurs at the default currency if the assets do not equal liabilities and equity.
          If HS.Value.IsTransCur  Then
    '      Call WriteToFile ("Entity " & pov_entity & " for Value " & pov_value & " is a Translated Currency.Parentis " & HS.Parent.Member & "; Parent's currency is " & HS.Parent.DefCurrency(""))
             HS.Clear "A#35200.C1#[None].I#[ICP None]"
             HS.Exp "A#35200.C1#[None].I#[ICP None] = A#NetIncm.C1#TotC1.W#YTD.I#[ICP Top]"
             HS.Clear "A#35100"
             HS.EXP "A#35100.I#[ICP None] = A#RetainedEarnings.I#[ICP Top].Y#Prior.P#Last"
             HS.Clear "A#CTA"
             If pov_value = "USD" Then
              HS.EXP "A#CTA = A#TotalAssets.I#[ICP Top] - A#TotalLiabStock.I#[ICP Top]"
      End If
          End If 'HS.Value.IsTransCur
    End If 'Base versus Parent entities

  • Dreamweaver Rollover Issue

    Hi,
    I usually don't have problems with rollovers since I use
    Dreamweaver to make them but for some reason this one is stubborn
    and won't work?? The print page one?
    http://www.southbeachgroup.com/maps.html
    Anyone know what's wrong?
    Thanks,
    Allie

    Something is interfering with those functions being found.
    Try moving them above that popup script.
    Change this -
    <script language="JavaScript" type="text/javascript">
    <!-- Idea by: Nic Wolfe ([email protected])
    -->
    to this -
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a
    )&&x.oSrc;i++)
    x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length;
    i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
    d.MM_p[j++].src=a
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++)
    x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers
    .document);
    if(!x && d.getElementById) x=d.getElementById(n);
    return x;
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
    Array;
    for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
    if(!x.oSrc)
    x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <script language="JavaScript" type="text/javascript">
    <!-- Idea by: Nic Wolfe ([email protected])
    -->
    and see if that helps.
    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
    ==================
    "allielopez" <[email protected]> wrote in
    message
    news:g14i3k$ni0$[email protected]..
    > How can I fix that? The code is where Dreamweaver always
    puts it..In the
    > "head" tag??

  • Compound rollover issue, not restoring

    Hi all, this is my first time posting but I really hope someone can answer this for me.
    I have a page that is meant to be a short term placeholder and is instead turning into a long term nightmare!
    http://www.chuckaguila.com/dw_index03.html < you can see the page here, I have compound rollovers and they're triggering beautifully but for some reason, the triggered event won't restore.  I have image restores for both and have tried changing several things but nothing helps.  I'm sure this must be something simple I'll kick myself for later, but for now I've lost way too much productivity on this problem!
    Thanks in advance for any suggestions!
    Best,
    Sherry

    This is what would be called 'mystery meat navigation'.  You have to mouse around to find the places where you can trigger something to happen - there is no obvious clue to where that might be.  I don't like it.
    Notice that actually part of the restore is working.  It's the disjoint rollovers that are not restoring when you mouse off the active trigger.  You can fix that by explicitly adding an onmouseout image swap to swap the disjoint image BACK to the original.  In addition, you should always apply behaviors to images by applying them to the anchor tag that surrounds the image.  Select the image, then on the Quick tag selector click on the <a> that is to the left of the <img>, now apply the behavior.  Your rollovers would then look like this -
    <a href="mailto:[email protected]" onmouseover="MM_swapImage('initial_view_r2_c1','','Images/current/email_r2_c1.png',1);MM_ swapImage('initial_view_r4_c4','','Images/current/email_r4_c4.png',1)" onmouseout="MM_swapImgRestore();"><img src="http://www.chuckaguila.com/Images/current/initial_view_r4_c4.png" alt="" name="initial_view_r4_c4" width="264" height="184" border="0" id="initial_view_r4_c4" /></a>
    and you would have the additional benefit of the pointer cursor being used for that trigger rather than the default arrow.
    Your explicit onmouseout code would then look like this -
    <a href="mailto:[email protected]" onmouseover="MM_swapImage('initial_view_r2_c1','','Images/current/email_r2_c1.png',1);MM_ swapImage('initial_view_r4_c4','','Images/current/email_r4_c4.png',1)" onmouseout="MM_swapImgRestore();MM_swapImage('initial_view_r2_c1','','http://www.chuckaguila.com/Images/current/initial_view_r2_c1.png',1)"><img src="http://www.chuckaguila.com/Images/current/initial_view_r4_c4.png" alt="" name="initial_view_r4_c4" width="264" height="184" border="0" id="initial_view_r4_c4" /></a>
    If you are going to be using table layout you should read this - http://www.apptools.com/rants/spans.php

  • Problems exporting rollover 'states' into Dreamweaver, and loss of font formats

    Hi
    I am quite new to Fireworks and am having a little difficulty with some aspects of it.
    I am building a miltiple page site, and am exporting using the the 'export CSS and Images' option from Fireworks CS4 to Dreamweaver CS4.
    I have applied some 'swap image behaviour' to the links on the Master Page.
    However When I try to export to Dreamweaver I get the following message:
    "Only sliced images from the current state will be included in this export. Hotspot and behaviour attributes will be ignored."
    Obviously I want the states (swap image) functionality to be exported so that the javascript rollovers work. Any ideas how to resolve this?
    Also, when I export the pages into Dreamweaver, I have noticed that the font formatting is lost e.g. <h1> format style etc So an orange <h1> font title, with black outline, will not retain that formatting in Dreamweaver (it actually renders as white, which is the same as the <p> font elements.). I do know how to alter the CSS to render a different colour in Dreamweaver: but its the character outline that I cannot reproduce by manipulating the CSS (I don't know how to anyway....).
    Also, once a 'Master' page has been created, will all other pages within the document automatically inherit the functions and settings as per the Master Page. Or do I need to link each page to the Master Page in order for them to inherit its functionality and settings? I'm particuarly thinking about the states/rollover issue again here i.e. Will I need to set under/over states on each individual page or do I just need to set it once on the Master page?
    Thanks for your help.

    Q1:  There. Is no way to resolve this in Fireworks. You'll have to export the other states manually and build the rollovers in dreamweaver.
    Q2:  Again, *if* there us a widely supported CSS option fir text outlining you have tomanually apply it to the code in Dreamweaver.
    Q3:  Hyperlinks and graphics on the master page should be applied to all child pages.
    Fireworks is not a true web page editor. Keep this in mind. It is a graphics tool fulirst and foremost. The CSS and HTML features are not nearly as robust as Dreamweaver.   Hope this helps

Maybe you are looking for

  • PDF Viewer or Adobe Reader/QuickOffice Questions - PLEASE REPLY!

    Does the D Inc ship preinstalled with the "PDF Viewer" or Adobe Reader? Also, can you CREATE documents with Quickoffice, or does it only view doc/xls/ppt from attachments? I'm assuming you can also drag documents from the computer to the SD Card and

  • How much space i need to install ECC EhP 4

    Hello all,   Can any body let me know the space required to install ECC 6 EhP 4 (new package). If any body can provide some steps to follow that would be very nice. Mani

  • External HD_Ultrabeat: Please locate...

    I have recently added an external FW 800 hard drive to my system. I dragged the "Logic" folder from the: Mac HD/Library/Appl. Support/ To the external drive, made an alias of that folder and placed the alias back in: Mac HD/Library/Appl. Support/ and

  • Invoke ODI scenario

    Hi Experts, I have problem, when I invoke ODI scenario from a BPEL Process, the error in ODI Designer is: java.lang.NullPointerException      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)      at com.sunopsis.dwg.dbobj.Snp

  • Deploying libraries and projects...

    Hello All We have problem trying to make a distribution on a compiled library. The application that we had consist of many projects. We separate the service objects and the objects in different projects, because we need to reference a service object