JavaScript support won't work!?

Hi!
On the NitroX's homepage it is said that NitroX has syntax highlighting for JavaScript. I just tried to edit my JS pages, but it won't work at all. If I double click on the .js file I just get an error that says:
Window Script Hosting
Script: c:\myProject\web\calendar.js
Line: 23
Char: 1
Error: 'navigator' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error
What's wrong with the NitroX's JS support?? And if select Open With -> Text Editor, there is no syntax highlighting at all..??

That "Microsoft JScript runtime error" happens because your Eclipse does not have JS files associated with any editor in particular. When that happens, it "forwards" the request to open that file to the operating system. In this case, Windows tries to run that file via JScript.
One option is to right-click on the JS file, and choose "Open With -> Text Editor". This will open the file for editing within Eclipse, but sans syntax highlighting.
Since this can become tedious, you might want to permanently associate JS files in Eclipse with its text editor -- you can do that by: "Window -> Preferences -> Workbench -> File Associations." Add an entry for "*.js" files and then add Eclipse's text editor as the default editor for that entry. Thereafter, when you double-click on a JS file in Eclipse, it will automatically open in that editor.
However, as of NitroX 2.0.0 (I still have to upgrade), NitroX's support for JavaScript syntax highlighting appears to me to be limited to the <script> tags inside a JSP page, using NitroX's JSP editor.
-- Jim

