perform a function javascript on a linked page

I have a page (one.html) which has a javascript function named rocker. on the page, it passes a variable to the function using onClick. for example, onClick = "toggle('img7').

now on a separate page (two.html), I have link to this first page. I would like to have the link open this page and run the function of rocker, with a variable I specified in the link. is this possible? If so, how? "something to the effect of < a href =".. One.html & toggle ('img5'); "> my < /a > link

Thanks a lot for taking the time!

What I meant is that every page using this method must have
the toggle() function to fade in, or who are related to him... as well as the
the function below... two of them. The two functions could be placed in a
external js file and liinked to all pages that use that.

> In each page using your method...
>
> function runToggle() {}
> loc = location.toString () var.split("?");
> if(loc[1]) {}
> var imgID = loc [1];
> toggle (imgID).
>} else {return}
> }
>
> Add this to the body...
>
>
>
> Here are links...
> Page 1
> Page 2
>
>
> --
> Best regards,
> .. Trent Pastrana
> www.fourlevel.com
>
>
>
>
> "NickTheNameless" wrote in message
> news:[email protected]...
> Thank you very much for your time. This is the rocking function...
>>
> function toggle (imgID) {}
> / / This function allows to alternate the display of a text block status and who
> of
> Hide/show two images displayed
> //the images need ID as follows: for section1, ID = img1, for
> section2d3, ID = img2d3
>>
> model var = / img (\w+) /; var result = pattern.exec (imgID). result
> must be a table, with the figures in the result [1]
>>
> If (result == null) {return ;} / / doing nothing if imgID is wrong}
> format
> var = 'section' well + result [1]; Well will be
> section1,.
> section 2, etc. We must find the div with this title
>>
> var titlePattern = new RegExp (well); for example /section2/
> var divs = document.getElementsByTagName("DIV");
>>
> for (var i = 0; i)< divs.length;="" i++="" )="" {="" cycle="" through="" all="" the="">
> var oneDiv = div ; //putting each in oneDiv
> match = titlePattern.exec (oneDiv.getAttribute ('SECTION') var
>> ); Search in the div to see if it matches the string, section2\b or some
> such
>>
> If (match! = null) {//then is our div, so we switch her}
> visibility
> If (oneDiv.style.display == 'none') {//if the text is reduced
> oneDiv.style.display = "inline"; display text
> document.getElementById (imgID) SRC =
> "' http://www.info.apple.com/images/kprocedure/Scripts/buttons/hide.gif '; "
> document.getElementById (imgID) .alt = 'hide ';
> return;
>> }
> {else}
> oneDiv.style.display = "none"; otherwise, the text is displayed, thus
> Reduce it
> document.getElementById (imgID) SRC =
> "' http://www.info.apple.com/images/kprocedure/Scripts/buttons/show.gif '; "
> document.getElementById (imgID) .alt = "show";
> return;
>> }
>> }
>> }
>> }
>>
>
>

Tags: Dreamweaver

