Spry Menu Help Needed

I have searched through the forum and did not find an answer
to this question.
I successfully created a horizontal menu using the spry
widget for horizontal menu.
The problem is that in IE, the menu throws the sub menus far
to the right. It functions beautifully in firefox and Safari.
PLEASE HELP!
Thanks!
Attached is the .css file:

The answer to this question is that the spry menu system for
a horizontal menu does not work if you align the top link to the
center. It worked fine when I set it back to the left.
Too bad.

Similar Messages

  • Problems with my spry menu bar, need help

    i made a spry menu bar, and it works on my computers at my house and my computers at school, but on other computers the home page menu bar is in the middle of the page (not on the left side) and on the other pages the menu bar submenus dont go out to the side of that button, its hard to explain but the "designs" button has a sub menu that is supposed to go out to the side of it but it goes out to the side at the top!.. please look at it for me...?
    www.branchoutadvertising.com
    Linda

    i made a spry menu bar, and it works on my computers at my house and my computers at school, but on other computers the home page menu bar is in the middle of the page (not on the left side) and on the other pages the menu bar submenus dont go out to the side of that button, its hard to explain but the "designs" button has a sub menu that is supposed to go out to the side of it but it goes out to the side at the top!.. please look at it for me...?
    www.branchoutadvertising.com
    Linda

  • Having Problem with Spry Menu - Help appreciated

    Hello there
    I am currently developing my website but I am having terrible problems with the spry menu. I have tried lots of things but not yet resolved the issue. I will try to give as much info as possible. My website is www.huntfilms.ie
    When I am in dreamweaver the site looks fine and when I preview in browser also looks fine but when I have uploaded to server there is the problem as you can see.
    I uploaded all the files that are required I think . I have attached a screen grab of my server view below. : I have six spry files : js,css and four giff files : I have included the code below. I would apprecaite help as been at this for best part of day with no luck ; going mad here
    thanks
    Barry
    <script src="file:///Macintosh HD/Users/barryhunt/Desktop/huntfilms1/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="file:///Macintosh HD/Users/barryhunt/Desktop/huntfilms1/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="oneColElsCtrHdr">
    <div id="container">
      <div id="header">
        <h1>Hunt Films</h1>
      <!-- end #header --></div>
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a href="file:///Macintosh HD/Users/barryhunt/Desktop/huntfilms1/home.html">home</a>    </li>
        <li><a href="file:///Macintosh HD/Users/barryhunt/Desktop/huntfilms1/sample.html">Sample work</a></li>
        <li><a href="file:///Macintosh HD/Users/barryhunt/Desktop/huntfilms1/Contact.html">Contact Us</a>    </li>
    </ul>
    <div id="mainContent">
        <p><iframe src="http://player.vimeo.com/video/17962693?title=0&byline=0&portrait=0" width="400" height="320" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe> </p>
        <p> </p>
        <p>Welcome! </p>
        <p>Hunt Films was set up in January 2011 by documentary maker Barry Hunt.</p>
        <p>Barry received training in TV and Video Production with FÁS in Tralee, Co Kerry. During this training Barry produced a series of short films about local artists. In 2006 he worked as assistant editor on the successful RTÉ drama series, ‘Love is the Dfile:///Users/barryhunt/Desktop/Picture%201.pngrug’.</p>
        <p>Since 2010 Barry has embarked on solo projects producing two entertaining half hour documentaries. 'Liberation', explores the world of pigeon racing in Dublin. This film was very well received at the Galway Film Festival 2011. More recently Barry produced 'The Gregory Seat', a documentary which follows Maureen O'Sullivan’s campaign to be elected in the 2011 General Election.</p>
        <p>Barry looks forward to producing more documentaries. He is interested in human stories and hopes that this will form the basis of his future work. At present, Barry is developing projects for film festivals and general broadcast    </p>
        <p> </p>
      <!-- end #mainContent --></div>
      <div id="footer">
        <p>Footer</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>
    server view  of files uploaded file:///Users/barryhunt/Desktop/Picture%201.png

    here is the code still not working can anyone tell me why
    <!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>
    <style type="text/css">
    <!--
    body {
              font: 100% Verdana, Arial, Helvetica, sans-serif;
              background: #666666;
              margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
              padding: 0;
              text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
              color: #000000;
    /* Tips for Elastic layouts
    1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
    2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
    3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
    .oneColElsCtrHdr #container {
              width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
              background: #FFFFFF;
              margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
              border: 1px solid #000000;
              text-align: left; /* this overrides the text-align: center on the body element. */
    .oneColElsCtrHdr #header {
              background: #DDDDDD;
              padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    .oneColElsCtrHdr #header h1 {
              margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
              padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    .oneColElsCtrHdr #mainContent {
              padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
              background: #FFFFFF;
    .oneColElsCtrHdr #footer {
              padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
              background:#DDDDDD;
    .oneColElsCtrHdr #footer p {
              margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
              padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    -->
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="oneColElsCtrHdr">
    <div id="container">
      <div id="header">
        <h1>Header</h1>
      <!-- end #header --></div>
      <div id="mainContent">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
            <ul>
              <li><a href="#">Item 1.1</a></li>
              <li><a href="#">Item 1.2</a></li>
              <li><a href="#">Item 1.3</a></li>
            </ul>
          </li>
          <li><a href="#">Item 2</a></li>
          <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
            <ul>
              <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
                <ul>
                  <li><a href="#">Item 3.1.1</a></li>
                  <li><a href="#">Item 3.1.2</a></li>
                </ul>
              </li>
              <li><a href="#">Item 3.2</a></li>
              <li><a href="#">Item 3.3</a></li>
            </ul>
          </li>
          <li><a href="#">Item 4</a></li>
        </ul>
        <h1> </h1>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at,  odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce  varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id,  libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat  feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut,  sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh.  Donec nec libero.</p>
        <h2>H2 level heading </h2>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
      <!-- end #mainContent --></div>
      <div id="footer">
        <p>Footer</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

  • Spry menu Help Me

    I need help!!! I cannot for the life of me figure out how to
    include a spry menu bar that I made into all the pages in my
    website. I believe that I would have to use some sort of include
    statement but that's about all I know. So can someone please help
    me...

    Umm I don't quite understand what problem you have.
    A menu is marked up in an Unordered List -
    <ul></ul>
    and List Items - <li></li> for the... Items
    For sub menu you put another unordered list into a List Item
    You then need to apply the classes and ids then reference
    them in the javscript
    Everything you need is in the documentation here:
    http://labs.adobe.com/technologies/spry/articles/menu_bar/index.html

  • Spry menu help 2

    i have the correct links typed in on my spry menu bar but two
    arent working (our pastors and events)and my sub menus wont even
    act as links. also on some pages the menu bar goes under the text?
    any help woul be great! thanks
    http://www.pnlfamily.org is the
    site i am working on

    Hello,
    There are multiple problems that should be solved in your
    page. The most important one is the fact your page is not having on
    top of the page the necessary comment that identifies the HTML
    version to be used. This will cause the browsers to interpret your
    page in
    Quirks
    Mode, instead of Strict Mode. The Quirks Mode is not supported
    by us because of the numerous problems that exists on different
    browsers in behaviors. Please add the correct DOCTYPE to your page
    which will put the page in the Standard Mode and all the browsers
    will render the page (or at least they try) in compliance with the
    current standards on the web.
    The code in page is not compliant with any HTML standards
    containing multiple <body> and <html> inside which will
    make the browsers to behave completely weird. You should use the
    W3C validator and correct all
    the problems the validator reports. In case you use any Spry
    special tags in your page you'll have to read the
    Spry
    W3C validation documentation.
    You have in IE7 a JavaScript error in page because you use a
    function "qm_create" that is defined in a file which is not loading
    because of the difference in interpreting the multiple <html>
    tags in your document. Actually your problem appear in IE only and
    not in FF, where this JS error doesn't exists as well, and this
    could be one of the reasons.
    You used extensively in your CSS layout absolute positioning
    and z-indexing which is not a good practice and most certainly will
    trigger some specific bugs in IE where the elements will start
    overlapping even if the z-indexes are correctly set. My advice is
    to modify the way you designed your CSS and to use the normal page
    flow to arrange the elements in page to not need z-indexing and
    positioning anymore.
    Regards,
    Cristian

  • Ie Spry Menu help

    Hey guys,
    Im building a site with a spry menu on the left hand side. It
    looks good in Safari but the dimensions are bad in ie. Can you tell
    me what I'm doing wrong?
    www.thecorpsofexcellence.org
    Thanks for your help!
    kcd

    Hi,
    I have a similar problem. Everything works in IE7 and FF, but
    in IE6, my Spry Vertical menu appears in the wrong place on the
    page. The outline of the menu is in the right place, but the actual
    buttons are like a ghost in another place.

  • ONKYO TX-SR805 Set-up Menu HELP Needed

    This is a LONG post, but I would appreciate if you would read it and respond to it.  The settings That are setup might not be the CORRECT settings.  If you think a different setting should be made, please let me know.
    Also right now I only have 2 front speakers (NHT VT-1A), 1 middle( NHT VT-1C), and a NHT SW12 Subwoofer.  I will be hooking up 2 or 4 more speakers for the REAR.
    Here are the settings on my TX-SR805 receiver on the set-up menu.  I could use some help to see if they need set to something else.
    2.2 Speaker Config
          Subwoofer       yes
          Front            70Hz
          Center          90Hz
    LPF of LFE        80Hz THX
    2.6 THX Audio Setup
           THX subwoofer  YES   I don't know if mine is or not
           BGC                    OFF  Not sure what this BGC means
    3. AUDIO ADJUST
    3.1  Tone Control
           Front    Bass      -1dB
                        Treble   +1dB
          Center  Base      +2dB
                        Treble   +7db
         Subwoofer Base  +7
    3.2 DIRECT
          Delay Enable
          DSD                NO   Not sure what DSD is 
    3.3 MULTIPLEX/MONO
          Multiplex
          Input CH       Main/Sub
          Mono
          Input CH         L+R
          Output Speaker  L/R
    3.4 PLIIx/Neo:6
            PLIIx Music   (2ch input)
            Panorama        ON
            Dimension       +1
            Center Width    3
    Neo: 6 Music
            Center Image   5
    3.5 DOLBY EX
            Dolby EX        AUTO
    3.6 THEATER-DIMENSIONAL
            Listening Angle   Narrow
    3.7 LFE LEVEL
            Dolby Digital      -10dB
            DTS                     -10dB
            Multich PCM      -10dB
            Dolby True HD   -10dB
            DTS-HD Master Audio  -10dB
            DSD                     -10dB
    4. SOURCE SETUP
           CABLE/SAT
    4.1  INTELLIVOLUME     +4Db
       .2 A/V SYNC            0 msec
       .3  NAME EDIT         Blank
    5.   LISTENING MODE PRESET
    5.1 DVD
           Analog/PCM      NOT SURE WHAT TO SET HERE
           Dolby Digital      NOT SURE WHAT TO PUT HERE
           NOT SURE WHAT TO PUT FOR ANY OF THESE LISTENING MODE PRESET
    5.8 TUNER (ANALOG)      Neural THX 5.1 is set on mine. Is this correct?
             CD                           ?
    6.  MISCELLANEOUS
    6. 1  VOLUME SETUP
              Volume Display              Relative
               Muting Level               -40dB
               Maximum Volume       +10dB
               Power on Volume        -22dB
               Headphone Level        +2dB
    6.2  OSD SETUP
               Immediate Display       OFF
               Monitor Type              16:9
               Display Position           TOP
    7.  HARDWARE SETUP
    7.4   ANALOG MULTICH
               Subwoofer Input Sensitivity    0
    7.5   HDMI
            ALL under here are     ENABLE
    Solved!
    Go to Solution.

    I gave you some answers in your original post. I wish you didn't start a new one. Here is what I posted.
    Re: ONKYO TX-SR805 Set-up HELP Needed[ New ]
    Options
    Mark as New
    Bookmark
    Subscribe
    Subscribe to RSS Feed
    Highlight
    Print
    Email to a Friend
    Report Inappropriate Content
    01-21-2010 08:24 AM
    Unfortunately this is very difficult because the top half of your post, your really the only one that can answer what the setup should be.  The adjustments are made based on the acoustics of your room and how everything sounds noone can really give you info on it because every house, and room has different acoustics.  The walls, insulation, carpet or bare floors, basement or main floor are just some examples of what can make a difference in sound reproduction.   By the way NHT (Now Hear This) are excellent speakers.  For bass and treble, the music I listen too requires a high treble content so I usually have it at 7 out of 10 but my bass is at 4 out of 10.   The sub base should be fine where it is.
    Did your receiver come with an Audessy mic for calibration.  I would use that for a basic setup and go from there I am not sure if on your unit it will do frequecy but I think it did.
    Your volume settings look fine again personal preference there is right or wrong.
    For you listening mode Preset  you should have an auto setting I am at work so it may take a coule of hours for me to get back to you as I have to go through your manual and see what you would set it up with so please bare with me. I will list the info as I read it so it may not be in the order you have it.
    I will have to make a second post since I can't go back and edit this one.

  • Spry Menu help

    Hello, I've been working on a phpbb3 layout and have placed a
    horizontal spry menu into the overall_header.html.
    Apart from the arrows not showing up it works perfectly on
    www.breeze-studios.com, which is where I've been testing the
    layout.
    However when we transferred the layout to
    www.inspired-quills.com/phpbb3/ the menu stopped working as the
    drop down part, wont drop down. The folder set up betweent the two
    sites is the same, so I'm really at a loss as to why it wont work.
    Any ideas?
    I've attached a copy of the overall_header.html

    Hello,
    This is a known issue we have on IE caused by a fix trying to
    overcome another IE bug. To solve this problem you'll have to
    search in your menu CSS file for the following contextual selector
    (almost on the bottom of the page):
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    and add inside the following line:
    filter:alpha(opacity:0.1);
    The final code will look something like this:
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    This fix is included in the latest versions of Spry which
    will be soon released.
    Regards
    Cristian MARIN

  • Using external xml for spry menu help

    Just started playing with DW CS3, I would like to know how to
    insert a spry menu and get the xml data from an external file. Can
    anyone point me at a suitable example or tutorial please?

    The video workshop has some great tutorials with spry.
    http://www.adobe.com/designcenter/video_workshop/
    Aram

  • DreamWeaver Spry Menu Help

    OK! So im pretty good with Adobe DreamWeaver and have no problem  creating or editing a Spry Menu. My issue is how to Edit a Spry Menu so  that i can add or remove topics across multiple pages, without having to  individualy edit each page.
    I am looking to have a website of over 500 Pages and i want one Spry  Menu bar that can be edited once, but changes the drop down options for  all 500+ pages that. I will frequently want to update the Spry Menu.
    If anyone here has any idea how i do that, please let me know, i have been searching google all day, with no luck.
    Thanks

    You would use a SSI file (Server Side Include)
    The idea is that you create one file (containing all the spry menu coding) and then via the server side include the spry menu coding is inserted into all of the pages that you apply it to.
    When you come to update the menu you just change the one file and upload that to your server instead of 500 pages.
    Google 'server side include'

  • Help with Spry menu bars needed please?

    Hi all
    I am brand new to this forum, so please forgive any mistakes!
    My problem is this:
    I have created a 10 page web site in DW, and created a Spry horizontal drop down menu within it. I have created all the links on all pages, and all is working fine. However - here is my question - if I want to add another page to my site (making it 11 pages) is there a way of just creating it on one page (say index.html) and then automatically updating the other 9 pages with this new page - or do I have to open every page to add my new page manually?
    Please help me out if you can.
    Many thanks and regards
    Mark

    Hans - that was exactly what I was looking fro - thank you so much.
    Have a good day
    Regards
    mark

  • Drop down spry menu help... please

    I've been working on a website for the company I work for which helps abused, neglected, and abandoned kids. I am having a unique error on each one of my pages. I conduct a compatibility check with my pages and the same thing keeps popping up.... "Found 1 error in SpryMenuBarHorizontal.css" everything works fine in the newer safari and firefox browsers but if I open up IE or earlier versions of other browsers the error is a cluster. Could anyone please help me figure this thing out? I haven't really begun to style my menu because their is no use until I can get this thing nailed down. The link to my testing server is http://fiyahstudios.com/~sheriffs/       Any suggestions are welcome! please keep in mind that this is my first attempt on a website so it's not over-the-top by any means.
    Thanks
    Jimmy

    I did some research and found that the ul.MenuBarHorizontal li.MenuBarItemIE was indeed the problem. Or in fact the background: #FFF reverted my menu bar to a white mass at the top of the page. I think I did get a bit over-zealous and deleted the whole folder. But it works with everything except with all browsers IE6 which is only 2% of the user population. But if anyone is having trouble with spry user-ability a helpful resource is: http://library.creativecow.net/articles/williams_richard/spry_menu_explained.php

  • Drop Down menu help needed

    Hi, on my site at the checkout page, it has 2 drop down menus, one for country and one for state.  right now as it is, if you select United States from the first menu, you are then able to select which state you are from.  But if any other country is selected, the Select State drop down menu dissappears.  The coding looks like this right now
    private function onChange(target:SelectCountryCombo):Void {
      switch(target) {
       case _selectCountry:
        if (target.value == 'US')
         _selectState.visible = true      
        else
         _selectState.visible = false;
       break;
    What i want to do is make it so that if you select canada the drop down menu stays visable, and i've added the provinces into the list.  I tried adding 'CA' along with the 'US' but that makes it stay visible for all countries, i only want it visible for the 2.  it seems easy but i really dont know action script very well at all.  Thanks a lot for any  help

    I just had another question about the same thing. Is it possible that when CA is selected, that a different data provider for the "Select State" list would come up? For example, if US were selected it would load "_selectState.dataProvider = PayPalStateUSList.instance.option;" but if CA were selected, i could have it load the same thing but with just provinces? i tried to just copy the coding for PayPalStateUSList and rename it PayPalStateCAList with the list changed to provinces, and have it load it in the as but i dont really know what im doing.
    right now i just have the states and provinces all in one list, but its just harder to select when everything is all mixed in. it looks a bit unorganized.
    another thing i would like to do, is change the total price based on the country selected in the drop down menu, if its possible. right now I have a shipping charge being added to the total from the shopping cart screen (thanks to kglad), but what would make more sence would to have the shipping based on wether its domestic or international. would it be possible to change the total based on the country selected?
    these are the last of my questions, after these 2 issues are fixed my site is complete.  Thanks for all the help
    The coding for the page looks like this (both my concerns are on the same page)
    import mx.utils.Delegate;
    import kliment.managers.PopUpManager;
    import kliment.data.FormField;
    import kliment.display.MCC;
    import kliment.net.URL;
    import kliment.net.URLMethod;
    import kliment.net.URLTarget;
    import kliment.utils._Object;
    import kliment.utils._String;
    import as.Application;
    import as.Settings;
    import as.SimpleButton;
    import as.subpage.elements.AgreeCheckBox;
    import as.subpage.elements.SelectStateCombo;
    import as.subpage.SubpageAbstract;
    import as.menu.Menu;
    import as.AlertMessage;
    import as.shopingcart.PayPalCountryList;
    import as.shopingcart.PayPalStateUSList;
    import as.subpage.elements.SelectCountryCombo;
    import as.subpage.elements.SelectCountryItemRender;
    * @author ...
    class as.subpage.ViewCheckout extends SubpageAbstract {
    private var _IDENTIFIER:String = 'checkout_view';
    private var _price_txt:TextField;
    private var _f_name_txt:FormField;
    private var _l_name_txt:FormField;
    private var _email_txt:FormField;
    private var _phone_txt:FormField;
    private var _city_txt:FormField;
    private var _street_txt:FormField;
    private var _zip_txt:FormField;
    private var _country_cb:FormField;
    private var _state_cb:FormField;
    private var _selectCountry:SelectCountryCombo;
    private var _selectState:SelectCountryCombo;
    private var _i_agree_cb:AgreeCheckBox;
    private var _proceed_btn:SimpleButton;
    public function ViewCheckout() {
      super();
    private function _init():Void {
      _target_mc = MCC.attach(_IDENTIFIER, _host.content_mc);
      _page_mc = _target_mc.page_mc;
      _price_txt = _page_mc.price_txt;
      _price_txt.autoSize = 'left';
      _price_txt.text = Settings.CURRENCY + _String.decimalFractions(Application.instance.aSopingCart.totalPrice, 2);
      _f_name_txt = new FormField(_page_mc.f_name_txt, 'first_name', _page_mc.f_name_txt.text, true);
      _l_name_txt = new FormField(_page_mc.l_name_txt, 'last_name', _page_mc.l_name_txt.text, true);
      _city_txt = new FormField(_page_mc.city_txt, 'city', _page_mc.city_txt.text, true);
      _street_txt = new FormField(_page_mc.street_txt, 'address1', _page_mc.street_txt.text, true);
      _zip_txt = new FormField(_page_mc.zip_txt, 'zip', _page_mc.zip_txt.text, true);
      _email_txt = new FormField(_page_mc.email_txt, 'email', _page_mc.email_txt.text, true);
      _phone_txt = new FormField(_page_mc.phone_txt, 'night_phone_b', _page_mc.phone_txt.text);
      _selectCountry = new SelectCountryCombo(_page_mc.select_country_mc, 'combo_box_list', 'Select a country');
      _selectCountry.itemRender = SelectCountryItemRender;
      _selectCountry.dataProvider = PayPalCountryList.instance.option;
      _selectCountry.addListener(this);
      _selectState = new SelectCountryCombo(_page_mc.select_state_mc, 'combo_box_list', 'Select a state');
      _selectState.itemRender = SelectCountryItemRender;
      _selectState.dataProvider = PayPalStateUSList.instance.option;
      _selectState.addListener(this);
      _country_cb = new FormField(_selectCountry, 'adress_country', '', true);
      _state_cb = new FormField(_selectState, 'adress_state', ''); 
      _proceed_btn = new SimpleButton(_page_mc.proceed_mc);
      _proceed_btn.onClick = Delegate.create(this, _onProceedClickHandler);
      _i_agree_cb = new AgreeCheckBox(_page_mc.i_agree_mc);
      _page_mc.f_name_txt.tabIndex = 0;
      _page_mc.l_name_txt.tabIndex = 1;
      _page_mc.email_txt.tabIndex = 2;
      _page_mc.phone_txt.tabIndex = 3;
      _page_mc.zip_txt.tabIndex = 4;
      _page_mc.city_txt.tabIndex = 5;
      _page_mc.street_txt.tabIndex = 6;
      _page_mc._y = 33;
      _page_mc._x = 50;
    private function onChange(target:SelectCountryCombo):Void {
      switch(target) {
       case _selectCountry:
        if (target.value == 'US' || target.value=="CA")
         _selectState.visible = true      
        else
         _selectState.visible = false;
       break;
    private function _onProceedClickHandler():Void {
      var isError:Boolean = false;
      var isErrorSelect:Boolean = false;
      var message:String = '';
      var messageLine1:String = '';
      var messageLine2:String = '';
      var forSend:Object = new Object();
      forSend.cmd = '_cart';
      forSend.business = Settings.BUSINESS_EMAIL;
      forSend.currency_code = Settings.CURRENCY_CODE;
      forSend.upload = 1;
      forSend.address_override = 1;
      forSend.rm = 2;
      forSend.no_shipping = 1;
      if (Settings.NOTIFY_URL)
      forSend.notify_url = Settings.NOTIFY_URL;
      if (Settings.RETURN_URL)
      forSend.return_url = Settings.RETURN_URL;
      var purchasesList:Object = Application.instance.aSopingCart.getPayPalCarts();
      if (!purchasesList) {
       isError = true;
       message += 'The shopping cart is empty.'+newline;
      if (_f_name_txt.isValid)
       forSend[_f_name_txt.name] = _f_name_txt.value;
      else {
       messageLine1 += ((isError)?', ':'') + String(_f_name_txt.start_value).toLowerCase();
       isError = true;
      if (_l_name_txt.isValid)
       forSend[_l_name_txt.name] = _l_name_txt.value;
      else {
       messageLine1 += ((isError)?', ':'') + String(_l_name_txt.start_value).toLowerCase();
       isError = true;
      if (_email_txt.isValid)
       forSend[_email_txt.name] = _email_txt.value;
      else {
       messageLine1 += ((isError)?', ':'') + String(_email_txt.start_value).toLowerCase();
       isError = true;
      if (_phone_txt.isValid)
       forSend[_phone_txt.name] = _phone_txt.value;
      else {
       messageLine1 += ((isError)?', ':'') + String(_phone_txt.start_value).toLowerCase();
       isError = true;
      if (_city_txt.isValid)
       forSend[_city_txt.name] = _city_txt.value;
      else {
       messageLine1 += ((isError)?', ':'') + String(_city_txt.start_value).toLowerCase();
       isError = true;
      if (_street_txt.isValid)
       forSend[_street_txt.name] = _street_txt.value;
      else {
       messageLine1 += ((isError)?', ':'') + String(_street_txt.start_value).toLowerCase();
       isError = true;
      if (_zip_txt.isValid)
       forSend[_zip_txt.name] = _zip_txt.value;
      else {
       messageLine1 += ((isError)?', ':'') + String(_zip_txt.start_value).toLowerCase();
       isError = true;
      if (isError)
       messageLine1 = 'Please enter your ' + messageLine1 + '. ' + newline;
      if (_selectCountry.selectedIndex >= 0)
       forSend['country_code'] = _selectCountry.value;
      else {
       messageLine2 += ((isErrorSelect)?', ':'') + 'country';
       isError = true;
       isErrorSelect = true;
      if (_selectState.selectedIndex >= 0 && _selectCountry.value == 'US')
       forSend['state'] = _selectState.value;
      else if (_selectCountry.value == 'US'){
       messageLine2 += ((isErrorSelect)?', ':'') + 'state';
       isError = true;
       isErrorSelect = true;
      if (isErrorSelect)
       messageLine2 = 'Please select your ' + messageLine2 + '. ' + newline;
      //isError = false;
      if (!isError && Boolean(_i_agree_cb.value)) {
       _Object.copyTo(purchasesList, forSend);
       URL.navigate('https://www.paypal.com/cgi-bin/webscr', forSend, URLMethod.POST, URLTarget.BLANK);
       Application.instance.aSopingCart.clear();
       message = 'The purchases are waiting for the payment.'+newline+'The shopping cart is empty.';
       _application.gotoSpash();
      } else {
       message += 'You need to accept The Terms of Use to place an order. ' + newline;
      message += messageLine1;
      message += messageLine2;
      new AlertMessage('Info!', message);
    public function onResize():Void {

  • SOS. SPRY MENU HELP

    i would like to change the background of my spry horizontal
    menu to an image saved on my computer.. the image is also the
    layout of my website and i would like it to match. is it possible
    for me do so this? SOS. hELP.. getting slightly fustrated.

    quote:
    Originally posted by:
    V1 Fusion
    ul.MenuBarHorizontal ul {SpryMenuBarHorizo... (line 84)
    border:1px solid #CCCCCC;
    width:auto;
    add width:auto;
    ul.MenuBarHorizontal ul {SpryMenuBarHorizo... (line 42)
    change the position to position:static;
    This just made the submienus visible all of the
    time...

  • Menu Help Needed

    I exported a FCP file with 5 chapter markers into Studio Pro and used a menu template with 10 marker buttons. Naturally only the five markers I included showed up. Now I had to add two more chapter markers within Studio Pro but they don't show up in the menu. How can I made the late addition markers show?
    Thanks.

    You folks have been very helpful and I'm sorry to be a pain. It's just that I have to get this finished DVD out by Monday, and I'm used to having a seamless export into Studio Pro's templates and a good quick burn. I've been doing these same steps mechanically for three years and I guess my tutorial memory is foggy. As you suggest, I will go back and do the tutorial again and stop posting stupid questions. But this odd situation was dumped on my by a client on Friday and for now I have one more question...
    When I put in the DVD it shows the menu. All the chapter links work (thanks to the help on this forum). If I click back to Root Menu, Chapter 1 begins playing again instead of showing the startup menu, which it does show upon clicking Title Menu.
    I need to have the Root Menu button go back to the template. What am I doing wrong??
    Thanks, and now I'll get out of your hair.
    Thanks for all your help...Gina

Maybe you are looking for

  • Fieldcatalog to Excel using Simple transformation

    Hi guys. I have tried to sort out how to write own simple transormations but i've got problems along before i had expected. The task is to make an XML file, that can be opened with Excel and it must contain row with column names of some dictionary ta

  • Time to replace battery

    Hello there, My macbook pro has been shutting down suddenly-without the low battery sound alert. This has started happening recently-since last 2 weeks. I have read thru the forums here, but frankly there is so much info, i am am confused. The capaci

  • Is there anyway i can find who stole my ipod touch i have the serial number but i did not have the find my iphone app

    is there anyway i can track my ipod touch with just the serial number because someone stole it but i did not have the find  my iphone app

  • Is CME part of the C2600XM router IOS?

    I have a 2621XM router which is running c2600-advipservices 12.4(24) and the output of  Router# show telephony-service indicates that CME is at version 3.2.3, I was under the impression that CME was part of the IOS and that at 12.4(20) it was at ver

  • Cs6 problem with batch from raw to jpg

    hello I recently have problem when I want to batch raw files in bridge and convert them to jpg. it gives me errow message as: The command "Save" is not currently available. (-25920) I try all possible ways but it doesn't work. I try to process files