OT: Need help on menu, please (JavaScript)

Hi there and thanx for your help so long.
My question is about this menu:
http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu
I must say that I really need this to work.
My effort is here:
www.energywa.co.za/layout/
It works beautifully in IE but not as beautifully in FF and Chrome.
Problem:
By just putting in the adress as above, the coloured boxes do not appear at all. They only appear when I click on the Home link at the top of the page or I type www.energywa.co.za/layout/index.php in the address bar.
It does this on my local machine as well as the server where it is hosted on.
What bugs me is that it works perfect from the writer's site in all 3 browsers. Unfortunately there is no support forum on the site and I have alrwady mailed the writer but had no luck yet.
Can someone please help me? I am in the process of learning JavaScript but can only copy & paste at the moment. ;-)
Thank you so long.
Deon

Hi Gary.
I eventually got it to work. There is still a lot of clutter in the script which I need to sif through, but it works! I am so relieved. I used the files another person modified (from the link I posted) and changed them here and there.
I also still need to get my menu to the left, but that should be easy.
You can again have a look at www.energywa.co.za/layout
It works in IE, FF and Chrome.
Thanx very much again for all your help. I don't know what exactly fixed it, but it is there somewhere.
Regards,
Deon

Similar Messages

  • I'm trying to reinstall Logic Pro 9, and it says It's already installed. I have a project due for class and I need help asap. Please help!!!

    I'm trying to reinstall Logic Pro 9, and it says It's already installed. I have a project due for class and I need help asap. Please help!!!

    Yea I am. I deleted Logic Pro 9 and moved the App to the Trashcan like normal. Then when I go to install it, it says its already Installed. When I do this with other apps; it works fine, the install thing comes back up like it should once you have deleted the app

  • My iPhone4s turned itself off and will not turn back on unless it is charge data all times. I need help and answers please.

    My iPhone4s turned itself off and will not turn back on unless it is charged at all times. I need help and answers please.

    And we would need more info. "will not turn back on unless it is charged at all times." is pretty obvious: the phone will obviously not turn on unless it is charged.
    Describe your problem clearly.

  • I have need help with something Please respond Quickly :)

    I have need help with something Please respond Quickly  ok so i have the linksys wrt54g Version 2.2 and i upgraded the firmware to V4.21.4 from this site http://homesupport.cisco.com/en-us/wireless/lbc/WRT54G and i clicked V2.2 for the router. So after i upgraded i lost internet ability i can't use the internet so i had to downgrade back to V4.21.1 but i want the things that newer update sloves. Please Help. Everything thing says DNS error? aka Modem.
    $$Cgibbons$$

    Ya i tried that i tried restoring and redoing everything when i downgrade back to .1 it works fine though?
    $$Cgibbons$$

  • Need help translating menu from as2 to as3

    Ive been at this for a week now, trying to build a
    straightforward accordian menu, translating an existing as2 menu
    into as3. I desperately need help, I've reach my conceptual ends in
    terms of code knowledge. Could someone please take a look at what
    I've got and what I need to do to get it working? I've included the
    AS3 file I've been working on and well as the AS2 files I've been
    referencing and attempting to translate. Any help really be
    appreciated...also, here is the code I have so far below.

    you have a 4 enterframe loops running continually when they
    only need to run after a menu item has been clicked and can stop
    after all menu items have reached their final positions.
    and you need to compute the final positions for each menu
    item after one of them is clicked.
    you might do better to check for an as3 tutorial for an
    accordian menu. it's a bit more involved than you're thinking.

  • Need Help in Urgent please~

    Hello! Need help please~ I cannot erase and partition disk in disk utility. It always alert message that" Partition Failed with error. Couldn't open device". How can I fix this? Help please~

    Try this procedure:
    http://osxdaily.com/2012/03/05/fix-partition-failed-error-mac/

  • Need help on menu list logic

    Thanks in advance!
    I need help on a menu list logic.
    There's this main menu which has 6 list buttons, and second
    list with 4 buttons.
    When I press on one button, it should load the next list.
    Problem I have here is when I click on the one button, it
    clears the previous main list buttons (which is what I want). On
    the second list, it only shows the last button, aka 4th button.
    I've attached my code here below, which is in the first
    frame.

    After posting this the solution hit me.
    I had to pass the parameter for the createButton as a "_root"
    instead of "this"

  • Help with menu please

    Hello All,
    I'm hoping someone can help me out with an iWeb issue. I don't usually do stuff in iWeb (I prefer to build my sites from scratch - or relative scratch lol - using Dreamweaver or the like) but I have a client whose ultimate goal is to be able to do websites updates themselves and wanted me to set up a site using a simple template program (and also didn't want to spend the money for a built-from-scratch site) so we went with iWeb.
    I have the site 99% complete, but I need to add some functional flare and don't know how to do it with iWeb. What I need is this:
    I have a page with a list of name, when I scroll over the names I need for an image to the left of the list to change to correspond with the name I have just moused over. I know how to build this feature in normally, but even putting my already iWeb created page into Dreamweaver doesn't work right, and I don't seem to have full editing capabilities.
    Now I have seen some really cool sites that people have built with iWeb, and they seem to have managed to add all kinds of things to their site that I can't figure out how to do. So I'm hoping someone can help me out with this.
    I'm thinking about just building this page seperately from iWeb, but that's sort of going to defeat the purpose of using iWeb in the first place.
    Thanks in advance for any advice.

    Hi Babdi. Thanks for reply. I do have manual & have downloaded latest pdf. I know I need: MENU | SETTINGS | CONNECTIVITY | USB DATA CABLE | NOKIA MODE. Thing is I can't see where selection is - no screen. Instruction sequence needed in form: MENU | DOWN, DOWN, DOWN, OK | DOWN,DOWN,OK | DOWN, OK | OK . I could then follow this sequence *blind* with the 5200 connected to PC via USB cable so PC will detect it at right point in menus. Any further help much appreciated. Thanks, J.

  • HT3702 need help with purchase please!!!

    My husband mistakenly hit the purchase button las night for an apple app and now it has been taken out of our account, but was deleted off the phone as soon has he realized that he hit the purchase button how do we get a refund please we need HELP!!!

    All sales are final
    You can try contacting itunes and asking for an exception

  • MAC keeps crashing?  NEED HELP!! please

    i found a previous forum on here that people were having the same issue, but lets just say i need help for dummies.  Here is the error message i get when safari crashes:
    Exception:  EXC_BAD_ACCESS (0x0001)
    Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xe8240489
    There is actually a lot more to it but i was just trying to search based on this criteria above.  Anyone help?  im not the most computer literate, but i have tried simple things like clearing the cache, emptying old bookmarks etc that take up room.  any other suggestions? I have safaro version 4.1.3 if that helps

    here is the rest of the crash.  i still didnt trash anything bc i wasnt sure how/why that would be able to fix it? is this bad??  it happened when i was just on a regular internet browser (ESPN, MSNBC, etc)
    Thread 0 Crashed:
    0   com.apple.CoreFoundation            0x90826220 CFGetTypeID + 17
    1   com.apple.CoreFoundation            0x908260b4 __CFPropertyListIsValidAux + 52
    2   com.apple.CoreFoundation            0x9083eaec __CFPropertyListIsArrayPlistAux + 44
    3   com.apple.CoreFoundation            0x9083eaa8 CFArrayApplyFunction + 307
    4   com.apple.CoreFoundation            0x9082619f __CFPropertyListIsValidAux + 287
    5   com.apple.CoreFoundation            0x9082699a __CFPropertyListIsDictPlistAux + 74
    6   com.apple.CoreFoundation            0x90826935 CFDictionaryApplyFunction + 218
    7   com.apple.CoreFoundation            0x908261e9 __CFPropertyListIsValidAux + 361
    8   com.apple.CoreFoundation            0x9082699a __CFPropertyListIsDictPlistAux + 74
    9   com.apple.CoreFoundation            0x90826935 CFDictionaryApplyFunction + 218
    10  com.apple.CoreFoundation            0x908261e9 __CFPropertyListIsValidAux + 361
    11  com.apple.CoreFoundation            0x9082699a __CFPropertyListIsDictPlistAux + 74
    12  com.apple.CoreFoundation            0x90826935 CFDictionaryApplyFunction + 218
    13  com.apple.CoreFoundation            0x908261e9 __CFPropertyListIsValidAux + 361
    14  com.apple.CoreFoundation            0x90825b54 CFPropertyListIsValid + 69
    15  com.apple.CoreFoundation            0x9083e8ae CFPropertyListWriteToStream + 176
    16  com.apple.Safari                    0x0016654e 0x1000 + 1463630
    17  com.apple.Safari                    0x00099466 0x1000 + 623718
    18  com.apple.Safari                    0x00099403 0x1000 + 623619
    19  com.apple.Safari                    0x0003fcb7 0x1000 + 257207
    20  com.apple.Safari                    0x0003fc6e 0x1000 + 257134
    21  com.apple.Safari                    0x002bd770 0x1000 + 2869104
    22  com.apple.Safari                    0x0003fc27 0x1000 + 257063
    23  com.apple.CoreFoundation            0x9082d756 CFRunLoopRunSpecific + 3341
    24  com.apple.CoreFoundation            0x9082ca42 CFRunLoopRunInMode + 61
    25  com.apple.HIToolbox                 0x92e01878 RunCurrentEventLoopInMode + 285
    26  com.apple.HIToolbox                 0x92e00f82 ReceiveNextEventCommon + 385
    27  com.apple.HIToolbox                 0x92e00dd9 BlockUntilNextEventMatchingListInMode + 81
    28  com.apple.AppKit                    0x93286f45 _DPSNextEvent + 572
    29  com.apple.AppKit                    0x93286b37 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
    30  com.apple.Safari                    0x0000f6f9 0x1000 + 59129
    31  com.apple.AppKit                    0x932808c4 -[NSApplication run] + 512
    32  com.apple.AppKit                    0x93274820 NSApplicationMain + 573
    33  com.apple.Safari                    0x0000749b 0x1000 + 25755
    34  com.apple.Safari                    0x0010e512 0x1000 + 1103122
    35  com.apple.Safari                    0x00007219 0x1000 + 25113
    Thread 1:
    0   libSystem.B.dylib                   0x90024407 semaphore_wait_signal_trap + 7
    1   com.apple.JavaScriptCore            0x0050ade0 ***::ThreadCondition::wait(***::Mutex&) + 24
    2   com.apple.WebCore                   0x015eadd0 WebCore::IconDatabase::syncThreadMainLoop() + 256
    3   com.apple.WebCore                   0x015e8856 WebCore::IconDatabase::iconDatabaseSyncThread() + 192
    4   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 2:
    0   libSystem.B.dylib                   0x90009817 mach_msg_trap + 7
    1   com.apple.CoreFoundation            0x9082d227 CFRunLoopRunSpecific + 2014
    2   com.apple.CoreFoundation            0x9082ca42 CFRunLoopRunInMode + 61
    3   com.apple.Foundation                0x928585da +[NSURLCache _diskCacheSyncLoop:] + 206
    4   com.apple.Foundation                0x927fbcfc forkThreadForFunction + 123
    5   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 3:
    0   libSystem.B.dylib                   0x90009817 mach_msg_trap + 7
    1   com.apple.CoreFoundation            0x9082d227 CFRunLoopRunSpecific + 2014
    2   com.apple.CoreFoundation            0x9082ca42 CFRunLoopRunInMode + 61
    3   com.apple.Safari                    0x00026c6d 0x1000 + 154733
    4   com.apple.Safari                    0x00026b26 0x1000 + 154406
    5   com.apple.Safari                    0x00026aab 0x1000 + 154283
    6   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 4:
    0   libSystem.B.dylib                   0x90009817 mach_msg_trap + 7
    1   com.apple.CoreFoundation            0x9082d227 CFRunLoopRunSpecific + 2014
    2   com.apple.CoreFoundation            0x9082ca42 CFRunLoopRunInMode + 61
    3   com.apple.Foundation                0x9283139c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 259
    4   com.apple.Foundation                0x927fbcfc forkThreadForFunction + 123
    5   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 5:
    0   libSystem.B.dylib                   0x90019d0c select + 12
    1   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 6:
    0   libSystem.B.dylib                   0x90024407 semaphore_wait_signal_trap + 7
    1   com.apple.Foundation                0x92851c60 -[NSConditionLock lockWhenCondition:] + 39
    2   com.apple.AppKit                    0x9335dcb4 -[NSUIHeartBeat _heartBeatThread:] + 377
    3   com.apple.Foundation                0x927fbcfc forkThreadForFunction + 123
    4   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 7:
    0   libSystem.B.dylib                   0x90024407 semaphore_wait_signal_trap + 7
    1   com.apple.Foundation                0x92851c60 -[NSConditionLock lockWhenCondition:] + 39
    2   com.apple.Syndication               0x998e979e -[AsyncDB _run:] + 181
    3   com.apple.Foundation                0x927fbcfc forkThreadForFunction + 123
    4   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 8:
    0   libSystem.B.dylib                   0x90024407 semaphore_wait_signal_trap + 7
    1   com.apple.JavaScriptCore            0x00510742 ***::ThreadCondition::timedWait(***::Mutex&, double) + 74
    2   com.apple.Safari                    0x002ddd66 0x1000 + 3001702
    3   com.apple.Safari                    0x002dde5c 0x1000 + 3001948
    4   com.apple.Safari                    0x0003a0cd 0x1000 + 233677
    5   com.apple.Safari                    0x0003a02f 0x1000 + 233519
    6   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 9:
    0   libSystem.B.dylib                   0x90024407 semaphore_wait_signal_trap + 7
    1   com.apple.ColorSync                 0x915a96ab pthreadSemaphoreWait(t_pthreadSemaphore*) + 35
    2   com.apple.ColorSync                 0x915c3ddc CMMConvTask(void*) + 60
    3   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 10:
    0   libSystem.B.dylib                   0x90009817 mach_msg_trap + 7
    1   com.apple.CoreFoundation            0x9082d227 CFRunLoopRunSpecific + 2014
    2   com.apple.CoreFoundation            0x9082ca42 CFRunLoopRunInMode + 61
    3   com.apple.audio.CoreAudio           0x91469356 HALRunLoop::OwnThread(void*) + 158
    4   com.apple.audio.CoreAudio           0x91469171 CAPThread::Entry(CAPThread*) + 93
    5   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 11:
    0   libSystem.B.dylib                   0x90024407 semaphore_wait_signal_trap + 7
    1   com.apple.JavaScriptCore            0x00510742 ***::ThreadCondition::timedWait(***::Mutex&, double) + 74
    2   com.apple.WebCore                   0x018bb8d2 WebCore::LocalStorageThread::threadEntryPoint() + 170
    3   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 12:
    0   libSystem.B.dylib                   0x90009817 mach_msg_trap + 7
    1   com.apple.CoreFoundation            0x9082d227 CFRunLoopRunSpecific + 2014
    2   com.apple.CoreFoundation            0x9083e100 CFRunLoopRun + 60
    3   com.apple.QuickTime                 0x943329b9 QTSNetworkThread_RunThread + 131
    4   libSystem.B.dylib                   0x90023d67 _pthread_body + 84
    Thread 0 crashed with X86 Thread State (32-bit):
      eax: 0x39e6292b  ebx: 0x9082621d  ecx: 0x221acc60  edx: 0x00000001
      edi: 0x39e6292b  esi: 0x39e6292b  ebp: 0xbfffe988  esp: 0xbfffe960
       ss: 0x0000001f  efl: 0x00210286  eip: 0x90826220   cs: 0x00000017
       ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037

  • Just installed security update 2014-002, now Itunes will not open. Have rstrated but no change, need help to fix, please

    Just installed security update 2014-002, now Itunes will not open, I have rebooted twice with no effect, I don't know what else to do to get my itunes back. Need help please

    Believe I've firxed my problem, at least, ITunes is now working again. I followed the information provided from a couple of posts on this thread, (1) re restarting with command-s held down; did it twice, made no differerence; (2) manually re-installed the Security update; no difference; each time restarting, no effect; (3) shutdown the computer; I did for 35 minutes, upon restart, ITunes is back to normal, seems to be working fine. Turning the computer off must clear the cache?

  • IPhone 5 screen wont turn on. (Need help or info, please and thank you.)

    So i got an Iphone 5, and i accedently droped it in the sink. i took it out, whipped it off,  i put it in my pocket and left it alone.
    the next day the screen was not working, moments later, it(Iphon5) turned off.  tried turnng it back on but it wouldnt work.
    so, again i left it. everything still works, its just that the screen wont turn on, i could still play music snapshot stuff,
    but my screen wont tun on.
    I NEED HELP.

    I don't beleive this is a known problem and you should probably bring your phone to a local Genius Bar (make an appointment here) as this is likely a hardware issue (a problem with your phone realizing that you removed it from your ear).
    If you're willing to tinker with it a bit, you can determine if this is a software issue by backing up your iPhone (separately ensure your photos, videos and music is backed up) and then "Restore" your phone. If the restoration solves the problem, you're dealing with a software issue. If the problem still exists, you're almost definitely dealing with a hardware issue.

  • HT201210 when i try to update my ipod touch 4th gen to ios 6.1.2 an error keeps popping up saying the back up was corrupt and to delete last back up how do i do that i need help soon! please help

    i need help asap because i keep getting kicked off of facebook and twitter because of the update in the software.

    On the computer go to iTunes>Preferences>Devices and select the backup and click on delete.
    For more information see:
    iOS: Troubleshooting backup issues in iTunes

  • Help needed with CSS menu please

    Hello
    Could someone give me a hand with a CSS menu I am struggling
    with please?
    I want each of the blue menus to have a black border around
    it (so 4 borders in total). And how do I make each menu have a
    closer gap? I need them squashed up a little bit more vertically.
    The code is as follows -
    <style type="text/css">
    #ddblueblockmenu{
    width: 179px;
    border-top: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    border-bottom: 0 solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    #ddblueblockmenu ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font: normal 75% 'Trebuchet MS', 'Lucida Grande', Arial,
    sans-serif;
    border: #000000;
    #ddblueblockmenu li a{
    display: block;
    padding: 5px 0;
    padding-left: 9px;
    width: 169px; /*185px minus all left/right paddings and
    margins*/
    text-decoration: none;
    color: white;
    background-color: #2175bc;
    border-bottom: 11px solid #FFFFFF; /*change border gap size
    here*/
    /*border-left: 1px solid #1958b7;
    * html #ddblueblockmenu li a{ /*IE only */
    width: 187px; /*IE 5*/
    w\idth: 169px; /*185px minus all left/right paddings and
    margins*/
    #ddblueblockmenu li a:hover {
    background-color: #2586d7;
    border-left-color: #1c64d1;
    #ddblueblockmenu div.menutitle{
    color: white;
    border-bottom: 1px solid black;
    padding: 1px 0;
    padding-left: 5px;
    background-color: #FFFFFF;
    font: bold 60% 'Trebuchet MS', 'Lucida Grande', Arial,
    sans-serif;
    </style>
    <body>
    <div id="ddblueblockmenu">
    <ul>
    <li><a href="whoarewe.htm"><strong>What We
    Offer</strong></a></li>
    <li><a
    href="guidelines.htm"><strong>Professional
    Guidelines</strong></a></li>
    <li><a
    href="workshops.htm"><strong>Workshops</strong></a></li>
    <li><a href="contactus.htm"
    style="border-bottom-color: white; font-weight:
    bold;">Contact</a></li>
    </ul>
    </div>
    </body>
    </html>
    Any help is very greatfull appreciated!!
    Tom

    "Gary White" <[email protected]> wrote in message
    news:[email protected]..
    > On Tue, 23 May 2006 11:42:13 +1000, ".: Nadia :. ACE :."
    > <[email protected]> wrote:
    >
    >>If you want a border the same color around the whole
    menu, you can use the
    >>short-cut method:
    >>
    >>border { 1px solid #FFF;}
    >
    >
    > Uh ...
    >
    > #ddblueblockmenu{
    > width: 179px;
    > border: 1px solid #fff;
    > }
    >
    um... that's what I meant... the OP had all four sides styled
    separately,
    with 0 for one side... but mentioned he wanted a border on
    all sides....
    hence my arrow pointing out the side that had 0 for border
    and what could
    be used as a shortcut method of styling the border....
    Maybe my post wasn't exactly clear ;-)
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html

  • Need help in Indesign scripting - Javascript

    Hi
    I have few questions during the indesign scripting.
    Please help me to answer those
    1. Targetting two engines.
    How to target Illustrator engine when the javascripts is running in indesign engine.
    2. Creating text in textframe
    How to create a text in textframe and uniquely identifying it for further updation of content of text.
    3. Creating form fields in Indesign
    How to create form fields in indesign through javascript so that after exporting to PDF it can be modified.
    4. Access method
    How to access methods defined in start up script from the our own cript folder.
    Thanks
    Karthik B

    1. I have No Idea what you mean. Do you want an InDesign script "target" illustrator? Try Brigdetalk.
    2. Described in the Javascript Tools guide.
    3. No amount of scripting will make #3 possible. [*] If you "desperately" need this, write a plugin for it.
    4. I'm not sure, but as far as I know nothing special is needed for that. At least, not if your own script shares the same engine. If it doesn't, then there is no way because that's how it is supposed to work, and no amount of scripting can work around that.
    [*] Apart from writing a complete PDF engine in Javascript, that is. Based on your other questions, it's a fair bet that's not going to happen any time soon.

Maybe you are looking for