Similar Questions

  • How s/n know when and what account perform a function using the database link?

    Dear,

    My application of the CIM team asked DBA to create new function and run it. Function must use the database link for remote database data. So I need to create a new database to their licensing link. Cause we guess we'll experience the performance issue after the user performs this function, or another question and errors may occur. So we want to know when and who use this feature that connects to a remote database through the new database connection in advance. And I also need to know when and which connect to the remote database using this new database link. We have no idea to get this information?  Can anyone recommend how do? Thank you very much.

    Best reqards, Otis.

    Check what business purpose, it will solve.  If the function is so safe, why everyone will use. Only admin people should access.

    All of these additional controls of this kind must be avoided as much as possible to improve the overall performance of the application.

    Still if you need, see the database audit mechanism, specifically designed for this type of activity.

    Kind regards

    Harman

  • What is the JavaScript function to determine if a page number is present?

    I need to perform operations of JavaScript (classic) to count the number of pages in the active document, and to determine if page 6 (for example) is present.

    TIA,

    -RFH

    this.numPages returns the number of pages in the document. If the number

    6 or higher, this would mean that page 6 is present, I presume.

  • Using JavaScript - hide/show a page element

    Environment:

    APEX 3.1.00.09 on AIX 5.3

    Sample application on apex.oracle.com:

    Workspace: GALWAY
    Username: gwicke
    Password: gwicke

    To see where my questions are:

    1 - Start on page 3
    2. in the Agency drop-down select 'J & B Marketing'
    3. in the contract drop down select the only contract that appears
    4 - Click "modify existing contract.
    5-note the "LY closures" page element has the value 261
    6 - click on the link (really a tab in my theme) at the top labeled 'full cost '.
    7 - the "Justification for estimate" is the page element to be displayed/hidden which is noted below.
    8 - "houses by year" under the column "Year1" is of the order of the day of the user entry page
    9 - the P2_BUILDER_CLOSINGS (261 above value) is the page element that you want to use in the comparison

    I need to do a few things with a potentially hidden page element:

    1 - everytime the page loads, I need to check if the page element (P8_ESTIMATE_JUSTIFICATION) is not null, and if it is indeed not null, make displayed.

    2. when the user enters a value in another element of the page (P8_HOMES_PER_YEAR1), call a function to see if the value is greater than 120% of another element on the page (P2_BUILDER_CLOSINGS) and if yes do this question page (P8_ESTIMATE_JUSTIFICATION).

    I have the function created javascript (showHideEstimateJustification) and in the HTML of the page header. Currently, the function is called with a cheque for onChange on the item page entered by the user as described above (P8_HOMES_PER_YEAR1).

    Questions:

    1. I need to force a SHIPMENT once the user enters the value of P8_HOMES_PER_YEAR1 is available in session state and so the function javascript (other ideas welcome!)

    2. I am currently using the x.style.display = 'inline' versus 'none' to hide and show the page element, where x is derived from var x = document.getElementById (P8_ESTIMATE_JUSTIFICATION) y at - there a better way?


    Any help is greatly appreciated.

    -gary (aka Javascript newbie)

    Hello

    Ok.

    An HTML tag is an object - TABLE, TR, DIV, SPAN, INPUT are all objects. Identify us these objects giving them IDs. An object consists of many different properties. Any time we want information on an object we call javascript by saying it the object, we want to know something and the property we want to know. Thus, if var g you, g.name would be "Gary" and so on.

    No matter when you need information about an object, you can point a variable to it by referencing its ID - var g = document.getElementById("GARY"). var g then lets get all the information I need and, in many cases, update information on the object. var gh = g.style.height var g.value = gValue GOLD and so on.

    Sometimes, however, all you really need is the 'value' of this object, so you can just do - var g = document.getElementById("GARY").value

    So, if you need a bit of information, to set a variable to object.property, but if you need more than one, set the variable to the object itself. Setting the variable to the object is something unique, so is generally faster than the reference to each property using document.getElementById("GARY").value inside and so on - as javascript should start at the top of the document, search for the specific object and then find the property.

    The confusing thing, I think that, coming from a programming, is that each variable is defined using "var" instead of an object type explicit

    OK, back to your page...

    Earlier, we have changed the javascript code to use:

    var closings = &P2_BUILDER_CLOSINGS.;
    

    and Apex would replace & P2_BUILDER_CLOSINGS. with a value, for example, 261, so when the page is rendered, the script actually shows:

    var closings = 261;
    

    Thus, it is digital already. If this part is ok.

    The element "homes" but must be converted to a number by the parseInt() function. The fact that you see "NaN" (which is, as you say, a shortened version of 'Not a number'), means that the value it is to see is not numeric. If the first test would be to add an alert message () to display the value of document.getElementById('P8_HOMES_PER_YEAR1').value. It is likely that non-numeric characters are entered? There may be problems with commas or currency symbols

    Andy

  • How can I block my keyboard so when my cat button, the keys perform the functions? I have a lock on my computer so I need a password to sign, but I can't find any info on how to lock keyboard features in.

    How can I block my keyboard so when my cat button, the keys perform the functions? I have a lock on my computer so I need a password to sign, but I can't find any info on how to lock keyboard features in.

    A quick Google for "lock keyboard" raised a certain links that seem promising. Here's one of eHow that answers your questions to kitty:

    http://www.ehow.com/how_4925264_lock-keyboard.html MS - MVP - Elephant Boy computers - don't panic!

  • When I "Open link in a new tab" it does not load the link, I have to stop and refresh the tab to load the linked page

    The title of the question pretty much explains the problem.

    EDIT: "Open Link in New Window" works very well, as by clicking on a link or bookmark to switch from one tab to the linked page.

    "Reload Tab" does nothing. The page loads only when I stop and reload.

    Sorry to bother you, but I think I just solved the problem.

    In the last three days I closed & restarted Firefox several times and stop & restarted my computer twice without solving the problem, but I just started, open Firefox in mode without failure, then closed & restarted Firefox and "link in new window open" seems now function normally.

    Now I feel like a fool for not trying that before asking the question.

  • Is parent to perform the function in child

    I have a function in children that I need to be executed by the parent, but I can't make it work.  Anyone know how to call the function in a child of a parent?

    What I do is to have the parent load a few buttons, and I would like to re - use the swf, but have the parent to provide the text for the button.

    Here's how I built it:

    main.swf - main container for everything

    -button_page.swf - this is the page that has the buttons on it

    field - button.swf - the image of the button with dynamic text

    So the button_page.swf try to perform a function on button.swf, called "populate_button".  He is also passing the text inside, so the function should be performed as "populate_function("Back")".  I can't call to function properly.  I tried several different things, including:

    btn_back.populate_button ("Back");

    the instance of the button.swf is called 'btn_back '.

    Any help would be greatly appreciated.  Thank you!

    Aaron

    If I'm not mistaken...

    in AS3... the only 'good' inter comm swf is w / connection local... parent has been deprecated, except for XML nodes...

    You're wrong

    2 SWFs can communicate with eachother very well. Make sure they are actually loaded before trying to communicate.

    You only need a communication cross-avm netconnection: AVM0 (AS1/AS2) to AVM3 (AS3) and vice versa.

    VIVIsecVI, show us the code that loads the swf button actually.

  • Twitter: Your account may not perform this action. Please, refresh the page and try again.

    Since the update to Firefox 41.0.2 I couldn't use Twitter.com. When I try to tweet, favorite, or retweet the following error occurs. Your account may be able to perform this action. Please, refresh the page and try again. There are a couple of other users who have the same problem, but it was tinkered with Mozilla and the other pending.

    It started with the update to 41.0.2 and twitter works in all other browsers, but not Mozilla.

    Here's this other thread with the DIY: Impossible of Retweet, tweet or articles favorite on Twitter, even when I refresh the page.

    I think there must be a setting or a question Add on. Your extensions look pretty standard, so I'm leaning towards a parameter of the problem. You could test as follows:

    By default, Windows hides the .js extension. To make sure that the following steps work, you have to disable this feature, at least temporarily. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename prefs.js to something like prefs.old.

    Launch Firefox back up again and it must use the default settings (for example, integrated home page). If you need to restore your previous session windows and tabs, go ahead and select restore previous Session from the history menu.

    Twitter works best? If so, we could try to understand the precise adjustment at fault or you could rebuild your settings. Or you can undo the change by renaming the new prefs.js to prefs.txt and rename prefs.old back to prefs.js (with Firefox closed, as you did before) and understand it through a little trial and error.

  • How to handle the quick links page

    I have a quick links page as my homepage, how can I add websites specific to it? What should I do if I deleted a page of this last accendently?

    Hello

    I don't know what you mean by quick links, but if it is this:

    You can remove it because it will cause problems and violate your privacy.

    If you are referring to the on: newtab page: Please see my screenshot below - tiles is added when you access certain pages, drag a bookmark on the page, or drag something of your history on the page. For more information, see the section Customizing the page new tab .

  • I am unable to access the Windows XP updates and unable to set up the automatic update. I have not given an error code. I was only told I can't perform these functions.

    I am unable to access the Windows XP updates and unable to set up the automatic update.  I have not given an error code.  I was only told I can't perform these functions.  I don't have the windows disk that the computer came preloaded with Windows and I don't remember the Administor password I created 5 years ago.  Can anyone help?

    Assume that:

    http://support.Microsoft.com/kb/316524

    You receive an error message 'Administrators' only when you try to visit the Windows Update Web site or the Microsoft Update Web site

    http://support.Microsoft.com/kb/189126

    Microsoft's strategy concerning lost or forgotten passwords

    What I can offer: http://support.microsoft.com/kb/321305

    How to connect to your Windows XP-based computer if you forget your password or if your password expires

  • I cannot perform certain functions because he says that I'm not an administrator, but it's my computer and I'm the only one who uses this computer__

    I cannot perform certain functions because he says that I'm not an administrator, but it's my computer and I'm the only person who uses this computer

    What are the functions? More global changes (changes to the system, software installation) require an elevation in Vista/Windows 7.

    Changes to the built-in Vista administrator account

    http://support.Microsoft.com/default.aspx?kbid=942956

    User - recommended configuration (Vista and Win7) accounts

    You absolutely don't want to have only one user account. As XP and all other Windows 7, Vista, and modern operating systems are operating systems multi-user with integrated system of accounts as default Administrator and comments. These accounts should be left alone because they are part of the structure of the operating system.

    In particular, you do not want account only one user with administrator privileges on Vista and Windows 7 because the administrator account integrated (normally only used in emergencies) is disabled by default. If you use as an administrator for your daily work, and this account is corrupt, things will be difficult. It is not impossible to activate the built-in administrator to rescue things, but it may require more work you want to do. Better not to get into a bad situation at first.

    The user account that is for your daily work must be a Standard user, with the extra administrative user (call it something like 'CompAdmin' or 'Tech' or similar) only it for elevation purposes. As a user Standard is recommended for security reasons and will help protect your computer against infections. After you have created "CompAdmin", connect to it and change your normal user account Standard. Then log on to your regular account.

    If you want to go directly to the desktop and ignore the Welcome screen with the icons of the user accounts, you can do this:

    Start Orb > Search box > type: netplwiz [Enter]
    Click continue (or provide an administrator password) when you are prompted by UAC

    Uncheck "users must enter a user name and password to use this computer". Select a user account to connect automatically by clicking on the account you want to highlight and press OK. Enter the password for this user account (when it exists) when you are prompted. Leave blank if there is no password (null). MS - MVP - Elephant Boy computers - don't panic!

  • Is it possible to trigger a function Javascript C++ QML?

    Is it possible to trigger a function Javascript C++ QML?

    Just look at the section of signals and slots that documentation for examples of how to define and send signals of C++. Then in your QML, where you have exposed your C++ object as a property of context (named, for example, "foo"), you would foo.signalName.connect (myJsFunction) in a certain place like maybe onCreationCompleted. Connects the signal to the function, and when it is executed will be called the JS function.

    In short, the real connection between the two is trivial, as long as you already have all the side "C++ object and signal and exhibitors being C++" processed things.

  • ScriptUI Palette with button to perform the function

    Hey Hey. Ho ho. I have a question for you guys. Hey Hey. Ho ho.

    So I'm writing a script to automatically replace art existing in a file with the art of my network (specifically, necklaces. we work that says "made in usa" but we moved production overseas, then update the country of origin.) I have fixed all our model files, new orders are set up correctly, but we have tens of thousands of old orders with bad collars in the files. so far we have been manually accessing the network, opens a file that contains the correct collars and paste in the required file. A PITA serious, especially when you do 20 - 30 times per day.

    So, naturally, I started to think about how to automate it. For most files, this process is really simple and straightforward because the files that we use has set up a system of good address. However, orders more alumni dating back to before the address system, so the script in some cases, to do a break in order to let the artist select USA collars so that the script can move to a new layer and hide.

    To remedy this, I decided to use a scriptUI as an alert box pallet (if the artist still has access to the user interface, so they can select the necessary art, then click a button to perform a function and complete the task. The button in the palette works to perform the desired function, but then I get an error in ESTK that "there is no document. What I'm doing wrong here? Everything works until the promptToSelectCollars() function; The error occurs at line 291 trying to use docRef.layers.add (); I added the line 290 after the first time I got the error to see if docRef just need to be redefined, but that did not help.

    I guess I can just force the artist to select any work necessary before running the script, but I like it to be as smooth as possible and requires a minimum of steps pre...

    Here's the current code (must still be completed, I know)... Any thoughts?

    //Add DR Collars
    
    
    function container()
    {
    
    
        /////////////////////
        ///Logic Container///
        /////////////////////
    
    
        function whatStyleDialog()
        {
            // var docRef = app.activeDocument;
    
    
            var sports = ["SLOW_SS", "SLOWW_SS", "SLOWY_SS", "FAST_SL", "FAST_RB", "FAST_FB_SL", "FAST_FB_SS", //
            "FAST_2B_SS", "BASE_FB_SL", "BASE_FB_Y_SL", "BASE_FB_SS","BASE_FB_Y_SS", "BASE_2B_SS", "BASE_2B_Y_SS"];
    
    
            
    
    
            var wS = new Window("dialog", "What Collars Do You Need?");
    
    
            var inputGroup = wS.add("group");
                inputGroup.orientation = "column";
                var sportsGroup = inputGroup.add("group");
                    sportsGroup.add("statictext", undefined, "Choose Sport");
    
    
                    //populate sports dropdown list
                    var sportsList = sportsGroup.add("dropdownlist", undefined, sports);
                    sportsList.selection = 0;
    
    
                var styleGroup = inputGroup.add("group");
    
    
                    styleGroup.add("statictext", undefined, "Enter Style Number:");
    
    
                    //input text box for style number
                    var styleInput = styleGroup.add("edittext", undefined, "000");
    
    
            var buttonGroup = wS.add("group");
                var okButton = buttonGroup.add("button", undefined, "OK");
                var cancelButton = buttonGroup.add("button", undefined, "Cancel");
    
    
    
    
            if(wS.show() == 1)
            {
                var results = "";
                results = "FD_" + sportsList.selection.text + "_";
                results = results + styleInput.text + ".ait";
                return results;
            }
            else
            {
                return null;
            }
        }
    
    
        function getStyle(styles)
        {
            if(styles.length>1)
            {
                var result;
                var gS = new Window("dialog","Which Garment?");
                    var titleText = gS.add("statictext", undefined, "Which Garment Do You Need Collars For?");
                    var buttons = styles;
                    var buttonGroup = gS.add("group");
                    buttonGroup.orientation = "column";
                        for(var s=0;s<styles.length;s++)
                        {
                            addButton(s, styles[s]);
                        }
    
    
                    function addButton(num, style)
                    {
                        buttons[num] = buttonGroup.add("button", undefined, style);
                        buttons[num].onClick = function()
                        {
                            result = style + ".ait";
                            gS.close();
                        }
                    }
                gS.show();
                // alert(result)
                return result;
    
    
            }
            else
            {
                result = styles[0] + ".ait";
                return result;
            }
        }
        function whatGarment()
        {
            var result;
            var jerseyList = [];
    
    
            for(a=0;a<layers.length;a++)
            {
                if(layers[a].name.indexOf("FD")>-1)
                {
                    jerseyList.push(layers[a].name);
                }
            }
    
    
            //This prepress is not on a template
            if(jerseyList.length==0)
            {
                result = whatStyleDialog();
                return result;
            }
    
    
            else
            {
                result = getStyle(jerseyList);
            }
    
    
            return result;
        }
    
    
        function findCAD(path, garment)
        {
            var loc = new Folder(path);
            var theFile = new File(loc + "/" +  garment);
            return theFile;
        }
    
    
        function copyCollars(theCAD,coords)
        {
            var collars = [];
            var collarSource = open(theCAD);
            var sourceLayer = collarSource.layers[0].layers["Prepress"];
            var curLay;
            var curGroup;
    
    
            sourceLayer.visible = true;
    
    
            collarSource.selection = null;
    
    
            for (var a=0; a< sourceLayer.layers.length;a++)
            {
                curLay = sourceLayer.layers[a];
                for(var b=0;b<curLay.groupItems.length;b++)
                {
                    curGroup = curLay.groupItems[b];
                    if(curGroup.name.indexOf("Collar")>-1)
                    {
                        curGroup.selected = true;
                    }   
                }
                
            }
    
    
            app.executeMenuCommand("copy");
            docRef.activate();
            app.executeMenuCommand("paste");
    
    
            for(var a=0;a<docRef.selection.length;a++)
            {
                var curGroup = docRef.selection[a];
                var curName = curGroup.name.substring(0,curGroup.name.indexOf(" "));
                curGroup.left = coords[curName][0];
                curGroup.top = coords[curName][1];
            }
    
    
            
    
    
            // collarSource.close(SaveOptions.DONOTSAVECHANGES);
            
        }
    
    
        function addCollarsToCorrectLayer(garment,coords)
        {
            try
            {
                var theLayer = docRef.layers[garment.substring(0,garment.indexOf(".ait"))].layers["Prepress"];
                theLayer.visible = true;
                // alert("theLayer = " + theLayer);
                // alert(docRef.selection.length);
                for(var a=docRef.selection.length-1;a>-1;a--)
                {
                    var thisCollar = docRef.selection[a];
                    var targetLayer = theLayer.layers[thisCollar.name.substring(0, thisCollar.name.indexOf(" "))];
                    thisCollar.moveToBeginning(targetLayer);
                }
    
    
    
    
            }
            catch(e)
            {
                try
                {
                    if(docRef.selection[0].layer != "[Layer Artwork]")
                    {
                        var theLayer = docRef.layers["Artwork"];
                        theLayer.locked = false;
                        theLayer.visible = true;
                        for(var a=docRef.selection.length-1;a>-1;a--)
                        {
                            docRef.selection[a].moveToBeginning(theLayer);
                        }
                    }
                }
                catch(e)
                {
                    alert("something went wrong")
                }
            }
            if(theLayer.name == "Prepress")
            {
                var drCollarLabel = docRef.layers[0].layers["Mockup"].textFrames.add()
            }
            else
            {
                var drCollarLabel = theLayer.textFrames.add();
            }
            drCollarLabel.contents = "DR Collars";
            drCollarLabel.left = coords["Label"][0];
            drCollarLabel.top = coords["Label"][1];
            drCollarLabel.textRange.characterAttributes.size = 36;
        }
    
    
        function promptToSelectCollars()
        {
            alert("running prompt to select");
            var selCol = new Window("palette");
                var text = selCol.add("statictext",undefined, "Select the USA Collars and click OK");
                var button = selCol.add("button", undefined, "OK");
                button.onClick = function()
                {
                    selCol.close();
                    moveCollarsToUSALayer(false);
                }
            selCol.show();
        }
    
    
        function moveCollarsToUSALayer(template,garmentLayer)
        {
            if(template)
            {
                var usaLayer = garmentLayer.layers.add();
                usaLayer.name = "USA Collars";
                var theLayer = garmentLayer.layers["Prepress"];
    
    
                for(var a=0;a<theLayer.layers.length;a++)
                {
                    var curSize = theLayer.layers[a].name;
                    var curLay = theLayer.layers[a];
                    curLay.groupItems[curSize + " Collar"].moveToBeginning(usaLayer);
                }
    
    
                continueScript();
            }
            else
            {
                // docRef = app.activeDocument;
                var usaLayer = docRef.layers.add();
                usaLayer.name = "USA Collars";
    
    
                for(var a=0;a<docRef.selection.length;a++)
                {
                    var curCollar = docRef.selection[a];
                    curCollar.moveToBeginning(usaLayer);
                }
                continueScript();
            }
            
    
    
    
    
        }
    
    
        function continueScript()
        {
            var theCAD = findCAD(garmentInfo[garmentCode]["path"], garment);
    
    
            copyCollars(theCAD, garmentInfo[garmentCode]["coords"]);
    
    
            addCollarsToCorrectLayer(garment,garmentInfo[garmentCode]["coords"]);
        }
    
    
        /////////////////////
        ///Logic Container///
        /////////////////////
    
    
        var docRef = app.activeDocument;
        var layers = docRef.layers;
        
    
    
        var garmentInfo = 
        {
            "FD_SLOW_SS" : 
            {
                "path": "/Volumes/Customization/Library/cads/prepress/FD_SLOW_SS/ConvertedTemplates/FD_SLOW_SS",
                "coords" : 
                {
                    "XS" : [-946.67,622.35],
                    "S" : [-948.92,362.97],
                    "M" : [-951.17,96.54],
                    "L" : [-953.42,-177.48],
                    "XL" : [-955.22,-458.71],
                    "2XL" : [-957.92,-747.11],
                    "3XL" : [-960.17,-1042.73],
                    "4XL" : [-962.42,-1345.42],
                    "5XL" : [-964.67,-1654.82],
                    "Label" : [-949.1,708.39]
                }
            },      
            "FD_SLOWW_SS" : "/Volumes/Customization/Library/cads/prepress/FD_SLOW_SS/ConvertedTemplates/FD_SLOWW_SS",
    
    
            "FD_SLOWY_SS" : "/Volumes/Customization/Library/cads/prepress/FD_SLOW_SS/ConvertedTemplates/FD_SLOWY_SS",
            "FD_FAST_RB" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_RB/Converted_Templates/",
            "FD_FAST_SL" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_SL/Converted_Templates/",
            "FD_FAST_FB_SL" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_FB_SL/Converted_Templates/",
            "FD_FAST_FB_SS" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_FB_SS/Converted_Templates/",
            "FD_FAST_2B_SS" : {
                "path": "/Volumes/Customization/Library/cads/prepress/FD_FAST_2B_W_SS/Converted_Templates/",
                "coords" : 
                {
                    "XXS" : [-1011.89,455.31],
                    "XS" : [-1015.33,206.79],
                    "S" : [-1018.88,-60.25],
                    "M" : [-1022.12,-323.7],
                    "L" : [-1025.7,-595.67],
                    "XL" : [-1028.83,-879.72],
                    "2XL" : [-1032.38,-1168.08],
                    "3XL" : [-1035.83,-1457.79],
                    "Label" : [-949.1,708.39]
                }
            },
            "FD_BASE_FB_SL" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_SL/Converted_Templates/",
            "FD_BASE_FB_Y_SL" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_Y_SL/Converted_Templates/",
            "FD_BASE_FB_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_SS/Converted_Templates/",
            "FD_BASE_FB_Y_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_Y_SS/Converted_Templates/",
            "FD_BASE_2B_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_2B_SS/Converted_Templates/",
            "FD_BASE_2B_Y_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_2B_Y_SS/Converted_Templates/",
        }
    
    
        var garment = whatGarment(); 
    
    
        var garmentCode = garment.substring(0, garment.indexOf("_0"));
    
    
        var styleNum = garment.substring(garment.indexOf("_0"), garment.length);
    
    
        try
        {
            docRef.layers[garment.substring(0,garment.indexOf(".ait"))].layers["Prepress"].visible = true;
            moveCollarsToUSALayer(true,docRef.layers[garment.substring(0,garment.indexOf(".ait"))]);
    
    
        }
        catch(e)
        {
            //no discernable layer structure
            alert("using catch");
            promptToSelectCollars();
        }
    
    
        
    
    
        
    
    
        
    
    
        // alert("Results:\n" + "Sport: " + garment[0] + "\nCut: " + garment[1] + "\nStyle Number: " + garment[2]);
        // alert("Results:\n" + garment);
    
    
    
    
        
    }
    container();
    

    You do not have something wrong, sort of, pallets do not 'normally' work as do dialog windows, you must use BridgeTalk to bind your palette to Illustrator, do a quick search, a topical subject, there are many samples.

  • For some reason that I do not see the developer at the bottom of the page links (Page Edit, Session, debug, etc.) How can I fix? Request Express 4.2.2.00.11

    For some reason that I do not see the developer at the bottom of the page links (Page Edit, Session, debug, etc.) How can I fix? Request Express 4.2.2.00.11

    I hope someone could help me!

    Thank you

    -Fury

    It could be caused by a known bug...

    Oracle Application Express 4.2.2 - known issues

    See: 16769040

    Concerning

  • How can I send parameters with a link?  How to read the settings in the linked page?

    I need to send the file name of an image to display on the linked page and can not find a way to do it.  I'd appreciate any help!

    With the help of PHP, the parameters are sent by the url like this:

    http://MyPage.php?name=$ name & state = $state

    Before the link to appear, the values of $name and $state must be true, like this:

    $name = "George";

    $state = "Nebraska."

    The receipt page (mypage.php) receives the variables like this:

    $name = $_GET ['name'];

    $state = $_GET ["State"].

Maybe you are looking for

  • Is it possible to synchronize music and photos from iTunes from multiple computers?

    We have two MacBook Pro - one for me and one for my children. Currently, I manage all the music and pictures via my Mac (synchronization of iOS devices), so there is a place for all the music and photos. However, children now want to be able to manag

  • Upgrade to Snow Leopard and Time Machine

    Hello. I found this topic in an old topic, but it has been blocked so I couldn't answer. Here is a new. I have a fairly old MacBook Pro... mid-2007. Provided with Tiger. Upgrade to Leopard in 2010 or more. I want to now upgrade to Snow Leopard and ma

  • Pavilion laptop - 15-p100: dedicated memory

    Hello please I need help for my Pavilion laptop - 15-p100ni (ENERGY STAR) How can I increase my memory dedicated on this computer because now my dedicated memory is 0MB s/n; [Personal information] p/n; k1q41ea #aco Model; 15 - p100ni I've already upd

  • Unable to connect my bluetooth with Z510

    Hello I have ideapad Z510 with me. I recently bought the Sony SBH20 stereo headphones. I tried to connect it with my camera. He got paired up, but it is not a connection. I googled and got to know it is matter of some A2DP drivers. Trying to find the

  • problem image acquisition

    Hello I try to read my camera webcam images I install the visision software machine but this problem appear which lies in the acquisition of the vision No inilization apeaer menu after add it on the front I click on it but nothing happens Oh God, wha