Help with Nav Bar insert

When I try to insert a Nav Bar, clicking OK in the Modify Nav
Bar window gives the following message:
"while executing onClick in Modify Nav Bar.htm, a JavaScript
error occurred"
Amateur user with no clue what this means,
Jon

Troubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
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
==================
"zaphron" <[email protected]> wrote in
message
news:f4phcu$rj3$[email protected]..
> When I try to insert a Nav Bar, clicking OK in the
Modify Nav Bar window
> gives
> the following message:
>
> "while executing onClick in Modify Nav Bar.htm, a
JavaScript error
> occurred"
>
> Amateur user with no clue what this means,
>
> Jon
>

Similar Messages

  • Help with Nav Bar using Action Script 3

    I am a flash NOOB to say the least.  Trying to teach myself.  Thank God for YouTube! LOL!  Anyway, I have build a Nav Bar for a site that has a sliding bar on the bottom of it that follows the mouse.  The problem with this nav bar is that when you change pages inside the site, the slider resets back to position X/Y = 0 and you really don't know what page you are on for sure without me having to identify each page in the page body itself.
    Does anyone know of a way using action script to have the URL of the page sent to flash and in turn use that URL to set the X and Y position of the slider to the appropriate X and Y of the button on the Nav Bar for the page the user is on?
    I have heard of using flash.external.ExternalInterface but now for sure how this really works nor if I can assign it to a variable for reference inside the action script.
    Any help would be appreciated greatly!!

    The Flash Nav Bar is at the top of each page.  But yes, when you click a button inside the flash nav bar it takes you away from your current page and loads a new one.  I am trying to tell the swf file which page it is on so I can set the X and Y position of the slider.
    You will have to excuse me if I am so noob that I loose any of your replies to this as just as Flash is new to me, so is the lingo.
    Thank you for your help.  I will research FlashVar but if you have any other ideas then I am open to them.

  • Help with MM_editCmd.CreateParameter insert syntax please

    In the past (I guess older ASP version maybe?), the
    automatically generated code that DW created using the "insert
    record" wizard allowed for easy editing and debugging within the
    SQL. I just installed CS3 and created a similar page and the code
    used to build the insert statement is quite different.
    Unfortunately, I'm not versed well enough in it yet!
    I can see how the SQL insert is being built:
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_wp_STRING
    MM_editCmd.CommandText = "INSERT INTO test (FName, LName,
    Company, Email, BPhone, BFax, MPhone, Props, regDate, Password,
    MBroker, MBID, Status, ARID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
    MM_editCmd.Prepared = true
    ...and then it appears to uses some scripting functions to
    build the values and replace the ?'s in the CommandText line:
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 202, 1, 255,
    Request.Form("FName")) ' adVarWChar
    What I'm struggling with is the values inside each Append
    line (202, 1, 255) and what the relate to AND more importantly, how
    I can insert my own variable here instead of the form field data.
    ex:
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 202, 1, 255, StrMyStringValue)
    ' adVarWChar
    I need help with the syntax. Would it be different if the
    variable holds a number value vs. text (assuming the field it's
    being inserted into hold numbers)
    Also, i USED to be able to add a handly little Response.Write
    before the execute insert line that would write the SQL insert
    statement to the screen and stop so that I could SEE where the
    issues were. I've tried:
    Response.Write(MM_editCmd.Parameters)
    Response.Write(MM_editCmd.CommandText)
    Just can't get the SQL text to display. Is the SQL insert
    statement not stored as a variable that i can call?
    Thanks VERY much for any help!

    You can use the concatenate() function to build up your string, as you no doubt know.
    As far as the wildcard goes ... your intention must be to try to SET the call variable and later on test the call variable with an IF node. Is that right?
    You would be able to test parts of the string using the substr() function - which is based on character position. If that is a fixed value that you know, it's easy. If it's not, you can first use the find() function to locate something (like the "_9"), returning the position, and then use the substr() function to pull it off.
    Can you write some pseudo-code here to define exactly your intention? You can set up a dummy script and send a dummy call through using Call Tracer and watch the output to see how your code is working.
    Regards,
    Geoff

  • Help with Unique Key Insert!!!

    I need help with this <<removed by moderator>>
    When i try to do an insert "A" into a DB table, the transaction fills the info on creation mode, but is not doing the same at modification mode.
    Here i send the insert, i don't if the problems comes from sintaxis:
    INSERT zpsprctr_det FROM TABLE it_planif ACCEPTING DUPLICATE KEYS.
    tabal base datos es la zpsprctr_det
    Any ideas please let me know
    Moderator Message: Gun-to-the-head-deadline removed
    Edited by: kishan P on Mar 31, 2011 12:24 PM

    Hi,
    with
    INSERT dbtable FROM TABLE itab ACCEPTING DUPLICATE KEYS.
    you will insert several lines in a database table from an internal table. Duplicate keys are ignored, the 1st entry is written.
    To update them, you should use
    MODIFY dbtable FROM TABLE itab.
    This updates all lines that are existing or inserts all lines that are still missing.  If you have duplicate keys here, the last entry will do the last update.
    Regards,
    Klaus

  • Help with code for inserting horizontal scroll bar in photo gallery in Business Catalyst site?

    Hi,
    I am using Business Catalyst and Dreamweaver to create a trial site.
    I am not sure if this is the correct forum to post this request but anyway I have inserted a photo gallery module at the bottom of the sidebar in the homepage of my test site.
    Can anyone advise on whether jquery or any other code can be inserted into the page or module code that will replace the "next" hyperlink below the first 4 photos with a horizontal scroll bar at bottom of the gallery so users can just scroll through all 12 images ?
    Kind Regards, Matt.
    http://craftime-bs6.businesscatalyst.com/

    Alyssa,
    Have you tried putting this rule back as it was originally:
    /* 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; /*was 9px*/
        color: #EF9CCF;
        background-color: #FFF;
    That is, changing your 9px back to auto.
    And giving  us a link (as you did) is much better than printing out the code for us! Thanks!
    Beth

  • Help please with nav bar!!

    Please could somebody help me?! I am still new to Dreamweaver and im changing my spry menu bar to something that will work properly on other devices BUT ive replaced the menu bar with a pure css menu bar which is now working great on other devices except now when clicking on any of the buttons a new window is opened rather than the button just navigating to that page. How can i make it open other pages on the same window?
    Ive only applied the new menu bar to the index page - www.milesfunerals.com

    I'm not seeing what you describe in Firefox or IE on Windows7 or on my iPhone.
    Did you already repair this, or am I missing something?
    Each link I click on in all of the browsers mentioned brings me to the page as expected. No new window or tab is being opened.

  • Help with html code - inserting video into Muse

    I am seeking help writing the code to insert a video into Muse. I uploaded video into my Business Catalyst hosting. I need it to autoplay, loop and not show any controls or frames.
    When I host video on Vimeo or YouTube, I see markings on the video that is why I am trying to just host in the same place that the files are stored for my website. If there is a way to host on youtube with out any markings showing up on the video I would be open to that too.
    I don't want to see any play button or time bar.
    Thanks in advance!!

    Hello,
    Just as an FYI - we also have an HTML5 video tool over at MuseThemes.com that achieves this, but works on mobile devices as well. The link above looks like it uses Flash, which isn't common anymore since the release of HTML5 based video.
    Simply drag the widget out onto your canvas, and link up your videos / set options like loop, controls visible, etc. It's quite a flexible widget, and there's a complete training video included so you don't get stuck
    Check out the widget here
    Just wanted to provide another alternative that could be helpful. Cheers!
    Steve Harris
    MuseThemes.com

  • Help with stacked bar chart

    Hello,
    I'm looking for help regarding horizontal stacked bar chart. Typically for stacked bars Publisher seems to want data for each stacks per row, but my data looks like this:
    <DATA>
    <ROW>
    <TYPE>Type 1</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 2</TYPE>
    <CLASS>B</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 1</TYPE>
    <CLASS>B</CLASS>
    <TOTAL>20</TOTAL>
    </ROW>
    <ROW>
    <TYPE>Type 2</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>10</TOTAL>
    </ROW>
    <TYPE>Type 3</TYPE>
    <CLASS>A</CLASS>
    <TOTAL>40</TOTAL>
    </ROW>
    </DATA>
    So each bar would be the TYPE element, and each stack within the bar would be the CLASS element.
    Here is a very crude drawing of what I would want the chart to look like: http://i.imgur.com/3gEdEQ5.png
    How can I achieve this? Thanks in advance.

    Jody,
    I'm sorry that I missed that you didn't want an overlay solution. You wrote it plainly, I just didn't read carefully.
    This is as close as I could come to how I now read your request:
    Here I have charted your Actual and a column of zeros that I have called the Goal Reference. The last column contains the goal values and I have used them as Positive Custom Error Bars for the Goal Reference series. I'm not thrilled with the look, but unless I know for sure that I'm on the right track, I'll leave it there for now. The width difference between the goal and the actual can be adjusted.
    Jerry

  • Help with nav buttons please

    Hey there, i've recently been following a tutorial and I have come across a problem with the AS for the nav buttons,  http://www.flash-game-design.com/flash-tutorials/basic-flash-website-tutorial-6.html, the tutorial says to write:
    btnabout.onRelease = function(){
        content.gotoAndStop("about")
    btnport.onRelease = function(){
        content.gotoAndPlay("port")
    btncont.onRelease = function(){
        content.gotoAndStop("contact")
    I have done this and it came with an error saying needs to be in handler, so i re-entered this:
    btnabout.on(release) = function(){
        content.gotoAndStop("about")
    btnport.on(release) = function(){
        content.gotoAndPlay("port")
    btncont.on(release) = function(){
        content.gotoAndStop("contact")
    This code then came back with a Expected a field name after '.' operator.  btnabout.on(release) = function(){ can anyone please help me i'm starting to pull hairs out?!
    Thanks
    P.S it must be AS 2.0 as that is what my portfolio page uses.

    The problem with the first attempt was not the code, but where you placed it.  That code needs to be placed on the timelinein the same frame as where the buttons are  (preferably in a separate 'actions' layer).  This approach is the better approach than trying to place the code on the objects because it keeps all code in a single easy to find location... the timeline.
    For the second attempt, assuming you were still trying to attach the code to the buttons, you should change the code to....
    on(release) {
        content.gotoAndStop("about")
    on(release){
        content.gotoAndPlay("port")
    on(release){
        content.gotoAndStop("contact")
    but.... each of those needs to be attached to the button associated with it and not grouped together.  This is an older style of coding that is best avoided due to ending up with code hiding on objects.

  • Help with stacked bar charts

    Help..................
    I am definitely missing something.
    I want to do something like the attached, stacked bar chart example.  This is pretty much
    one of the examples.
    What I need is for a horizontal chart instead of a vertical.  When I right click the legend and
    chose bar charts, it only shows vertical.  After messing with this for a couple of hours,
    I give.
    Any suggestions would be much appreciated.
    Attachments:
    Stacked Bar Graph.vi ‏43 KB

    Another stacked bar graph plea for help!
    My scenario: I am recording 3ph current values (red, yellow, blue) on multiple circuits for some electrical tests we do.
    I want to present this data on a screen that is most visible from a distance, so the approach I have taken when I last wrote the software in Delphi was to have each 3 ph circuit represented by a 3 channel bar chart where the three channels are stacked front to back in order of magnitude. This allowed me to add multiple 3 channel circuits next to these to fill the screen from left to right.
    See attached Excel file to make it clear. I hope!
    The main issue I see is that the colour of plot needs to move front to back with the magnitude. ie Red is not always the front plot, it is the 'smallest' of the three plots that stays at the front.
    Some tests we do, may have 12 x 3ph circuits of this type which fills the screen up and can make it very busy. Rather than having 36 plots left to right, by stacking them in groups of three, I reduce the left to right number to 12 plots. The screen can then be viewed from a distance much easier.
    Any suggestions? I am expecting I will need to write my own routine for this, which if I do, i am quite happy to share when complete.
    See (and run) the attached LabVIEW code of my progress so far.
    thanks  Adam
    Message Edited by tca-adam on 11-16-2006 01:27 PM
    Attachments:
    Stacked Bars example.xls ‏24 KB
    Create CurrBal Graph Data.vi ‏21 KB

  • Help with efficiency for insert/get methods?

    I am not an expert when it comes to run times and I am wondering what the most efficient data structures would be for a program I am making. I need to:
    Go through a large document in which each line is formatted as: (String Integer), and add the string & integer to some sort of data structure. The list of string/integers is large and I need to be able to access the information in the data structure efficiently. Right now I am using a scanner to read the doc and a TreeMap<String, Integer> to store the info. The get method for the TreeMap is fine, but processing the document is a little slow.
    What do you think? TreeMap, hashing, balanced search tree? Remember, the insert and get methods are the two that need to be most efficient.

    Why are you using a TreeMap? Is the order of iteration important to you?
    If not, then you can probably get better performance using a HashMap, properly configured. The TreeMap has O(n) performance for get/put. while HashMap has constant-time performance. If you properly configure the initialCapacity and loadFactor for the HashMap you can get very efficient puts by reducing the number of re-hashes that are needed during map-growth. Note that if you retrieve the data from the Map using an iterator (rather than just calling get()) then you have to be more careful with these settings because they affect the total number of buckets - which can affect the speed of iteration.
    You should also run your code through a profiler. Are you sure that the put() operation is the slow step when reading from the file? It may be that your file access is really the slow step, and so modifying the data structure would have little or no effect. You might consider different methods for accessing the file data, perhaps something from thew NIO package would help speed things up (I am not particularly sure though - I am not very familiar with NIO).

  • Help with Detail entity Insert with row key null cannot find or invalidate

    Hi,
    My Problem:
    I have created a form in JDeveloper ADF. This form is based on the Table Name IT_HARDWARE. The IT_HARDWARE keep track of all the hardware and it is in the relationship with the IT_SYSTEM table, IT_LOCATION, EMPOYEES. So the IT_HARDWARE has a FOREIGN KEY from IT_SYSTEM (SYS_ID), IT_LOCATION (LOC#), EMPLOYEE (EIP#).
    When I create a form to insert data into this form, I receive message "Detail entity ItHardwareInsert with row key null cannot find or invalidate its owning entity."
    I tried all possible to understand what is causing this and I can't find it. Can someone help me?

    Than you for the link, I appreciate it. I kind understand the root of the problem, but since I am new to JDeveloper, I am getting trouble to solve the problem. I am going to read and understand what is going on. Thank you for the link.

  • Help with navigation bar please.

    Hello, and thanks for your time. Im using Fireworks cs3 to make a navbar, but cant seem to get it to work. Im following this tutorial:
    http://www.bestechvideos.com/2008/09/02/adobe-cs-create-a-navigation-bar-in-fireworks
    My problem is, Im trying to make 5 buttons in the navbar, utilising an up/over and down state. When I try to navigate with them, (Im not too advanced
    either in ability or with the site itself) in a couple of test pages, my up and over states are fine, but the down state is not present, and, when I press the
    back button and return to the page Ive just clicked out of..my down button is working...but in the previous page. Im trying to get this for a school
    assignment and am hoping someone can put me right before I lose all my hair, thanks again.

    readysteady101 wrote:
    Hello again Pixlor, and thanks again. I understand what your saying about coding in Fireworks, but when I try to make my up/down/over buttons work just using Dreamweaver to make the navbar only the up/over work. Am I missing something simple. Im going through the proper procedures as far as I can tell, but when I view the pages in my browser the same problem persists
    I am trying to keep it simple but pop-up menus and active buttons are assignment requirements, but we didnt get too far into all that before the Easter holidays, all worked well in school but now nothing but problems. Thanks again for help, much appreciated
    I'm sorry I wasn't able to give you the answer you needed, though.
    EDIT: Well, finally got things to work. Needed to pay a bit more attention to detail and spent lots more time on this than I should have, but very happy with the result. I wasnt exporting "multiple files for use without frames" but once that glitch was ironed out all is well.
    Thanks for your efforts Pixlor, sometimes software sux, but when it works out we do tend to forget the frustration we suffered while getting there
    Yay for working menus, but a big round, "like that's clear!!" for the detail you needed to have checked. On the plus side, you probably won't ever forget this tidbit of information!
    I'm so glad it you got it worked out!

  • Plz. help with strange date insertions in access???

    HELLO all,
    i noted a strange thing, when i insert into access table the date it swaps the month and day part for some reason in some records .
    why is this happening,
    plz. help.
    code is as follows
    Calendar cal = Calendar.getInstance();
                                            cal.add(Calendar.DAY_OF_MONTH,-1);
                                            System.out.println(""+cal.getTime());
              //this swaps                         SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy")
    //this swaps too
         //SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
                                            String currentdate = dateFormat.format(cal.getTime()); // formats your date
    custom date is dd/mm/yyyy in table

    Hi vykalra1,
    As far as I know, the way dates (and times) are stored in a Micro$oft Access database has nothing to do with the display format. The format is only used for displaying the date that is stored in the Access table.
    A "field" with "Date/Time" datatype in an Access table maps to the "java.sql.Timestamp" class. Therefore, in order to insert a value into a "Date/Time" (Access) "field", you need to create a "java.sql.Timestamp" object. According to the javadoc, the "java.sql.Timestamp" constructor takes a parameter of type "long" (i.e. java primitive type) -- which represents the number of milliseconds since midnight, 1st January, 1970.
    Therefore, you don't really need to use "Calendar" or "SimpleDateFormat".
    As I understand it, you are trying to insert yesterday's date into your table. Below is an example using a sample table that has two fields -- 'name' and 'updated' -- which (hopefully) will help you. Note how I determine yesterday's date -- using millisecond calculations only.
    The below code was compiled and tested on Windows XP with J2SE SDK 1.4.1_02 and Micro$oft Access 2002.
    import java.sql.*;
    public class JdbcOdbc {
      public static void main(String[] args) {
        Connection dbConn = null;
        PreparedStatement stmt = null;
        String sql = "INSERT INTO Table1 (name, updated) VALUES (?, ?)";
        try {
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          dbConn = DriverManager.getConnection("jdbc:odbc:db1");
          stmt = dbConn.prepareStatement(sql);
          stmt.setString(1,"vykalra1");
          long now = System.currentTimeMillis();
          long millisecondsInOneDay = 1000 * 60 * 60 * 24;
          long yesterday = now - millisecondsInOneDay;
          stmt.setTimestamp(2, new Timestamp(yesterday));
          stmt.executeUpdate();
        catch (SQLException sqlEx) {
          System.err.println("Database operation failed.");
          sqlEx.printStackTrace();
        catch (ClassNotFoundException cnfEx) {
          System.err.println("JDBC driver class not found");
          cnfEx.printStackTrace();
        finally {
          if (stmt != null) {
            try {
              stmt.close();
            catch (SQLException sqlEx) {
              System.err.println("ERROR: Failed to close statement");
              sqlEx.printStackTrace();
          if (dbConn != null) {
            try {
              dbConn.close();
            catch (SQLException sqlEx) {
              System.err.println("ERROR: Failed to close DB connection");
              sqlEx.printStackTrace();
    }Good Luck,
    Avi.

  • Need help with progress bar !!!!!!!

    Is ther anyway to display the progress of functions, which I created in my application, through a progress bar ... while the results are being computed with my alogs..
    They are quite long and it takes quite sometime for the results to generate and user shud see that something is working ... while he waits and shud feel that nothing is happening ....
    The progress shudnt necessarily be measurable ... a non measurable progress bar will also do .... Jst want to show that some activity is goin on at the back ...
    My algo consist of functions :
    for (i = 0 ; i < = 6 ; i++)
    my function 1 (my parameters) {} - called 10 times each time the i increments with different parameters
    my function 2() {} - called 10 times ....
    my functions 3() {}   - called 10 times IF somebody know how to do it ... please help meee......... its urgent

    Are you posting this on your cell phone? There seems to be something horribly wrong with your keyboard or your auto complete for your words, as it is, I could barely understand what you were asking. If that is the way you actually spell, then I doubt anyone could help you, maybe you should just step away from the keyboard or what ever device it is your are using to input, because it's correct operation seems to escape you--will you actually be able to comprehend a solution if it is presented?
    But on the outside chance that you may be a savant, and just cannot form sentences and words properly, here is an idea...
    Ages ago, long before you were ever an itch in your parents'... you get the picture...
    They used to say: "Hey, I'm going to be doing a lot of processing or repetitive tasks and maybe between each task I should do something to let the user know the process is running and not just locked up."
    Even a status bar needs you to do something between each process, you have to make it do something between executions of tasks.

Maybe you are looking for

  • Acrobat Reader XI with Acrobat 8 Pro on one machine

    I want to install Acrobat Reader XI on a machine that has Acrobat 8 Pro installed. I need the Acrobat 8 for my old version of AutoCad but I also need to use Acrobat Reader XI. Is it possible to have these two on one machine? Is there any special setu

  • DWLoader works in SSIS Execution Process Task?

    Does anyone knows if PDW's DWLoader works in SSIS Execution Process Task? Is there a sample? I struggle to find documentation on using DWLoader.exe in Execution Process Task (EPT) of SSIS. There are articles in PDW BOL about DWLoader.exe or SSIS to l

  • How to create a user using XML and specifying addional attributes that are objects

    I'm trying to create a user using XML and specifying some attributes that are objects and not sure how to do it. How would I set the DirectoryUserAcl to Public? Here's the xml file: <?xml version = '1.0' standalone = 'yes'?> <SimpleUser> <UserName>mi

  • Sum(amount) from 4 tables in sql

    Hi, Everyone, I have 4 tables which has pr_code,amount in each table. I need the sum(amount) for each pr_code from all the four tables? How could i write a sql to achieve this? Please help! Regards Su

  • Blackberry Torch

    Will Verizon offer the Blackberry Torch.  If so, when?