Skip navigation
Currently Being Moderated

Adobe Edge (navto://) with DPS

Oct 19, 2011 6:30 PM

Hi,

 

I try to create Index page of DPS with Adobe Edge.

 

On Adobe Edge, I can set upl open on button image (window.open("http://www.adobe.com", "_self"); and it works well.

Then I canged http:// to navto://Stack_name, it doesn't work....just alert message like "it is not effective url".

 

I want to set navto:// on button image with Edge.

 

How to do it?

 

Is there any sample for it, please let me know.

 

Thank you.

 
Replies
  • Currently Being Moderated
    Oct 20, 2011 4:02 AM   in reply to shimoawazu

    If Edge is not accepting your URL, I'm afraid you need to modify the Edge

    output manually after export. search and replace your link.

     

    —Johannes

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 21, 2011 2:34 PM   in reply to shimoawazu

    To Shimoawazu,

     

     

    I've just posted this again as I'm also getting Cannot open page "The URL can't be shown" (101).

     

     

    Maybe someone out there could advise us on the error.

     

     

    Regards

     

     

    Vividi

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 27, 2012 7:49 AM   in reply to shimoawazu

    This problem is caused because Edge uses window.open JavaScript method to open URLs.

     

    We have created a work around by appending an anchor <a> tag inside the <div> that should be linked. Here are the details:

    1. You no longer need to add an Action to the <div> that will be clickable.
    2. Instead, add the following code as a Trigger. By going to Timeline => Insert Trigger

      var myElementVar = sym.lookupSelector('myElementID');

      $(myElementVar).append($('<a style="display:block;width:100%;height:100%;" href="navto://MyArticleLink" />'));


      * Note that "myElementID" should be the ID of the clickable <div> element.
      * You can also change myElementVar to distinguish it from other variables.
      * You can repeat the above code for each clickable element. Note that you'll need to change myElementID and myElementVar to be unique.
    3. Save the Trigger and test.

     

    This will create an <a> tag inside the <div> that you want to be clickable, instead of calling window.open JavaScript method, which will work seamlessly on Adobe Content Viewer when published to Adobe Digital Publishing.

     

    See this link for illustrated screenshots.

     
    |
    Mark as:
  • Currently Being Moderated
    May 9, 2012 6:36 AM   in reply to shimoawazu

    This thread and its answer dates back quite some months,

    and by now we're in Adobe CS6 and all. Time for an update ?

    I recently received a question from a course attendee of mine,

    regarding this matter. She was also having similar difficulties

    with Edge's default links to navigate to articles, and she got

    this helpful and working advice from someone at Woodwing:

     

    I've played around a bit with the navto functionality

    and I can confirm that window.open("navto://something")

    doesn't work. However, if you change that to

    window.location = "navto://something", it will work.

    At least on iPad. The desktop Content Viewer only seems

    to work with <a href="navto://something"> tags.

     

    Can some of you scripting hero's shine a light on this ?

    I hate to tell Edge users to dig into the code of their files...

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 14, 2013 11:13 AM   in reply to Peter Villevoye

    Hi guys

     

    I have the same problem right now, try do link my folio article with an animated index of content, made in edge animate. Please can you tell me what exactly I have to fill in action by klick. It is the same action like "open url", but different code?

     

    What I have to change for the reason "navto://article" works?

     

    wrong: window.open("navto://article");

     

     

    I am looking forward to hear from you.

     

    Kind regards, Sit

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points