JavaScript behave like button, open the external link

Bjects button or hyperlink, you specify to open the link in the Device´s browser rather than internally in the publication.

Then, you specify the same in Javascript?. I tried with 'target = "_blank" ' in the link, but it doesn´t work.

The problem is that web sites, videos, etc, just Don t work in Tablet Android openness in the publication. Just an empty window.

But I want iOS users will be able to view this content in the publication (works perfectly under iOS)... So I want to write the link in Javascript, detect if android or iOS, since West it s no way to perform this detection on a button...

Something like (just an idea of the code is not complete):

< script type = "text/javascript" >

au var = navigator.userAgent.toLowerCase ();

var isAndroid = ua.indexOf ("android") >-1;

If {(isAndroid)

document. Write ("< a href =" www.sitewithvideoembed.com/video.html "target =" _blank"> LINK < /a > android external" ");

}

else {}

It s iPAD...

document. Write ("< a href ="www.sitewithvideoembed.com/videofile.mp4"> LINK for iPad/normal internal < /a >" ");

}

< /script >

I know West an array specifying the limits with overlays web and multimedia in Android, but the performance is just terrible, but I Don t want to spoil the experience for iPad users... At least if I could force Android only to open the content differently.

Thanks in advance.

PS: I have the Gold customer service, but apparently this means I have no email or chat support... only phone. Whan was gold cheap?.
"Sir with adobe support policies here, we do not support or contact customer, s because it is a specific Department available by phone, I wish I could help you here, but with support policies is not allowing me to move forward"

It is unfortunately not possible to force links custom HTML content to open in the browser on the device. This can only be achieved by using the options for the hyperlinks created with the folio overlay Panel.

The feature has been considered by our teams of product but still don't have product.

Tags: Digital Publishing Suite

Similar Questions

  • Cannot open the safari link after installing the iOS 9.3

    Cannot open the safari link after installing the iOS 9.3

    This is a common problem and there is currently no permanent solution yet.

    Try turning off JavaScript under settings - Safari - Advanced.

    I think that apple will figure things out soon.

  • clone hard drive to external memory now cannot open the external file "corrupted" States how can I get it

    Tried to make the backup file all data on my hard drive for external memory with a capacity of 450 G. Message said two blocks of data on hard drive... now I can't open the external memory... file States corrupt... a way to overcome this obstacle and recover the data that was on the external drive until I tried the back-up... r must I clean the external drive? o

    Hello

    Method 1:

    Right-click on the external hard drive in Windows Explorer, click Explore, see if you can recover the files.

     

    Method 2: Check the hard drive for errors.

    Reference:

    Check your hard drive for errors:

    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

  • I would like to open the PageMaker files in InDesign. Is this possible? If so, what should I do? TKS.

    I would like to open the PageMaker files in InDesign. Is this possible? If so, what should I do? Thank you.

    Only CS6 and earlier can open files of the PM.

    CS6 is included in your creative cloud account.

  • Opening an external link using javascript.  Keeping the new window to the front

    I display a picture from an external link when it is called my swf.  When the user clicks a button, place appears a corresponding picture in a new browser window.  After the picture window is open, if the user clicks another button, that the photo browser update but its is no longer at the front.  I know that I need to use the focus() command but can not understand how to integrate it in my AS3 code.

    var req=new URLRequest();
    
    function scrollPanePopulate(event:Event){     
         //create the temp variables
         var calledPhoto=pntxml.row[pointindex].PhotoUrl;
         req=pntxml.row[pointindex].PhotoUrl;
         var jscommand:String = "var newwin=window.open('"+req+"','win','height=400,width=600,left=650,top=50,toolbar=no,scrollbars=yes,location=no');"; 
         var url:URLRequest = new URLRequest("javascript:" + jscommand +"void(0);"); navigateToURL(url, "_self"); 
    }
    
    

    The above code works fine but I want to keep the picture in front window when it is updated.  Any suggestions?

    Thanks in advance...

    -josh

    :

    var req=new URLRequest();
    
    function scrollPanePopulate(event:Event){          //create the temp variables     var calledPhoto=pntxml.row[pointindex].PhotoUrl;     req=pntxml.row[pointindex].PhotoUrl;     var jscommand:String = "var newwin=window.open('"+req+"','win','height=400,width=600,left=650,top=50,toolbar=no,scrollbars=yes,location=no');";      var url:URLRequest = new URLRequest("javascript:" + jscommand +"void(0);newwin.focus();");
    
    navigateToURL(url, "_self"); }
    
    
    

    p. s.  you use the externalinterface class.

  • Middle mouse button opens the link in the TWO tabs

    Like many users, I started only problems with Firefox since the onslaught of updates began. For the most part, they disappeared with newer versions, or are minor annoyances.

    MY PROBLEM: When I use the middle button of the mouse to open a link, it now opens the link to the top in two separate tabs. This started after the upgrade to version 29 only and did not immediately (perhaps a few days). I just updated to 29.0.1, who did nothing with regard to the question of fixing.

    It is not the mouse, because I can open Chrome, find a link, use the middle mouse button and get only a tab.

    Any help or advice would be greatly appreciated.

    Thanks for the replies. An update since then has actually fixed all the problems except one. Now I'm trying to get the downloads to open in a tab, but only an extension seems to fix this...

  • When you open an external link, a new window opens and displays the home page

    Updated to the latest version (36.0 Linux) and now whenever I open a link from an external application to be steam E-mail IRC or any other source, instead of the page is displayed a new window will open and then load the home page. I tried the default browser to something else (which opened the links correctly) switching and vice versa, safe mode and even a refresh, but the problem persists.

    I found this in the bug tracker.

    Apparently it seems to be a problem with an old hack in XFCE or desktop environments possible on X in general, which is no longer supported in Firefox 36. A solution fast until they solve this problem, is to open a new terminal and enter:

    sudo gedit /usr/share/xfce4/helpers/firefox.desktop
    (replace gedit by any other text editor you use)
    .. .and change the last two lines:
    X-XFCE-orders = %B - distance "openURL (about: Virgin, new window)"; %B;
    X-XFCE-CommandsWithParameter = %B - remote "openURL (%s)"; %B %s;
    to read:
    X-XFCE-orders = %B;
    X-XFCE-CommandsWithParameter = B %%s;
    then save the document, of course.

    This solves the problem for me immediately.

  • Opening an external link to a target

    Hope this is the right place for this question and that it is not too bad...

    I use CS4 to build a simple website using a template with navigation bar, header and footer.
    In the left navigation panel, I want to be able to associate a few buttons (maybe Spry menu?) to open an external URL. So far, that's fine, but in addition I want to do the following when the link opens in my site:-

    (1) I want the link to open it in the main content window on the RIGHT side of my page (that is to say I don't want to open a new browser window)
    (2) I also want to be able to left or right, to justify the content of the page when it opens in the RHS window (I've seen called openstyle = "rtl", which can be used for languages that read from right to left (Hebrew, etc.))
    (3) the content of the external URL is an image, that is to say, GIF or PNG, not text.

    On older sites (DW3) I got close to do this with images, but I still couldn't do the bit right justify. The images always open left and I had to Diecut to the right manually. I thought that executives were in the doghouse now and I should spend some of the new templates, widgets, etc.

    You can see my dilemma by looking www.firegrass.co.uk on my tester page.

    Any help or advice would be much appreciated.

    Thank you
    Neil

    Definitely. It's like any other HTML page...

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "CS4Rookie" wrote in message
    News:gqg5uq$98t$1@forums. Macromedia.com...
    > Ok, then what happens if I include the link to the image in another HTML page on my
    > site.
    > and then call this page near the top of my main browser buttons.
    >
    > Can I then specify where in the HTML page, the image is favorably in?
    >

  • Open the PDF link in a new browser window?

    I have consulted newly created a PDF file in a browser.

    When you click an internal link, the linked PDF load in the same window

    I need to launch in a new browser window.

    I put the link to 'new window to launch' in Word, the origin of this file.

    I also opened and resaved it in Acrobat 10 with preference 'Open links in the same interdocument window"deselected.

    None of these settings have changes the behavior while all the documentation I've read seems to suggest that they should.

    What I'm missing here?

    -Blake

    That the parameter preference does not apply to web links and do not refer to a browser window, but an Acrobat window.

    There is a JavaScript method that might work. Try to set the link for the action to something like the following script:

    app.launchURL("http://www.example.com/", true);
    

    This was taken from the example here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.150.html

    The problem is that if a user has 10 drive and protected mode is enabled (as it is by default), it does not work and opens the link in the same browser window.

  • Page before executing the external link.

    Hi people,

    May I ask what is the technique used to implement a 'notification' page, before reaching an external link?

    In other words, I want a page/popup that alert vistors when they clicked on an external link and give them the choice to continue to the destination or to cancel it.  Simple popup/page will tell them they're going outside our site and that we are not responsible for external content.

    With our thanks,

    aim9x

    Hello

    You said that you wanted to learn javascript, so-

    Use the onclick function to capture the click link event and display your message, once the message if poster, (using some sort of timer inside the onclick function) close the window using the same on the click function, and the default value (access the link), then happen.

    That said, it is better to have just a policy that your visitors can read (possibly in a sidebar), indicating the no responsibility for the content of external sites, to have some sort of pop-up information. The reason behind this is that visitors do not like the pop up information that they did not expressly ask themselves. So keep your visitors happy and do not have this effect, unless consider you as an absolute necessity.

    PZ

  • Videos to pause when you open an external link

    Hi, we have a scorm course that has integrated Vimeo videos, using the web object and it works very well, also on the same page\slide we have links to external resources.

    What we demanded, that is when the learner clicks on an external link he paused the video, no matter what ides on how we can do this?

    Thank you very much

    Jamies salvation,

    Unfortunately, Captivate is unable to send commands to web objects, then you will not be able to implement a command which pauses for the video (frustrating, right?).

    My only suggestion would be to put your external resource on a transparent section,

    or

    Set it so the hyperlink executes a tip rather than just the link action and place so the advanced action opens the link and hides the web object / moves on a holding slide.

    I hope this helps! I appreciate it is not a good solution.

    Mike

  • Cross-reference to the external link is broken...

    Hi all

    With your help, I was able to establish corss-ref (or hyperlink) to an external document.

    Yesterday, using HyperText (e-mail Client) option, I was able to create a link to an external Document PDF.

    Syntex Client Message: message openfile relative_path

    After you publish a document, a PDF external link works fine.

    But whenI move all files and subfolders to a different location, the LINKS are BROKEN. I haveIf there is a way to fix this?

    Thanks in advance.

    The link works within the FM (hold the button ctrl + alt and click on the link)? If this does not work there, then your path information is not correct. Also, I think you might need to use the path in quotes because of the space in the folder name - FM has a heritage of unix and is a little sensitive on the paths and file names.

    Where the links are pointing to in the PDF file (use the Acrobat link tool > properties when you select the link area)?

  • Place the rollover image button on the external top of swf

    I have a menu when you click on a button, an external swf is called. However, I would like for the buttons and more and the low State to show an image on the top of the external swf with a description of what the video is of about (essentially when they overthrow the button).

    The problem is that the image shows behind the external swf. I can't see on the top of the external swf. I tried to put the layer of buttons on the top of the layer of actions, but it does not work.

    I have not used Flash for a long time, but I need to know if there is ActionScipt who can solve my problem or any other way to solve this problem. Help, please. Thank you.

    delete:

     loader.name = event.target.name;
    
  • How can I make the downloads button open the downloads/library window?

    I have a copy of Firefox on a computer that opens sort my list of downloads in the section downloads of the Library window. Meanwhile, there is another computer with Firefox which opens a whole tab with my list of downloads. I prefer to use the library view of the window instead of the display by tabs. I have the download button in the Menu, rather than on the toolbar. Can someone please help me find an option or another way to set the download button to open the view windowed on my other computer? Thank you.

    Firefox opens the topic: downloads page in a tab when you're in private browsing mode.
    The downloads folder is only open in normal mode.

  • What is the iframe? How to open the following link?

    "< iframe src ="https://www.google.com/maps/embed?pb=! 1m18!1m12!1m3!1d8709.286764548828!2d28.976 536760084933!3d41.00934322955658!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2! 1s0x14cab9be59204479% 3A0xb2aa4cd6ab8241cd! 2sCafer + % C4% 9Fa + Medresesi! 5e1! 3 m 2. 1s en! 2ssa! 4v1464699069450

    "width ="600"height ="450"frameborder ="0"style =" border: 0 "allowfullscreen > < / iframe >"

    An iframe is a way to integrate one web page inside another. You can not open the link directly (I tried). Without doubt this is supposed to show some information on Google Maps, but you will have to go back where he comes and try another approach.

    TT2

Maybe you are looking for