Trying to create two toolbar buttons. Need codes.

I am trying to use the Custom Buttons addon to create the following two toolbar buttons. Bu I need the codes and I didn't get aid at the Custom Buttons official forum. Hope someone here could help.
(1) Force links to open in new background tabs
Click on this button and then everytime you open a link, it opens in a new background tab. Click on it again and then the original setting is restored.
(2) After the current tab is closed, open the right tab
Click on this button and then everytime you close a tab, the tab next to it on the right will be opened. Click on this button again and then the original setting is restored.
Thank you in advance.

''FredMcD [[#answer-681024|said]]''
<blockquote>
I've called the big guys to help you. Good luck.
</blockquote>
Thank you for your assistance.

Similar Messages

  • Trying to create two form buttons side by side?

    Hi all...
    Kind of a strange question...  I've been messing around with this one for way too long now and thought I'd seek your help...
    Anyway,  one <form> with two submit buttons on them.  One is a "submit" button and the other is a "cancel" button.  I do have them working fine.  The "submit" button forwards the <form> data to the .php file for processing (and works fine).  However, the cancel button which does nothing more than calls on the index.html.
    Problem:  I can't get them to sit side by side on the form...  Or at least not without making the "cancel" button fail.  Remember this is all one form (or is it?)...
    The last lines of code for the "submit or cancel" buttons are below...
    <form action="contactlist.php" method="post" name="contactform" >  <----  This is the first line for the actual form.  The remaining code is for the buttons at the bottom of the form.
    <input name="submit" type="submit" value="submit"/>
    </form>
    <form action="index.html" method="post" name="contactform"/>
    <input name="cancel" type="submit" value="cancel" />

    If you are learning, I would not worry too much about JavaScript, just concentrate on PHP.
    Normally I would use
    <input name="cancel" type="button" value="cancel" onclick="window.location='index.html'">
    which simply saying that when the element (<input>) is clicked on, change the URL to 'index.htm'.
    The reason I used the function in my first example, is because DW supplies the function auromatically by following this procedure
    1. In design view, click the cancel button. In code view you will see the element highlighted and the status bar will show <input> highlighted as in
    Also in the properties window under the status bar, you will be able to change the button attributes.
    2. With the button highlighted, click on the Tag Inspector-->Behaviours tab, click the '+' and 'Go to URL' as follows
    This will pop-up a dialog.
    3. In the 'Go To URL' dialog leave the 'Open in' field with the default value and enter the requested URL in the 'URL' field, using the browse feature if desired.
    4. Click 'OK' and in the code view you will see the added JS function and the behaviour attached to the button. In the Behaviours panel you will also see the behaviour attched to the selected element.
    Gramps

  • Create a toolbar/button in Acrobat 8.0

    I am sorry for my rather simple title, but at this stage I do not know what I am looking for.
    I want to give the possibility for someone using Adobe Acrobat 8.0 pro to be able to save a pdf document they currently have open into a database.
    For example in Office this is simple, I created an addin that got the document or email as an object and I sent the object to my MS Access database.  MS Access then saves the file somewhere and I upload the file with the known path.
    But maybe there is a simple way maybe I can create a button that saves the pdf in a special place and then signals either the MS Access database or even a small .dll/exe I have that this button has been clicked and then this .dll/exe can wake up the MSAccess databae and tell it to do some work.
    Any help would be greatl appreciated.

    Ok so spoon feeding is not an option in this forum.
    So could someone humour me with at least the "yes" word or "no" word.
    I can create a toolbar button which will automatically load when Acrobat loads by making a Plug-in?
    If my Target "Acrobat" family member is Acrobat Standard 8.1.5 (note not pro) I need to get the 8.0/8.1 SDK to help me?
    My Plug-in is going to be written in Visual Studio 2005/2008?
    I must learn/use C/C++ for my plugin language?
    I will compile the .dll and then make it an .api file extension?
    To give my .api to someone else I need only put it into the ...\Adobe\Acrobat\plug_ins?
    This .api does not need to be registered (regsvr32) or something like that in the Windows registry?
    I am sure that might lead to further questions but it is a good start so I know what to google to find out how to do it, and then get some sample code.

  • How to create multiple toolbar buttons in jsp ?

    hi all,
    how to create multiple toolbar buttons in jsp ?
    plz help me

    mgmt
    plzhttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • I have two IPad's and tried to create two Itune libraries on my computer. Now I cannot find the original library on my computer and the Ipad will not sync?

    I have two Ipad's and tried to create two ITune Libraries on my computer. Now cannot find the original library on my computer and the Ipad will not syc?

    You should be able to accept this message, it will cause existing music, photos (not camera roll) and videos (also excluding those in camera roll) to be removed and replaced with those from this computer. All other user data on the iPad will be unaffected.

  • Trying to create Large Play button on Flash CS4

    Hello,
    I am trying to create the following: (using someone elses post from another board)
    "I am wondering if there is a way to hide the FLVPlayback skin until a certain event happens. Let me explain.
    I have an instance of the flvplayback component in my movie. I have the player skin set to "autohide" and "autoplay" set to false. Instead of having users click on the play button of the skin to start the movie I have incorporated a larger play button in the middle of the screen. The set back here is that when a user mouses over the movie to click on the larger play button the flvplayback skin appears as well.
    I'd like to basically tell the skin "Hey don't appear on mouseover until AFTER the large play button is pressed." What code would I need for this in Actionscript 3?"
    I am curious if someone can teach how to embed a regular .swf movie file into the
    "example" code, which was also posted here
    (http://www.kirupa.com/forum/showthread.php?t=323702)
    I have very limited coding skills and very much appreciate the assistance.
    Rod

    You are looking for the visible property I believe.
    At the beginning of your code, set:
    myFLVPlayer._visible = false;
    to set it invisible (replacing "myFLVPlayer" with your components name ocourse)
    Then, onRelease of your button, set:
    myFLVPlayer._visible = true;
    to make it visible again.
    EDIT
    I just looked at your code in the other forum, and here is your onRelease function fixed:
    video_mc.video._visible = false;
    video_mc.bigButton_mc.onRelease = function(){
    video_mc.bigButton_mc._visible = false;
    video_mc.video._visible = true;
    video_mc.video.play();

  • Im trying to create a fading button with a fading action.

    I can't figure out how to create a fading button with an additional action to it. I'll do my best to lay out how the actions should work: [red = not working]
    Button > roll over> fade> (that part I have down perfectly) click button> button temporarily replaced with text> roll out of text > process repeated in reverse for smooth fading.
    Every time I set up all these actions and get it the way I want, I run into a bunch of problems:
    Text box holder and text can not be over the button. (Where I need them to sit) When they sit over the button it blocks it from doing any of its specified actions. So I'll make the text box and text a hidden item, then they lose their transition and start flickering when they are interacted with.
    This is basically the last piece of my clients new site and I just need to figure this one little thing out. Please help if possible!

    Try to group the elements so they work together.

  • System error 1460 has occurred (0x000005b4). when trying to create two-node cluster in R2

    I'm trying to create a brand new two node Windows 2008 R2 Enterprise 64bit cluster.  When I try with the GUI I get the following:
    An error occurred while creating the cluster.
    An error occurred creating cluster 'printcluster'.
    This operation returned because the timeout period expired
    When I try via command prompt using the following command:
    cluster /cluster:PrintServices /create /nodes:"node1 node2" /ipaddr:10.9.11.194/255.255.255.0
    I get the following:
      4% Initializing Cluster PrintServices.
      9% Validating cluster state on node <node1>.
     13% Searching the domain for computer object PrintServices
     18% Creating a new computer object for PrintServices in the domain
     22% Configuring computer object PrintServices as cluster name object
     27% Validating installation of the Microsoft Failover Cluster Virtual Adapter on node <node1>.
     31% Validating installation of the Cluster Disk Driver on node <node1>.
     36% Configuring Cluster Service on node <node1>.
     40% Validating installation of the Microsoft Failover Cluster Virtual Adapter on node <node2>.
     45% Validating installation of the Cluster Disk Driver on node <node2>.
     50% Configuring Cluster Service on node <node2>.
     54% Starting Cluster Service on node <node1>.
     54% Starting Cluster Service on node <node2>.
     59% Forming cluster PrintServices.This phase has failed for Cluster object 'PrintServices' with an error status of 1460 (0x000005B4).
    Cleaning up <node1>.
    Cleaning up <node2>.
    Cleaning up PrintServices.
    When I run a Cluster validation, I get 100% Green, no errors.
    My disks are SAN Attached.
    I have other Windows 2008 non-R2 clusters that never had this problem...  Any ideas?
    -PaulPaul S

    Hi Paul,
    I suggest trying the following steps to troubleshoot this issue:
    1.  Open Registry Editor. 
    2.  Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318} 
    3.  Under this subkey, find the subkey that holds a DriverDesc string value entry whose value is "Microsoft Failover Cluster Virtual Adapter." 
    4.  Under the subkey that you found in step 3, add the following string value registry entry:
    Name: DatalinkAddress
    Value data: 02-AA-BB-CC-DD-01
    5.  Restart the computer. 
    6.  Repeat step 1 through step 5 on other computers on which you experience this problem. When you do this on other computers, replace the value data of the registry with different values in order to set a unique value for each node. For example, set the value on the second node to 02-AA-BB-CC-DD-02, and set value on the third node to 02-AA-BB-CC-DD-03. If you notice this behavior on distinct clusters, make sure that you use an address for each node that is unique across all clusters. 
    7.  On each computer that you want to make a cluster node, use the Server Manager console to remove the Failover Clustering feature. 
    8.  Restart each computer from which you have removed the Failover Clustering feature. 
    9.  Add the Failover Clustering feature on all these computers again. 
    10.  Run cluster validation against these computers. 
    11.  Try creating a cluster. 
    If the issue persists, please let me know what errors are logged in Event Logs.
    Tim Quan - MSFT

  • Create a back button - need help

    Hello JHS Team,
    I am using JHeadStart 10.1.2.
    I need to create a back button in a specific UIX page on my application.
    I'm new to JHeadstart and I really need some help from you. Can anyone help me???
    Thanks

    Atena,
    You can add the button to your page post-generation, using the UIX Visual editor. Make sure you uncheck the Generate Pages switch for this group in your application structure file to protect your change upon regeneration.
    May be an unsollicited advice:
    I understand that you are new to ADF, JDeveloper and UIX. UIX is superseded by ADF Faces in JDeveloper 10.1.3, and based on the JSF standard.
    UIX will not be further developed, JSF and ADF Faces are the technologies to use going forward. Therefore, I would recommend to consider to switch for your application development to JDeveloper and JHeadstart 10.1.3. For JDeveloper/ADF 10.1.3, there is an excellent developers guide available, that provides a lot of useful information, in particular when you are new to the ADF Framework.
    Note that a JHeadstart 10.1.2 UIX generated application can easily be migrated to 10.1.3, you will only need to redo your post-generayion changes. So may be you can try to stick (close) to 100% generation for now, and migrate to 10.1.3 at your earliest convenience.
    Steven Davelaar,
    JHeadstart Team.

  • Trying to create two login areas for one site

    I'm currently creating two different login areas for the site. One for my client to update content and one as a media/press area for downloads. Both areas work fine but it seems I can only do one login area because even if I use a different Connection script, one login area overtakes the other and you
    're stuck with one setup instead of two. How can I work this so each area has its' own separate login area?

    Instead of having two login forms, have one login form and utilize the user level controls. You will need to go to the login settings page and set/use the Level field on the database tab and then configure the user levels on the user levels tab.
    You simply route users to different subdirectories and then secure the files for those two user directories using different user level permissions.
    This removes the needs to maintain multiple connection files.
    That said, do your two different login forms have different names? Different ids? Different targets/actions?

  • Create Multiple Signature and Date fields with a custom Toolbar Button

    First off, thanks in advance!  I am a scripting newbie and I am trudging my way through with very little experience with scripting of any kind.  I am good at taking other's scripts and forming them into something I need, but I can't seem to find anything to do what I want.
    Using Adobe Acrobat X, I am trying to create a toolbar button that I can press to create multiple signature and date fields with predetermined locations.
    Below is the script I have that is working to create just a single signature box, but I can't seem to figure out the exact syntax to have that same button create multiple fields.  In total it is 9 signature fields and 9 date fields need to be created.  If you can just give me an example of what the button would look like with multiple scripts?  I was assuming I would set up multiple variables and then in the cExec property of the toolbar button I could just call out all of those variables? 
    var sigswm = "addField('sigSWM', 'signature', '0', [108, 198, 494.64, 72])"
    app.addToolButton({cName: "dotbutton", cExec: sigswm, cLabel: "Place Signature and Date Blocks",});
    Thanks in advance for any help you can provide.
    Billy Sweeney

    Thanks!  That was probably the only thing I didn't try.
    I do have one more question.  What I want is when the signature field is clicked it fills out a specific date field. I beleive the script I want would be:
    var currentTime = new Date()
        var month = currentTime.getMonth() + 1
        var day = currentTime.getDate()
        var year = currentTime.getFullYear()
        var signingTime = day +"/"+month+"/"+year
        var f = this.getField("dateSWM"); 
        f.value = signingTime;
    I found this on another thread that mentioned it could be placed in the Signed tab of the signature properties dialog.  I am assuming it would be placed in my button script file as a setAction script for each signature, but I am not real sure exactly where or how?

  • Two submit buttons or more going to diffrent e-mails

    Hello!
    This question was from ndjustin20 and was answered on October 7, 2009 by pgueret below, however I an not javascript (i am assuming it was used) savvy and cannot figure out how it is done. Does anyone have the text used?
    I am trying to create (many) submit buttons to different e-mails.
    Hello Everyone!
    I'm trying to have two separate buttons inside my  form that simply email my pdf to two different addresses.  For some  reason though the first button I create and enter an email address for  takes presedence over all the rest of the buttons I create.  So I create  button1 with email address [email protected] then i create another button2  and say that has an email address of [email protected] well what is happening  is no matter what i put in button2's properties or inside the XML it  still puts [email protected] in the to line of the email.  I am using the button object and changing  it to a submit with the PDF option selected from the drop down.  I have  been able to do this in the past but since i have upgraded to Lifecycle  8.2 I can no longer get it to work right.  Any help is appreciated.  I  don't know how to code in lifecyle but I do understand the principles of  programming so if it is something that i need to do "under the hood" so  to speak then please give me that option also.
    I am also receiving this  warning:
    "This  document has accessed more than one site and may be trying to share  data among different locations.  This could be a privacy concern.  Are  you sure you want to continue?"
    I have attached the form for further review.
    J

    Hello pguerett,
    I read the advice you gave to ndjustin20 and I was wondering if you could help me out with the same issue with having two submit buttons going to two different email addresses. I try following along with what you were saying, but was getting confused on how you were going about to fix the warning i am receiving about “"This document has accessed more than one site and may be trying to share data among different locations.  This could be a privacy concern.  Are you sure you want to continue?”.
    I’m new to adobe’s discussion board and new to LiveCycle Designer and I’m not too diverse in java scripting. I used the “Email submit button” option in the library palette to add the buttons to my form for whoever is filling out the form to e-mail them back to one of the two email addresses.
    I am attaching the form for your review. Anything you can help me with on this will be greatly appreciated. Thanks!
    Rene

  • Add to Favorites Toolbar Button

    I am trying to add a toolbar button (for webhelp output) for a client to use that will add the current page to the user's IE Favorites list. I have used the script from Rick Stone's Skinny On Skins "Toolbar button to add items to the Favorites list" topic, but I get a javascript error when trying to execute the button in the toolbar.
    Here is the code I'm copying from Rick's Skinny on Skins ...
    javascript:window.external.AddFavorite(parent.frames[1].bsscright.location,paren t.frames[1].bsscright.document.title);
    Any help would be welcomed!

    Wow. A reply for such an old thread :-)
    The problem here is not a space, but that browsers work differently with favorites/bookmarks and don't always support it through JavaScript. If anyone is looking at this thread, here are two solutions:
    - WebHelp buttons: http://www.wvanweelden.eu/product/webhelp-pro-toolbar-scripts
    - WebHelp favorites: http://www.wvanweelden.eu/product/favorites-widget-webhelp
    Kind regards,
    Willam

  • Can't add a toolbar button in a overlay extension

    Hello, I'm having trouble adding a button to the main toolbar.
    I'm creating a xul overlay extension but for some reason I can't seem to add the button to the toolbar. I'm able to install it, but not make the button appear.
    What I'm trying to do is create a toolbar button, that opens a popup containing an iframe. I need exactly what the user Felipe Silva show in this example:
    http://stackoverflow.com/questions/18506117/create-mozilla-extension-to-display-a-popup-and-iframe-in-it
    The only difference is that the iframe needs to load an html file packaged with the extension and not some external source.
    I'd also like to add the button by default to the toolbar but I need to get the button working first.
    You can download a copy of the extension here:
    https://dl.dropboxusercontent.com/u/9942366/firebomb.xpi
    I know this would be easier if I was using the SDK but the toolbar button module requires Firefox 29 which is not stable yet so I prefer doing this way.
    Any help would be greatly appreciated.

    hello andremm, for questions related to extension development please use the mozilla addons forum - you'll likely get a better answer there. thank you!
    https://forums.mozilla.org/addons/viewforum.php?f=7

  • Delphi and Toolbar Buttons

    Hi,
    I just wrote a C3PO with Dephi 2010. Extending the Tools Menu for my function was easy, but I'm still trying to add a toolbar button.
    Here is a snip from the code:
    function CommandFactory.CustomizeToolBar(const Context: WideString;
    GWToolbar: OleVariant): WordBool;
    var
    Button: variant;
    ToolbarItems: variant;
    Cmd: Command;
    begin
    ToolbarItems := GWToolbar.ToolbarItems; // get toolbar items
    // MessageBox(0, pwidechar(getCurrentDir) , 'EMAStart', MB_SETFOREGROUND);
    If Pos(widestring('GW.CLIENT'), Context) <> 0 then // see if the context is GW.CLIENT or any sub class
    begin
    GwCmdEMAStart := Command.CreateWithID(EMAStart); // create command for toolbar
    Button := GWToolbar.ToolbarItems.Add('Start EMA', GwCmdEMAStart as IGWCommand); // add new Button
    GwCmdEMAStart.ToolTp := 'Start EMA tooltip'; // set tooltip for toolbar item
    Button.SetBitmap(GetCurrentDir+'\EMAStart.dll','IC ON1'); // set toolbar bitmap
    // Button.SetBitmap(GetCurrentDir+'\icons.dll','BUTTO N_1'); // set toolbar bitmap
    //C3PO WIZARD icons.dll can be replaced with the full path name of any .exe or .dll that have both 16x16 and 32x32 pixel bitmap
    // BUTTON_1 can be replaced with the name of the bitmap contained in the .exe or .dll
    end;
    result := FALSE;
    end;
    I included the icon in 16x16, 24x24,32x32 and 48x48 sizes in the ressources..
    When I change to the icons.dll (currently commented out) the button appears in the toolbar.
    But I never managed to get my button to display.
    What's wrong ?
    Thanks a lot
    Rainer

    I've found the solution by myself: You have to include a BITMAP, not an ICON. Including a BITMAP ressource in Delphi 2010 is quite easy: just add it to your project.
    Rainer
    >>> Rainer Backes<[email protected]> schrieb am 11.08.2010 um 13:39 in Nachricht <[email protected]>:
    Hi,
    I just wrote a C3PO with Dephi 2010. Extending the Tools Menu for my function was easy, but I'm still trying to add a toolbar button.
    Here is a snip from the code:
    function CommandFactory.CustomizeToolBar(const Context: WideString;
    GWToolbar: OleVariant): WordBool;
    var
    Button: variant;
    ToolbarItems: variant;
    Cmd: Command;
    begin
    ToolbarItems := GWToolbar.ToolbarItems; // get toolbar items
    // MessageBox(0, pwidechar(getCurrentDir) , 'EMAStart', MB_SETFOREGROUND);
    If Pos(widestring('GW.CLIENT'), Context) <> 0 then // see if the context is GW.CLIENT or any sub class
    begin
    GwCmdEMAStart := Command.CreateWithID(EMAStart); // create command for toolbar
    Button := GWToolbar.ToolbarItems.Add('Start EMA', GwCmdEMAStart as IGWCommand); // add new Button
    GwCmdEMAStart.ToolTp := 'Start EMA tooltip'; // set tooltip for toolbar item
    Button.SetBitmap(GetCurrentDir+'\EMAStart.dll','IC ON1'); // set toolbar bitmap
    // Button.SetBitmap(GetCurrentDir+'\icons.dll','BUTTO N_1'); // set toolbar bitmap
    //C3PO WIZARD icons.dll can be replaced with the full path name of any .exe or .dll that have both 16x16 and 32x32 pixel bitmap
    // BUTTON_1 can be replaced with the name of the bitmap contained in the .exe or .dll
    end;
    result := FALSE;
    end;
    I included the icon in 16x16, 24x24,32x32 and 48x48 sizes in the ressources..
    When I change to the icons.dll (currently commented out) the button appears in the toolbar.
    But I never managed to get my button to display.
    What's wrong ?
    Thanks a lot
    Rainer

Maybe you are looking for

  • SRM 7.0 Issue

    Hi Experts, This issue is in the implementing of SRM 7.0 and in the rejection scenario of the Shopping Cart (thru SRM portal), we want to make the "Approval note" a mandatory field to be filled in by the Approver. The following is what I have done th

  • No VGA input

    Compter model - HP Pavilion GG646AA Operating System - Windows Vista 32-bit Error message - on monitor, no VGA input Any changes made - no changes made  I've looked on the internet and it seems like I'm not the only HP user to encounter this problem.

  • Copied movie to new computer and plays distorted

    Using iMovie 6 HD I made a movie on a new MacBook then copied it to my computer--PowerBook G4. The movie now plays with the video slow and choppy. The audio is choppy too but not in sync with the video. I thought it was a memory issue and dumped many

  • ASM中OCR存储文件疑问

    OS: READHAT 5.8 DB: 11.2.0.3 Status of Oracle Cluster Registry is as follows :          Version                  :          3          Total space (kbytes)     :     262120          Used space (kbytes)      :       2908          Available space (kbyt

  • I forgot my email password for my icloud

    need to know who to redeem your password for you e-mail account for you icloud, because i have forgotten it and need my emails.