Url link to button

how to set a button to get website with target blank.

Linking is done in HTML, not CSS (with the exception of a link to a background picture)
So, if your navigation is a list, you'd have the following in your HTML:
<nav>
     <ul>
          <li><a href="index.html">Home</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="books.html">Books</a></li>
          <li><a href="http://www.myexternalwebsitelink.com/inboundfromotherwebsite.html">External Link</a></li>
          <li><a href="contact.php">Contact</a></li>
        </ul>
</nav>
Here, in the example above, I'm using the HTML5 <nav>, but that could be an HTML4 <div class="nav"> and you will see a link to an internal page on the same website server for Home, About, Books and Contact with "External Link" pointing to another website external to the one we're on.
Make sense?

Similar Messages

  • Assigning a URL link to button in a Flash Player

    I've designed a player in Flash using Action Script 3. I've
    built a rollover button into the player that users will click to
    link to a new page. But where do I assign the URL for that button
    to link to; there's no apparent field for this in the properties
    inspector.
    I was able to make it work by switching over to Action
    Script 2 and assigning a "Go to Web Page" behavior to the button;
    but I can only do this in Action Script 2 (where behaviors are
    available), and I have to keep the page in Action Script 3 in order
    to support other components (Slideshow Pro).
    Surely there is a way to assign a simple URL link to a
    button in Action Script 3. Thanks for the help,
    Chris

    yes, you need to write AS3 script in order to do so:
    [code]
    buttonInstanceName.addEventListener(MouseEvent.CLICK, navTo);
    function navTo(e:MouseEvent) {
    var url = new URLRequest('
    http://www.theaddresshere.com);
    navigateToURL(url);
    [/code]
    place this on the first frame where you button is
    instantiated, in a layer you name 'actions' - with the frame
    selected, open the Actions panel (F9) and enter the script there.
    replace the "buttonInstanceName" with the instance name of the
    button on the stage you're assigning this method to, and of course
    replace the address in the URLRequest parameter.

  • Problems adding  url link to buttons in action Script 3

    each time I added it link 1 to the button on file i get these error messages-  
    1046: Type was not found or was not a compile-time constant: link1.
    1180: Call to a possibly undefined method link1.
    Warning: 3594: exec is not a recognized method of the dynamic class RegExp. var r:Object = p.exec(s);  
    This is the code I am using:   import flash.net.navigateToURL; import flash.net.URLRequest;  var link_one:link1;  link_one = new link1(); stage.addChild(link_one);  link_one.addEventListener(MouseEvent.CLICK, buttonClickHandler);  function buttonClickHandler(event:MouseEvent):void { var url:String = "http://www.masterpiececorp.com/ARMREF.htm"; var request:URLRequest = new URLRequest(url); navigateToURL(request); }    I have no other problems with link 3 or 4, just link 1  I still cannot get my urls link to movie clips on the flash  
    Can you upload flash here? if not I have a image capture I can use to have you look at my buttons  and action script code. i have been to every forum I know and not any have been helpful at all. This is my last hope.
    Very frustrated newbie  Gina T
    Message was edited by: gtaylor0406

    The way you had your code originally would be correct...
    var link_one:link1;
    link_one = new link1();
    addChild(link_one);
    The 1046 error is indicating it doesn't recognize the link1 class.  So the first thing you need to make sure of is that you have assigned the link1 class designation to whatever symbol that is in the library.

  • URl link in button in outgoing mail

    Hello Experts,
    I am sending the outgoing mail in HTML format.
    I have provided link in the body of the mail.
    As per the requirement, the same needs to be given as button.
    Can anyone tell me how to give a link as button in the outgoing mail.
    Thanks in advance.
    Regards, Prasana

    Hi,
    I think this is a difficult one. Maybe you can add an image which looks like a button and place that in your mail.
    Insert in the body of the mail the html code <img border="0" src="button.gif" width="65" height="38">.
    Don't know if it works but give it a try.
    Regards,
    Bert

  • Simple question: calling URL link with WEB.SHOW_DOCUMENT is not working

    Hi folks,
    this should be an easy question, but I have no idea why it's not working :-(.
    In one of my form, I would like to place an URL link behing button.
    For this purpose I'm using below code:
       WEB.SHOW_DOCUMENT('http://www.google.com','_blank');But when above code is executed, nothing happens :-(.
    Could it be because I'm using it within modal type of window?
    Thanks,
    Tomas
    I'm using Oracle Forms 10g

    have you checked with using self instead of blank to see if it will replace your current page with the one you are tyring to call?
    Have you got any other firefox plugins running such as Ad block? can you try disabaling all addons and even the internal pop-up blocker jus to see if this will work?
    if self works but blank does not how about having the main app called from a multi frame page. one frame with the app in and the other frame with some javascript that can be called to open a new window? dont know if that will work and its late so probably not thought it thorugh fully :)

  • How to add an outside url link to a navagation button in Dreamweaver Cs5.5

    How or can I add an outside url link to a navagation button in Dreamweaver Cs5.5. If I try the properties/link it says that the link is an html and not a css.....
    Thank you

    Linking is done in HTML, not CSS (with the exception of a link to a background picture)
    So, if your navigation is a list, you'd have the following in your HTML:
    <nav>
         <ul>
              <li><a href="index.html">Home</a></li>
              <li><a href="about.html">About</a></li>
              <li><a href="books.html">Books</a></li>
              <li><a href="http://www.myexternalwebsitelink.com/inboundfromotherwebsite.html">External Link</a></li>
              <li><a href="contact.php">Contact</a></li>
            </ul>
    </nav>
    Here, in the example above, I'm using the HTML5 <nav>, but that could be an HTML4 <div class="nav"> and you will see a link to an internal page on the same website server for Home, About, Books and Contact with "External Link" pointing to another website external to the one we're on.
    Make sense?

  • How to make a movie clip button into a url link?

    Hello,
    I'm kinda new to using Flash and am trying to edit a template for a friend of mine, the problem is I'm trying to add a url link to the buttons. I tried adding this action to the button
    on(release){
    getURL(http://www.yoururl.com.);
    I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instances
    In the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?
    I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.
    Does anyone know how to do this? Any help is greatly appreciated.
    http://jaedenyoo.com

    Unfortunately that doesn't seem to be the problem, I checked and
    in my flash file its typed correctly.

  • Linking a URL to a button in Flash

    I am building a website and the top navigation is in Flash. Each button links to a HTML page. My problem is that when each button is clicked it jumps to the wrong page and I can't figure out why as the URL links are correct. The buttons are movieclips if that makes any difference...
    Here is a sample of the code I'm using for my buttons:
    onClipEvent (mouseUp){
        getURL("index.php","_self","GET");
    I have also tried using:
    onClipEvent (mouseDown){
         getURL("index.php","_self");
    ... But it doesn't work either. Any help would be fantastic as I'm starting to pull my hair out with this thing!

    I have also tried:
    onClipEvent (enterFrame){
        this.mouseDown = function() {
            getURL("index.php","_self");
    With no success...

  • URL Links and Next Button conflict

    I've put three clickboxes on a captivate slide, each leading
    to a different URL.
    At the end of the slide, I've placed a NEXT button, set to
    Pause until user clicks. "If user clicks outside of button" is set
    to Infinite Attempts. This is my attempt to hold the slide until
    user has a chance to visit all three URL's.
    Problem: clicking the URL links activates the next button, in
    spite of the "infinite attempts" setting. I think I've found a way
    around this using a series of duplicate slides, but I'm curious
    about why it happens.
    Thanks!
    maggie

    Welcome to our community, Maggie
    When you insert a Click Box object and point it to a URL,
    note there is a button with a down arrow to the immediate right of
    where you type the URL. Click that and you get the option to choose
    to open the project in a new window. I'm guessing you have already
    done this or your complaint would be something else.
    If you click that button a second time, you should then see
    the option to DE-select the option "Continue playing project".
    That's likely what you are looking for. You need to clear this
    option on all the Click Boxes. Once you do this, you should see the
    behavior you are wanting.
    Cheers... Rick

  • Open a external window like URL Link but from my button

    Hi,
    I want that when I press a button, open a new window to (for example www.google.com) like when i push a url link. How can I do that?.
    Regards,

    1)get api from comp controller ( see wizard)
    2)GET window manager  (also on wizard)
    3)Create window using CREATE_EXTERNAL_WINDOW  (check window manager methods)
    The object returned is of type if_wd_window
    4)The call the OPEN WINDOW method.
    Regards
    Phil

  • How can I send to a different URL link than what the text states in Acrobat?

    Hi there
    I know how to create URL links in my document using Acrobat but
    How can I create a link that goes to a different URL desintation other than the one the text states?
    For example
    the text states
    www.aaaaa.com
    and I want it to state this,
    but I want the link to direct to
    www.aaaaa.com/abcdefghijkl
    I dont want to have to create a link object, I want it to stay as text?
    Is this even possible?
    Any advise?
    Thanks

    try67 wrote:
    Actually, it is possible to specify your own tooltip text, if you use a
    button instead of a link.
    You just set the button's action to "Open a weblink" and it will act the
    same as a link, but you'll have more control over how it looks and behaves.
    Hi there
    I cant see the term "Open a weblink". Can you advise please?
    Also then how do you change the "Tooltip text" please?

  • Url link in flash page flip book

    I am very inexperienced at what I am trying to accomplish.
    I have created a flip book in flash. On a page in the book I made a button that is a link to an external url. When I place the the swift file of that page on my webstie, the link works. I have made a link from my homepage to the flipbook. But when I open the flip book the url link does not work.
    Does anyone out there know what's wrong?
    thanks

    If the flip page the swf is in has interactive code asigned to it, such as whatever you use to flip the page, it could be blocking access to any clickable objects in the swf file.

  • Open a URL link in the same window as SWF file in indesign CS5

    Hello,
    I am trying to create a SWF file using indesign CS5.  I have created buttons and placed in URL links but they always open another window.  I would like to know if there is a way to have the URL open in the same window that the SWF file has been created.  I tried, putting "_self" to target it in the URL bar, but nothing works.
    Thanks in advance
    TK

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • Can I create more than one URL link in a single Flash (SWF) file?

    I created a simple SWF slideshow in Flash with 5 slides. I was able to link one URL to the whole file by adding an alpha button.
    What I can't figure out is how to add a URL link to each slide. The SWF file i sused on a website and I would like to be able to click on a particular slide as it is playing to go the a site or page that applies to that slide.
    Is there a way or code I can use to do this??
    This is the code I am currently using for the button now.
    ja_btn.addEventListener(MouseEvent.CLICK,mouseClick);
    function mouseClick(event:MouseEvent):void
                   var request = new URLRequest("http://www.jakeandamos.com/");
                    navigateToURL (request,"_blank");
    I am just learning this stuff so I can use your help, Thanks!

    You cannot duplicate instance names or function names, so you'll need to create unique names for each one that behaves differently.  So you can only have one function named "mouseClick"... if you want to have another function to link somewhere else you need to create a new name for that function ("mouseClick2" would work)
    There are alternate approaches, but for now this will be the easiest for you to deal with.

  • How to display the one BSP View page (not a start page)Through URL link..

    Hi Sir/Madam,
                 I want to open one BSP view page through URL link...
    Let me Explain clearly..
                I have an Z application ZHRRCF_APPROVAL..In this application approve.bsp file i have added som more Fields..and Finally I am going to click ApproVe Buton /Reject Button.When i click the reject button the the items are rejected.Its working fine.....
              My Requirement is :
                   1. I want to display the approval page directly when i click the URL link from mail box.--i am getting this .. No issues..(Got the URL link from function module)
                   2. After opening the approval page when i click URL link, when i click the reject button-- i am getting the error "The following Error Text was processed in the system GR2."Access via NULL object reference not possible"
                   3. How to proceed the this URL link without error .. the URL link is
    https://abd00093.de.abb.com:8200/sap(bD1lbiZjPTIwMA==)/bc/bsp/sap/zhrrcf_approval/application.bsp?objid=50003421&otype=NB&plvar=01&requestdate=20090121&requestedRsnCode=01&requestedstatus=1&requester=USRECRUITER1&SAPWFCBURL=https%3a%2f%2fabd00093%2ede%2eabb%2ecom%3a0000000000008200%2fsap%2fbc%2fwebflow%2fwshandler%3f_sapwiid%3d000000018491%26_saptask%3dTS51807979%26_saplogsys%3dGR2CLNT200%26_sapuname%3dLINEMANAGER%26_saplangu%3dE%26sap-client%3d200
    ( I got this URL directly using my own function module.. In this function Module i was not getting the SAPGUID -- the error is because of that i am not sure..)How to get this sapguid dynamically..
                    Please guide me to proceed this req asap..
    I am waiting for your reply ....Please
    Thanks and Regards
    Mohan,P

    Please have BPEL loggers both at domain and system level to DEBUG mode. Set all loggers to DEBUG as you are interested to see the entire sequence flow..however, some loggers give you unnecessary info ;/ apart from cube, activation, delivery, dispatch, persistence.
    Added to this, you might want to try SOAPUI, Fiddler, HTTP Analyzer.

Maybe you are looking for

  • Problems with the login page in Portal release 2

    Hi, I have problems logging into portal, release 2 on Linux. I get the following error message when clicking the login link: Forbidden You don't have permission to access /pls/orasso/orasso.wwsso_app_admin.ls_login on this server. This used to work u

  • Quicktime for windows problem. No Audio!

    Movie info: Source: ***.avi Format: 3ivx D4, 624 x 352, Unknown MPEG Layer 3, Stereo, 48.000 kHz Movie FPS 23.98 Playing FPS: 24.40 Data Size: 208.76 MB Data Rate: 140.26 Current Time: 00:00:04.04 Duration: 00:25:00.00 Normal Size: 624 x 352 pixels C

  • I can't play CityVille on Firefox anymore. I have to go to IE to get CV. why?

    I've used Firefox for 2yrs and love it. I downloaded Norton yesterday and went to FB to play CV and the game would not load. After calling Norton, they downloaded IE as my browser and CV loaded. I DO NOT WANT IE as my browser. I restored it and nothi

  • Where is the CSS Administrator Tool?

    Did anybody download the CSS Administrator Tools from the official website successfully?I always got the HTTP404 error. I need the EFS Protection Ulitity(included in the admin tools) mentioned in the Delopy Guide. Anyone can send me a copy? Thank you

  • Continuous averaging for a certain amount of time

    Hi In my program I have to use a start button to continuously average a value for a certain amount of time(lets say 3s) and keep and show the average the value. The state of the start button should return to off mode after that 3 sec so if the user h