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...

Similar Messages

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

  • Help with multi column drop down menu

    HI all,
    I am attaching an image from the ESPN web site, in the hopes that someone sheds some light on what is the name of the pull down menu that is shown there?
    and how you go about creating such menus, even larger (even as wide as the Navigation bar itslef)?
    thanks!

    Multi-Column Drop-Down Menus:
    Plug-in for jQuery -
    http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm
    CSS Play has another version -
    http://www.cssplay.co.uk/menus/multi-column.html
    DHTML - multicolumn menu: (30 day trial + purchase)
    http://dhtml-menu.com/menu/dhtml-pulldown-menu-multicolumn-sample.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Problems with mm_menu.js (drop-down menu)

    I've made a couple of sites with mm_menu.js (drop-down menu) made by Dreamweaver. It works fine in Firefox, Google Chrome. It worked fine in Internet Explorer up to version 9. In version 10 the mm_menu.js doesn't show at all, and in version 11 it does
    show up, but places itself in the upper left corner of the browser. Can anyone explain why this is so? Is there any fix one can put in the code to make the drop-down menu look correct?

    This is the TechNet Forum for Questions regarding Internet Explorer 8, 9, 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions.
    For better assistance please ask for help in the MSDN IE Development Forums.
    Thanks & Regards,
    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
    Moderator in the Microsoft Community and TechNet Forums
    My MVP Profile

  • I can't seem to open additional tabs with the +, the drop down menu, or Command T? Is this a bug, or am I missing something?

    Hello,
    I can't seem to open additional tabs with the +, the drop down menu, or Command T? Is this a bug, or am I missing something?
    I'm running Firefox 30.0 in OS 10.8.5 on a Mac Book Pro with the 2.7 GHz Intel Core i7 and 8GB 1333 MHz DDR3 memory.
    Thanks in advance,
    Pat

    BOOM! You have hit the nail on the head, sir!
    I disabled my Vuze Remote Community Toolbar and the problem was fixed.
    Thank you, the-edmeister!!!!

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

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

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

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

  • Problems with flash transparent drop down menu over html in some browsers

    Hi everyone... this is my first post and it's about an issue
    that's causing me a few problems.
    I'm currently designing/ building my company's web site, the
    test page be viewed here: www.musflashtv.com/test.htm
    1) This layout contains an embeded flash movie (.swf) with a
    transparent background, this is the main navigation.
    The flash navigation has a drop down menu that animates down
    and covers the html page (containing links) below.
    The problem is that in most current browsers such as; Firefox
    2.0.05 (links below template don't work), Netscape 8.1.3
    (navigation drop down and links don't work) and Opera 9.10 (links
    below template don't work), any links just below the 'invisible'
    transparent area coverd by the navigation can't be clicked 'through
    the flash file'. The exception is IE 7.0, everything is fine there.
    (it hasn't been tested in any mac browsers though).
    Because the area below the navigation on
    www.kitachi.info/work is one large dummy jpeg file, the link below
    would be a much better example to look at.
    http://www.musflashtv.com/shows/ind...tlight-Sessions
    The flash navigation is embedded in the html (tlp) template
    file using the code below and aligned using an external style
    (.css) sheet, this html code not only embeds the flash movie but it
    also tells the browser to display it's background and as
    transparent. The flash movie is embedded in a layer that sits above
    the table.
    3) The flash embed code:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    name="shows-navigation-tranparent" width="851" height="300"
    align="top" class="flash-navigation"
    id="shows-navigation-tranparent">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie"
    value="flash/navigation-tranparent.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#000000" />
    <param name="SCALE" value="exactfit" />
    <embed src="flash/navigation-tranparent.swf" width="851"
    height="300" align="top" quality="high" wmode="transparent"
    bgcolor="#000000" name="navigation-tranparent"
    allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    scale="exactfit" />
    </object>
    Does anybody know of any code that can solve this problem or
    know a different way of creating a flash navigation with a drop
    menu that can be embeded over html?
    Any help or advice would be greatly appreciated especially as
    this issue is holding back progress in a big way.
    Thanks in advance guys!
    Adie

    It's IE-only behaviour as a result of changes Microsoft made
    last
    year to their browser, regarding how Active Content (Flash,
    Quicktime etc)
    is handled, after losing a high profile court case.
    http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
    Background:
    http://en.wikipedia.org/wiki/Eolas
    See also
    http://www.adobe.com/devnet/activecontent/
    If you're running Dreamweaver 8.0.2, the fix is already built
    into DW's
    interface.
    If not, try
    http://blog.deconcept.com/swfobject/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "swizzle_16" <[email protected]> wrote in
    message
    news:eqr0ib$48r$[email protected]..
    > Help please, I've put together a website using a drop
    down menu system
    > that
    > needs to drop down over a flash animation - I've managed
    to get the drop
    > downs
    > to go in front of the animation using the transparent
    tag - but each
    > option has
    > to be clicked on twice to get the link to work.
    >
    > Does anyone know how I can change it so the link needs
    to be only clicked
    > once?
    > The drop down menu system I've used is : * AnyLink Drop
    Down Menu- ©
    > Dynamic
    > Drive (www.dynamicdrive.com)
    >

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

  • Can't Block Person in iChat, with task bar drop down menu in Buddies.

    Hello : )
    I was wondering if anyone knows how i can use my "Block Person", on iChat (task bar with drop down menu in Buddies). I am pretty sure this worked has worked before , the command is there it just seems to stay greyed out. I know it can be done in the Security tab / ichat preferences, I would like it to work under the Buddies drop down as well. I know it did before, my HD was replaced. Help would be most appreciated.
    Thank you for your time.
    Eme;~[)

    Hi Eme,
    Ok. iChat 3 has a setting that needs to be set if you are going to use the same screen name on two copmuters or on two apps on the same computer.
    Go to iChat > Preferences > Accounts
    Select the AIM account in question in the left hand column
    Select the Account Info tab.
    Log out of AIM (iChat menu)
    Check the check box "Allow Multiple Logins for This Account"
    Log back into AIM.
    If this is not checked starting iChat 3 will boot off (log out) any other AIM Client using the same screen name whether it is on the same computer or not
    From what the ISP says and what you have posted here it seems the modem is in Bridge mode.
    I take it if you open System Preferences > Network > Select Airport from the second drop down > TCP/IP tab you IP is shown as 10.0.1.2 ?
    And the drop down just above that says "USING DHCP" ?
    This would mean the Airport is in default mode and Issuing Addresses.
    Also by default an Airport would do NAT. (Network Address Translation)
    This measn the Airport sorts out where each bit of data has to go.
    It is different from other routers as you don't have the specify which ports are going to whch ports on one IP (Port Forwarding)
    Which Netopia device is it ?
    3347 ?
    If it is this one you may need to look at the QoS settings.
    These are setings that are supposed to protct you form reciveing data too quickly. (helpful if you are running a busy web site but restrictive sometimes for iChat).
    As you are omly talking about sorting out Block lists it is prpobably the multiple login option that needs doing.
    5:40 PM Wednesday; June 14, 2006

  • Help with actionscripting multiple drop-down menus

    So I have 3 different drop down menus that I want to use, and I want them to all work together so that if I have drop down menu number one open, the 2nd menu will drop down while the 1st one is still down.
    (I'm using Flash cs3)
    Here are some screen shorts:
    Layers: http://gyazo.com/3f24c53d5b91b7edb7fbbb1e6aa99c7c
    First action: http://gyazo.com/320857b1a6a94ba3fef153d1beb4ad6c
    Second action: http://gyazo.com/052bf8f1d673d533afc9b11488634869
    Stage before opened: http://gyazo.com/698353db25de7e589126a8800d7fdb25
    Stage opening up: http://gyazo.com/f905b9f20ee7b6205a978e304c27b934
    I'm relatively new to actionscripting all together, and I'm not a great programmer either. I'd greatly appreciate any help, I'm completely stuck and have no idea what to do.
    Thanks!

    fixed it

  • Need help fixing a CSS Drop-Down menu for IE6

    Hello.
    I have created an entirely CSS drop down menu for my website
    which works perfect in Firefox, Safari, Opera and IE7 however when
    I tested in IE6 it displayed like this -->
    image
    here or go to http://www.runecentral.net/index.php (Must have
    /index.php as i have redirected / to the community forum.)
    Here is my code

    Thank you for your reply.
    To answer your first question, I tried it with just one
    before and it caused Internet Explorer to display the background
    incorrectly so I just kept them both.
    I have replaced background-image with background:
    url(/img/defmenu.png) repeat-x;
    But, I cannot access my XP machine until tomorrow so I cannot
    view the site in IE6, if you could test it and tell me if it is the
    same as the image linked to in my first post that would be great.
    Kind Regards,
    Perry

Maybe you are looking for