Similar Messages

  • Two JavaScript widgets won't work on the same page [was: Not the first time]

    I ran into this a few months back and gave up on it. I have a page that has several javascripts running on it. They are:
    vnu_datestamp.js
    a flashing neon text script (inline)
    DW's own rollover image (MM_swapimgRestore) script (also inline)
    jquery1.2.2_pack.js
    overlapviewer.js
    lightbox.js (which also relies on scriptaculous.js, prototype.js and an "effects.js" to run)
    I know that's a "garbage pail" of javascripts to all be on the same page. Frankly I'm surprised that they don't all give me problems. But there is one.
    The lightbox and overlap viewer just will not play together.
    Depending on which one I list first in the header, the other one quits. Whichever one I lose goes from the image display effect to acting like a straight hyperlink to the designated image.
    It isn't a huge deal, but I'd like to be able to have the two of these on the same page and working. I have them running alone on other pages and can link to them, but it sort of defeats the purpose of making a web page to show the variety of things I can do for someone who whats a website built, if one or more of the things won't work.
    [Subject line edited by moderator for clarity]

    Please don't use cryptic subject lines for posts. The value of a forum is that other people might be searching for the answer to a similar problem. Meaningless subject lines prevent others from finding useful replies. They also discourage others who might be able to provide help more quickly if they knew what you're asking about.
    I've had a quick look at your page. Quite honestly, I find all the flashing rather nauseating, but if that's the way you want to design a page, it's your choice...
    The conflict is caused by the fact that overlapview.js seems to rely on jQuery, while lightbox.js relies on Prototype and script.aculo.us. Both jQuery and Prototype use $() as a shortcut, so you cannot mix the two libraries on the same page without taking special measures to prevent the conflict. In jQuery, you do this by loading all the jQuery, Prototype, and script.aculo.us libraries first, and then using the following script:
    jQuery.noConflict();
    Then load overlapview.js, replacing all instances of $ with jQuery. So, for example, the following line:
    $(t).fadeTo('normal', overlapviewer.endopacity, function(){
    needs to be rewritten like this:
    jQuery(t).fadeTo('normal', overlapviewer.endopacity, function(){

  • FN Accessibility and Button Support won't work

    Hi,
    So like many other people I also have problem with button support. ECO button doesn't do nothin, as well as wifi button and the one next to it which before has opened toshiba bulletin board.
    I suspect that the problem is CCleaner with which I have set that some Toshiba apps don't start at start-up.
    Also if i press FN button it doesn't pop-up the menu on the top of the screen although I can still change brightness level with it.
    Does anybody know how to fix this WITHOUT system restore because I just did that few days back... :/

    Can you please tell us which notebook do you have and do you still use original preinstalled OS that you got with your notebook?
    Anyway to get it works again try this:
    Press Windows button + R > write MSCONFIG and OK > click on Startup tab and click on Enable All > OK.
    Restart your notebook and test functionality again.

  • First my zen now email support won't work!!

    Hi,
    I am trying to get help through customer support for my product that has stopped working, I am trying to use the email function through the internt but i can't get passed the page where you pick your device, what is suppose to happen after you pick your device?Please help I am losing my patience with creative as a product!!!!

    Hi,
    Please check your PM, I left you a message.
    Good Luck.

  • Javascript won't work - JavaScript for Reader Mobile API Reference (Android)

    I have created a Form with the new Adobe Acrobat Pro DC (trial version).
    The Javascript code just won't work on a mobile phone.
    Doc - JavaScript for Reader Mobile API Reference (Android this shows that what I want to do is supported.
    But not even the simplest command will work on my phone. (I am using Adobe Acrobat DC - PDF reader for Android)
    Any suggestions of what I could be doing wrong?
    Best,
    Menno

    A Doc.getField() should work.. Try small steps: Create a document with two fields (e.g. Text1 and Text2), then create a custom calculation script for Text2 that uses the following code:
    event.value = this.getField("Text1").value;
    Does this copy the data you enter in Text1 to Text2?
    Then, add a third field ("Text3") and a button with the following MouseUp JavaScript action:
    this.getField("Text3").value = this.getField("Text1").value;
    Does this work? It actually works for me. To save you some work, here is a link to the test file I've used: http://khkonsulting.com/files/AUC/AndroidTest.pdf

  • When I try to download the windows support software it is coming up with an error message saying I am not connected to the internet but having checked the network diagnostics several times I am definitely connected but it still won't work. Any ideas?

    When I try to download the windows support software it is coming up with an error message saying I am not connected to the internet but having checked the network diagnostics several times I am definitely connected but it still won't work. Any ideas?

    I get a problem like yours. I have a mac mini with 2 hdds the server and hd2 I installed windows 7 and the windows works fine. except it will not allow me to get on the net.  I get error 651.  I can boot back to lion and the internet connection works. I googled and error 651 does seem to show up.  I would like  a work around.

  • Flash player won't work or download. It says it no longer supports power pcs. I am running 10.5.8 on my ibook G4. Seem to have tried everything. i.e. chrome, firebird, archived flash players, etc. All not supported. Any insight???

    Flash player won't work or download. It says it no longer supports power pcs. I am running 10.5.8 on my ibook G4. Seem to have tried everything. i.e. chrome, firebird, archived flash players, etc. All not supported. Any insight??? It started when I tried to upgrade current flash player and it said I needed to uninstall current version, which I did, and then it wouldn't download the current one giving me the not supported story! Please help!!!!!!

    Hi Andy, that is correct, they don't support PPC Macs anymore.
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/865/cpsid_86551.html#prob1=uninst,os=m10.6,
    Download this if you haven't...
    http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp10.1.102.6 4_and_9.0.289.0archive.zip
    Once downloaded if it doesn't unzip automatically the double click on that file.
    Look for the fp10.1.102.64_and_9.0.289.0archive folder, open it, look for the Flash Player 10.1.102.64 folder & open and look for 101r10264 folder & open it, double click on the flashplayer101r102_64_ubmac.dmg file, choose the Install Adobe Flash Player file to install... they don't make it easy!
    Or smaller here...
    http://dl.dropbox.com/u/450421/flashplayer10_1r82_76_ub_mac%20copy.dmg.zip
    Stand alone player...
    http://dl.dropbox.com/u/450421/LastFlashPPC.zip
    Or free 3rd party...
    http://www.wimpyplayer.com/products/wimpy_standalone_flv_player.html

  • Javascript or applet dropdown menus won't work in IE6, How can I solve this

    I've made some dropdownmenu's of javascript and one of java applets. But they don't work in IE6. If IE6 is installed they won't work either. My friend has IE5.5 and he has no problems with the menus. How can you make them work.
    And how can you change the z-index of a javascipt/applet? How do you make a dropdownmenu that's put in the topframe slide over the mainframe?

    Perhaps someone could help me with the following question:
    I have a menu that cascades out of the Applet box. My question is:
    How do I close the menu without clicking on the Applet box? - i.e. if the user clicks on the HTML area of the WEB-PAGE, or simply waits a second or 2, the menu should collapse?
    I notice that this is actually the default behavior for the AWT classes - but then you can't set background colors etc. I need the same kind of behavior, but using Swing classes.
    Would appreciate any assistance or advice...

  • I downloaded Firefox 4, have a Mac Powerbook G4 with OS X and firefox downloads, but opens with an X on the symbol and won't work, says architecture won't support - what is up?

    Have tried 4 times to download Firefox 4 and each time it seems to be working OK, but when I go to move the firefox symbol onto the Application symbol, the firefox symbol has an X in an O indicating that it won't work and doesn't. Note says that the architecture won't support the new download. Can I get the update and if so, how? Dave Morrison

    Firefox 4 doesn't run on a PowerPC Mac.
    Firefox 4 requires at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    For Mac OS X 10.4.11 or Mac OS X 10.5.8 you can look at:
    * http://www.floodgap.com/software/tenfourfox/
    Firefox 3.6.x can be found here:
    * http://www.mozilla.com/en-US/firefox/all-older.html

  • When I download iTunes on my PC, it says it won't work because I am missing the apple support aplication. How do I download that?

    Anyone know why iTunes (64 bit) won't work on my PC? It says I need an apple support application? Thanks for your help!

    With the Error 2, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • ITunes password won't work

    Aplle TV keeps telling me to put in my password but when I do it won't work. But I checked it on iTunes and it worked there, as well as online. Then I went online and changed it but Apple TV still won't accept it. What gives?
    Edit: Nevermind it's working again. I had to reset Apple TV.
    Message was edited by: TomCat4680

    Try some of these things
    http://www.apple.com/support/itunes/troubleshooting/

  • Wireless password won't work

    trying to connect to wireless at work, but the password won't work.... i try'd the same password on ipod... works fine... also i can use wireless at home... no prob....
    any ideas?

    Powerbook G4, you may have a wireless card that is too old and doesn't support newer encryptions schemes like WPA or WPA2. What are you using as your wireless encryption algorithm at home?
    Per my profile, you can see that I have a computer designed and manufactured eight years ago. It uses an old 802.11 "Airport" card; not "Airport Extreme" as does my Mac Pro. It doesn't do WPA or WPA2. If the wireless access point (WAP) at work is using those, you'll be prompted for a WEP password because your computer doesn't know any better. But it won't work.
    So first thing you need to do is find out what does the WAP use. Next thing you need to do is go into your System profiler and see what kind of Airport card your Powerbook has.
    If it's not an "Extreme" or "Express" or whatever, just a plain ol' "Airport" card, then you are SOL trying to use that to connect to your work's WAP if they are using WPA or WPA2. There are some USB wireless thingies that you can plug in to an available USB port and you can use that to access the work (and home) networks. I know that BDAqua has previously posted a URL or three that point to some inexpensive USB 802.11 transceivers that you could use on your Powerbook.
    As a side note, if this is indeed the case for your situation, this would also imply that you are probably using an inferior (as in hacked/cracked) wireless encryption protocol at home. Once you get a WPA2-capable USB thingy, get in to your router's wireless setup and change it to WPA2-PSK-AES.

  • TS1538 Hi, I have the problem which iTunes cannot detect my iPhone 4s. I tried the steps you have provided in your troubleshooting, but it won't work for me because the Apple Mobile Devilce is perfectly installed on my windows.

    Hi, I have the problem which iTunes cannot detect my iPhone 4s. I tried the steps you have provided in your troubleshooting, but it won't work for me because the Apple Mobile Devilce is perfectly installed on my windows. However, the driver "Microsoft teredo Tunneling adapter" has a yellow exclamation mark, which i believe means it's not installed correctly or something is wrong with it. This driver is under the Network Adapters (Please see picture below).
    This is what happens when I connect my iPhone 4s to my laptop (Windows 7 Starter 32-bit)
    1. The phone charges it's battery
    2. I can open it in My Computer and import/export media files.
    In iTunes
    3. It start to sync until step 3 then stops.
    4. The iPhone option with an arrow appears beside the iTunes Store, but when the arrow is clicked it disappears.
    I hope you can provide me a solution for this problem.
    Thanks,
    Ralph

    Hi ralphagir,
    Welcome to the Apple Support Communities!
    For your iTunes issue with it not recognizing your iPhone, I would go ahead and suggest deleting iTunes and all of its components from your Windows computer and installing fresh.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Remove iTunes and related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    As far as the arrow button that you click and the iPhone disappears, it sounds like you may be clicking on the eject button. Please take a look at the following article for information on the eject button in iTunes.
    Safely disconnect iPod
    http://support.apple.com/kb/HT1853
    Have a great day,
    Joe

  • I forgot my password and am trying to reset my ipod,but it won't work. It says that my ipod is in recovery mode and that I must restore it. I click ok, and then restore, and then restore and update. then it says contacting ipod software update server and

    I forgot my password and am trying to reset my ipod, but it won't work.It says that my ipod is in recovery mode and that I must restore it. I click ok, and then click on restore and update. Then it says connecting ipod software update server and a screen pops up with ipod software update on the top and iOS 5.1. It lists a bunch of stuff this update contains and on the bottom it says next, which I click and nothing happens, it just goes back to the ipod restore page. Help, what am I doing wrong?

    This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
    Update to the latest version of iTunes. Mac OS X 10.5.8 (Leopard) users may need to download iTunes 10.6.3.
    Third-party security software or router security settings can also cause this issue. To resolve this, followTroubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to performunauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
    Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
    Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw.

  • I have an ipad air and I'm trying to set up a telus email on it but it won't work. I keep getting a message saying username or password for IMAP is incorrect...please help!

    I have an ipad air and I'm trying to set up a telus email on it but it won't work. I keep getting a message saying username or password for IMAP is incorrect...please help!

    This has nothing to do with iPhoto. When I have this type of problem I call tech support for my email service. They probably are the only source of the correct settings
    LN

Maybe you are looking for