JavaScript and Drop down menu help?

Hi,
I'm having trouble trying to get options in my drop down menu to update in another section. I have the below script in a hidden field and everything seems to be working but it keeps picking up the last line only when doing calculations (i.e 48) when I change it in the drop down menu to say "HBZ-200" which has the value of 200 it is still only picking up the last line and value of 48.
So to put a little perspective on things the below script is in a hidden field called stndwatt, I then want to calculate that in another hidden field called calc which has the following calculations - (Qty3+ballconsump)-stndwatt, this should then update my visible field called ElectYear1 which then has the calculations of - (Qty1+Qty2)*(Qty4*Qty5*Qtycost*calcs*weeksinyear)/1000, as far as I can work out my stndwatt field is only picking up the last line below which is 48.
I'm sorry if this is vague I'm not very familar with JavaScript or PDF forms and have been scratching my head all day with this.
var v = this.getField("ProductLineOne").value;
if (v=="T101221W-30 (3000K T10 LED Tube)") event.value = "21";
else if (v=="T101221W-40 (4000K T10 LED Tube)") event.value = "21";
else if (v=="T101221W-50 (5000K T10 LED Tube)") event.value = "21";
else if (v=="T101221W-60 (6000K T10 LED Tube)") event.value = "21";
else if (v=="HBZ-100 (100W LED High Bay)") event.value = "100";
else if (v=="HBZ-150 (150W LED High Bay)") event.value = "150";
else if (v=="HBZ-200 (200W LED High Bay)") event.value = "200";
else if (v=="ZSL-48W (48W LED Shop Light)") event.value = "48";

Are you sure the code you posted here is EXACTLY the same as the code in
your file? Did you copy&paste it?
If so, can you share the file in question?

Similar Messages

  • CS6 Bridge suddenly no longer opens jpeg images. Double click and drop-down menu do nothing. No new installation or changes.

    CS6 Bridge suddenly no longer opens jpeg images. Double click and drop-down menu do nothing. No new installation or changes. Any ideas?

    Consider resetting Bridge Preferences.
    Close Bridge
    Cmd+Opt+Shift held down, Open Bridge.
    Choose Reset Preferences

  • Pop Up Window and Drop Down Menu Question PLSS Help

    Hi Guys,
    Ne help would be appreciated I am designing a website in
    Dreamweaver, I need to know how to create a custom drop down menu.
    Is there anyway that instead of using the standard drop down menu,
    you can customize them e.g use an image instead. For example, when
    you rollover lets say Home a drop down appears but the menu is
    customised e.g colour, text and any other small details.
    Even when using the standard drop down menu, how can you have
    a particular text, whenever I go to edit font list it does not show
    the typeface, although it is activated in suitcase.
    Secondly, how can I create a custom pop up window?
    I would really appreciate any help for either of these
    Many Thanks

    hi,
    Creator does not recognize (or whatever you say) characters like '<'. You can import js file which includes your script or change these characters for example put "<" instead of "<".
    regards...

  • Help with jsp  and drop down menu

    hi, im tryin to put a drop down menu using javascript, is the example in the page:
    http://tutorials.alsacreations.com/deroulant/
    but creator detects a error:
    The content of elements must consist of well-formed character data or markup.
    int creator and when i deply the proyect, here is the code:
    <script type="text/javascript">
    <!--
    window.onload=show;
    function show(id) {
    var d = document.getElementById(id);
         for (var i = 1; i<=10; i++) {        -------------------------------------- Here is the error -----------------
              if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
    if (d) {d.style.display='block';}
    //-->
    </script>
    Can anybody tell me what im doing wrong?

    hi,
    Creator does not recognize (or whatever you say) characters like '<'. You can import js file which includes your script or change these characters for example put "<" instead of "<".
    regards...

  • LiveCycle Designer 8.0 Drop-down menu help - newbie

    I am new with LiveCycle and do not know much about coding and the like. I've search the forums and have not found quite what I need. (It might be because I don't know the correct terms to search - so I apologize in advance if there was a previous posting regarding this)
    I am creating a form for lab tests for referring physicians to fill out.
    for simplicity, I will just use the state, city example.
    >>>>>> QUESTION 1.
    I have dragged/dropped a drop-down menu icon onto the form, gone through the Palette>Object>Field>List Items to compile the list of states (in my real case, a list of lab tests)
    How can I get the second drop down menu to show the corresponding cities based on the "state" selected in the first drop down menu? So that when I choose "California" I have the option in the second drop-down menu to choose from "Los Angeles," "Orange County," "Long Beach," etc
    VERSUS
    if I select "Texas" the list will retrieve "Houston," "Sugarland," "Dallas," etc.
    I read about hardcoding and although I'm not quite sure what that means, I think that is what I will be doing as I will not be referencing outside of my form.
    Also, the items in these menus are long/descriptive in nature, is there a way to refer to the lists in the code without having to type everything out? In my form (instead of "state") I will have lab tests "Test_1" with CPT codes attached, that is the list includes items like:
    93880 - carotid duplex scan, bilateral
    93882 - carotid duplex scan, unilateral
    and in drop-down list 2 I have items like:
    454.0 - varicose vein with ulcer
    454.1 - varicose veins with inflammation
    it would be such a pain to type each out in the code, but if there are no other ways around it, that is fine too.
    >>>>>>> QUESTION 2.
    The referring physician will have the option to email this form to the vascular lab scheduler. To prevent an "accidental" changes, I would like the form to be a "live form" for people to fill out, but upon return, the form to be a static PDF file, that is, the person receiving the email does not have the option to make any changes (purposeful or accidental), is there a way to do this?
    THANK YOU SO MUCH IN ADVANCE!
    again, I apologize for asking for help for what I'm sure is an easy fix. I don't know very much about the coding language, if it is not too much to ask - step-by-step would be helpful.
    I'm using Adobe LiveCycle Designer 8.0.
    Thank you.
    -Viv

    Hi Geo,
    Thank you for the link.
    Sorry, this is very difficult for me to explain not knowing the scripting language, but I will try my best not to confuse you too much.
    I was able to get Thom's example to work, and based on that, I was able to get this hypothetical situation to work:
    < script contentType="application/x-javascript" name="Example2" >var oTestOrdered = {
    12345678912345678: [ ["-"], ["AAA (Endologix)"], ["AAA (GORE)"], ["Aortic Arch"],["other"]],
    56565: [ ["-"], ["Varicose Vein"], ["Venous Insufficiency"], ["Spider Veins"],["Symptomatic Var Veins"]],
    46546: [ ["-"], ["TA biopsy"], ["CEA"], ["amputation"], ["debridement"]]
    function SetTestEntries()
    ICD9_2.clearItems();
    ICD9_2.rawValue = null;
    var aTests = oTestOrdered[xfa.event.change];
    if(aTests && aTests.length)
    for(var i=0;i<aTests.length;i++)
    ICD9_2.addItem(aTests[i][0].toString());
    </ script >
    HOWEVER, I cannot get something like this one to work (the only difference is that I added a "9" to the first option) it seems as though I cannot insert anything beyond 17 consecutive characters (no dashes and underscores are allowed either):
    < script contentType="application/x-javascript" name="Example2" >var oTestOrdered = {
    123456789123456789: [ ["-"], ["AAA (Endologix)"], ["AAA (GORE)"], ["Aortic Arch"],["other"]],
    56565: [ ["-"], ["Varicose Vein"], ["Venous Insufficiency"], ["Spider Veins"],["Symptomatic Var Veins"]],
    46546: [ ["-"], ["TA biopsy"], ["CEA"], ["amputation"], ["debridement"]]
    function SetTestEntries()
    ICD9_2.clearItems();
    ICD9_2.rawValue = null;
    var aTests = oTestOrdered[xfa.event.change];
    if(aTests && aTests.length)
    for(var i=0;i<aTests.length;i++)
    ICD9_2.addItem(aTests[i][0].toString());
    </ script >
    The form I am creating is a Vascular Lab request form, where the test ordered (drop down box 1)has a CPT code to reference the test being ordered (i.e., 93880 - Carotid Duplex Scan, bilateral) and the test has a set of diagnoses (ICD-9 codes) in drop down box 2, associated with that test (i.e., 459.81 - Venous Insufficiency)
    I have found that I do not have a problem with the "diagnoses" but I cannot add the descriptive test select in the first place. That is, the code works fine if I leave it as "93880" but not "93880 - description." I have also run into the problem that I cannot use dashes or underscores, nor can I type more than 17 characters otherwise the code no longer works.
    Is there something I need to add or remove in order to make this work?
    Thank you in advance for your help and patience!

  • Copy text fields and drop down menu fields

    Hi,
    Using LiveCycle Designer ES, I am making a simple form with some text fields and along with some drop-down menu fields.  With the resulting pdf, I need for one to be able to select the appropriate selection in the drop-down menus.  Then using cntl-a to select everything and then cntl-v to copy it into a text document.  This approach will only copy the text fields and not what is showing in the drop-down menu field.  Is there any way to solve this problem?  The end users computer has limited tools and software cannot be installed on it.
    Thank you for considering this issue and any help you may provide,
    ja

    Hi,
    I don't really know if the text field can be selected using Ctl+a, but if that is possible how about adding extra text field that is linked to pulldown menu?
    If the usage of the PDF is only for copying, then I would make a formcalc or javascript to combine all the text into one text field so that user only need to copy paste one field.

  • Thanks to the super-users, and questions on backgrounds and drop-down menu

    Hi all.
    I've spent a fair amount of time perusing the archives, so I don't have to bother you all with the basic questions. Great thanks to Wyodor, Old Toad, Ethmoid and Cyclosaurus for their excellent and oft-repeated tutorials.
    With your help, I've figured out how to set up a personal domain name, modify my background image, and create a drop-down menu. (These were major accomplishments for a neophyte like me.) My primitive template can be seen here:
    http://www.monroekarate.org/dojo/Template.html
    And I am pretty happy with it. I have one problem, and one minor element that I'd like to fix.
    The drop-down menu was created following the excellent tutorial from the iWebfaq but I notice that although it looks perfect there is one malfunction. If you hover and try to select an element where there is no underlying content, it works fine. When you try to select a list item with underlying content, however, the drop-down disappears. Any idea why that happens or how I can fix it? I suppose I could just add a space buffer, but that is an inelegant solution.
    On a more trivial note, the background was actually supposed to be composed of two images. The top row was supposed to be a horizontal set of tiles (slightly darker in color) and the rest of the background was tiled in a second image, giving a gradient effect. I used the script Wyodor described here with repeat set to yes which gave me single-image tiling. Looks OK, but if I could get both sets of tiles used it would add substantial richness to the visual effect. Ideas?
    Thanks again for all your help to date, and thanks in advance for considering this issue!
    Cheers,
    Liam

    I appreciate your reply but those arrows were not the ones I was trying to describe. In the same box where you would type your web address on the far right is a small star and then next to it an arrow pointing down. If you click on this arrow, it normally drops down a list of the websites you commonly use. Or, if you are on a website ordering something, there might be a similar arrow that you need to select in order to choose which shipping you might want such as ground, next day air, etc., these are the kinds of arrows that are not working correctly now. Any ideas on these? Thanks for trying to help me.

  • Pass a url variable to javascript for drop down menu

    Hello,
    I'm in over my head as far as javascript goes. This is what I
    am trying to do. I have this URL...
    http://www.grasshorse.com/prod2.cfm?SortBy=all&ProdAbbr=shm
    I want to take the variable for ProdAbbr which in this case
    is "shm" and make that a variable in javascript. So that I can add
    the variable to a dynamic link I'm using for a drop down menu.
    mm_menu_0520211545_0.addMenuItem("All Departments","location='prod.cfm?SortBy=all&ProdAbb r=eval(ProdAbbr)'");
    I really have no clue what to do. I haven't hardly used
    javascript at all and I'm looking for some charity. Does anyone
    have any ideas on how I can do this?
    Thanks
    Steve
    Any insight is greatly appreciated.

    jawwinker wrote:
    > Hello,
    > I'm in over my head as far as javascript goes. This is
    what I am trying to
    > do. I have this URL...
    >
    > <a target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.grasshorse.com/prod2.cfm?SortBy=all&ProdAbbr=shm
    >
    > I">
    http://www.grasshorse.com/prod2.cfm?SortBy=all&ProdAbbr=shm
    >
    > I</a> want to take the variable for ProdAbbr which
    in this case is "shm" and
    > make that a variable in javascript. So that I can add
    the variable to a
    > dynamic link I'm using for a drop down menu.
    >
    >
    mm_menu_0520211545_0.addMenuItem("All Departments","location='prod.cfm?Sort
    > By=all&ProdAbbr=eval(ProdAbbr)'");
    mm_menu_0520211545_0.addMenuItem("All Departments","location='prod.cfm?Sort
    By=all&ProdAbbr='"+ProdAbbr+"'");
    Mick

  • 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 {

  • Basic Form with Drop Down Menu Help

    Hi Guys,
    I have just started using dreamweaver and i dont use code or anything yet.  I have been following a tutorial from thesitewizard which runs through the basics of creating a web page in the design screen.  It created a form to insert but i need to know how to create a form which has a drop down menu to have say 4 or 5 options to select the normal name email comments etc fields and submit button to enbale people to contact me.  Can anyone help with this.  Pleae keep in mind i am very new to this and dont have any code experience etc at all.
    Thanx in advance for any help.
    cheers
    chris

    You will need to use a form processing script to handle your form data.  This isn't terribly difficult, but it's more than you can do in Design View alone.
    Have a look at this form building service.
    http://wufoo.com/
    Another one to look at - although I've never used it myself, it gets mentioned a lot in these groups.
    Forms To Go from BeBo Soft -
    http://www.bebosoft.com/products/formstogo/index.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Flash Drop Down Menu Help Needed

    I am using this set-up for a drop-down menu:
    http://www.flash-menu.net/flash_drop_down_menu/flash_drop_down_menu_component.htm
    I'm usign the vertical setup:  http://flash-menu.net/flash_drop_down_menu/download_vertical_drop_down_menu_free.htm
    I want to put it both on a static html page (for those who do not have FLASH installed), as well as the FLASH site.
    This is the site:  http://www.miltongordonussenate.com/flash/index.html
    I want to put this menu on both the Campaign page, AND the Links page.
    I have the seperate parts- the swf file, the html file, and the jscript file. I don't know if I am uploading the seperate files in the wrong place, or if I am just completely off base.
    Can someone help me with this, please?

    Ok, I see several people have looked, but no one has answered.
    Is there a better way to do what I want to do? Any help is appreciated!

  • Problem with checkbox and drop down menu

    I am using DW8 with PHP/MySQL.
    I made a insertion form and a couple of the fields are
    checkboxes and another is a drop down menu. Everything works fine,
    however, when I create an update form and the recordset calls the
    data it doesn't retain its values on those items.
    For example, if I checked a box when inserting the record and
    then call the data up for the update form, the box is not checked,
    making the user believe it was never checked in the first place.
    The same thing goes for the drop down menu. If I have 3
    options in the menu and someone selects the third one, when the
    update form is used it defaults to the first option automatically
    instead of actually calling up the original value selected.

    The fact that two scripts do not work together does not mean
    there is a bug in the RH script. It is simply that they were not
    designed by their respective developers to work together. This
    happens with multiple scripts in any html file.
    Try creating a new project and then importing just this topic
    into it. Does it still have the problem?

  • Email form script with custom text field and drop-down menu?

    Hey, I'm building a website in iWeb - http://dl.dropbox.com/u/19707357/Website/craftpackage.html
    And I was looking for a script that could possibly send an email to me with the info a user chooses from/puts in 1. dropdown menu 2. text field 3. another text field. I'd be awesome if the fields could have a custom background or a transparent background.The drop-down menu could have any background, but it would be awesome if it could be made with custom images !

    Basic question.
    What have you yourself done to find out?
    Nothing?
    Start here :
    http://www.google.com/search?q=how+to+make+a+mail+form
    http://www.google.com/search?q=dropdown+menu+with+transparent+background
    Unfortunately, it has no dropdown menu :
    http://www.wyodor.net/blog/archives/2010/01/entry_301.html
    Btw, dropdown menus in forms at select menus. These are not the same.
    http://www.google.com/search?q=select+menu+form
    http://http://www.w3schools.com/html/html_forms.asp
    So start practicing and once everything works the way it should, display it in a html snippet.

  • Drop Down Menu Help

    Hi,
    I am new here and try my best to struggle though to find an answer. After several day of trying I give up and am turning to the forum for help.
    I Have a Spry Horizontal Menu.
    When viewing the meno in Live view (F12) my sub-menu buttons appear opaque (you can see the contents of the page behind it). Also when placing the curser on the menu it seem confused if it is on the botton or the page underneath it. The contentson the page is simple text. I read that there may be a problem with Flash but this is not the case.
    I have tried and adjusted the Z-Indexes but it does not seem to help.
    Any ideas?
    Thanks in advance for your help.
    PS. If the answer to this was answered before I am sorry. I did try and find it.

    Here is the Spry Menu CSS Paul
    @charset "UTF-8"; /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */ /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */ /******************************************************************************* LAYOUT INFORMATION: describes box model, positioning, z-order *******************************************************************************/ /* The outermost container of the Menu Bar, an auto width box with no margin or padding
    */ ul.MenuBarHorizontal { padding: 0; list-style-type: none; font-size: 90%; cursor: default; width: 590px; position: absolute; top: 311px; font-weight: bold; left: 307px; height: 39px; margin: 0; z-index: 10; }
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
    */ ul.MenuBarActive { z-index: 1000; } /* Menu item containers, position children relative to this container and are a fixed width
    */ ul.MenuBarHorizontal li { padding: 0; list-style-type: none; font-size: 100%; position: relative; text-align: left; cursor: pointer; width: 118px; float: left; margin-left: 0px; margin-top: 0; margin-right: 0; margin-bottom: 0; } /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em)
    */ ul.MenuBarHorizontal ul { margin: 0; padding: 0; list-style-type: none; font-size: 100%; z-index: 2000; cursor: default; width: 118px; position: absolute; left: -1000em; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item
    */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible { left: auto; } /* Menu item containers are same fixed width as parent
    */ ul.MenuBarHorizontal ul li { width: 125px; } /* Submenus should appear slightly overlapping to the right (95%) and up (-5%)
    */ ul.MenuBarHorizontal ul ul { position: absolute; margin: -5% 0 0 95%; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
    */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible { left: auto; top: 0; }
    /******************************************************************************* DESIGN INFORMATION: describes color scheme, borders, fonts *******************************************************************************/ /* Submenu containers have borders on all sides
    */ ul.MenuBarHorizontal ul { border: 1px solid #CCC; } /* Menu items are a light gray block with padding and no text decoration
    */ ul.MenuBarHorizontal a { display: block; cursor: pointer; background-color: #0E2C8E; color: #FFF; text-decoration: none; font-family: Tahoma, Geneva, sans-serif; font-size: 15px; font-weight: bold; text-transform: uppercase; text-align: center; background-image: none; background-repeat: no-repeat; background-position: center center; padding-top: 10px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; border-left-color: #C4C9DB; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #c4c9db; border-right-color: #565968; border-bottom-color: #565968; } /* Menu items that have mouse over or focus have a blue background and white text
    */ ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus { background-color: #57C1DB; color: #333; } /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text
    */ ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible { background-color: #57c1db; color: #FFF; } /******************************************************************************* SUBMENU INDICATION: styles if there is a submenu under a given menu item *******************************************************************************/ /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%)
    */ ul.MenuBarHorizontal a.MenuBarItemSubmenu { background-image: url(SpryMenuBarDown.gif); background-repeat: no-repeat; background-position: 95% 50%; position: fixed; } /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%)
    */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenu { background-image: url(SpryMenuBarRight.gif); background-repeat: no-repeat; background-position: 95% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%)
    */ ul.MenuBarHorizontal a.MenuBarItemSubmenuHover { background-image: url(SpryMenuBarDownHover.gif); background-repeat: no-repeat; background-position: 95% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%)
    */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover { background-image: url(SpryMenuBarRightHover.gif); background-repeat: no-repeat; background-position: 95% 50%; } /******************************************************************************* BROWSER HACKS: the hacks below should not be changed unless you are an expert *******************************************************************************/ /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe
    */ ul.MenuBarHorizontal iframe { position: absolute; z-index: 1010; filter:alpha(opacity:0.1); } /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */ @media screen, projection { ul.MenuBarHorizontal li.MenuBarItemIE { display: inline; f\loat: left; background: #FFF; } }

  • Can anyone tell me how to increase the text size in my menu bar and drop down menus?

    Just bought a new 27" screen iMac.  The menu bar and drop down menu text is much to small for me to see without leaning close to the screen.  Does anyone know how to customize the text to a larger size.  This is an issue for any program I open.

    Once upon a time Apple displays packed in 72 dots to an inch (making their resolution 72 DPI). That meant that what we saw on screen at 100% scale was exactly what was printed on a printer - not to mention quite comfortable to read. However that advantage was eclipsed by the fact that photopgraphs and video were pixelated and the only solution to that was to increase the resolution - to pack in more dots per inch - which has the side effect of shrinking the size of text. Where I once used Word at 100% scale I now find it most comfortable at 150% scale.
    There are several solutions. One, as Lex gave you, was to reduce the resolution of the LCD display. But unlike CRT displays, an LCD is tuned to a specific resolution and when you change it the results tend to be blurry. Another is to keep the resolution as it is and to adjust each program (if the program allows it). This makes Word usable and your browser can be set to use no font smaller than a size you set (which has some unpleasant side affects at some Web sites), but some programs and some parts of programs cannot be changed. The menubar and menus are among them. The third solution is one that Apple promised several years ago but has not yet provided - a resolution independant GUI. We can only hope that comes soon. And there's another partial solution - look in System Preferences under Accessibility.

Maybe you are looking for

  • SRM Shopping Cart - how do you clear out custom fields on a SC create

    We have added custom fields to the Shopping cart header.  now when we use an existing shopping cart to create a new one (do a copy from within SRM UI) the data in these custom fields on the existing shopping cart is copied tothe new shopping cart.  W

  • Developing a java applet questions?

    I am new to java, I want to write a java applet to do the printing for word document and pdf, is it possible, I hope that one expert can share me a good sample code . By the way, for developing a java applet , what development environment should I in

  • Mail and OS: how they works with dns

    Hi to all. I need an help to understand. I have a domain, "pippo.it"; this domain has an MX set in this way: pippo.it MX mail.pippo.it mail.pippo.it A 151.99.0.100 ; Wan 1 mail.pippo.it A 91.45.98.76 ; Wan 2 With this setting I'm sure that if one lin

  • Can't open my last project

    Hi there everybody. I'm having a problem with my latest project. I can't open it because FCX keeps quitting unexpectedly after a few seconds opened. I decided to throw both the project and its folder to the trash and after that FC works fine. When I

  • APEX style progress bar on left

    Hi, New to APEX so apologies if this has already been discussed. I have created a form that is quite lengthy, so would like to break it down into different steps. Does anyone know how to create a progress bar on the left that shows the different step