Skip navigation
Currently Being Moderated

Shared libraries in HTMLResources

Jun 23, 2012 1:59 AM

Hi, anyone had any luck linking shared libraries (like jquery etc) to the HTMLResources folder?  It's time for some house keeping and I must have at least 20 copies of the same jQuery script existing in a folio. But I've tried changing the script source in all my HTML files to "../HTMLResources/sharedLibraries/jquery…" but when uploaded the HTML files on page do not run?

 
Replies
  • Currently Being Moderated
    Jun 23, 2012 3:01 AM   in reply to Yellow Christian

    Hi Mr Christian (sorry I keep forgetting your name!)

    I know when I link PDF's in the HTMLResources folder the files need to be zipped, not sure if it;s the same for your jquery files, but just a thought, as you didnt mention it.

    Cheers

    Alistair

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2012 3:20 AM   in reply to Yellow Christian

    Without seeing your file structure, I'm just taking a stab, is this a web view you are using? how have you structured the html with the jquery?

    Sorry, I'm no expert!

    cheers

    Alistair

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2012 6:34 AM   in reply to Yellow Christian

    OK. Thats just got too complicated for me. I that the guitar mag your working on? I might buy that to see what sort of stuff your doing, even though I wont understand how you've done it!

    cheers

    Alistair

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2012 8:47 AM   in reply to Yellow Christian

    i thought this was actually possible, christian. and I thought it was the

    whole idea behind HTMLresources.zip. I might test myself soon.

     

    —Johannes

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 3:07 AM   in reply to Yellow Christian

    I could not test yet, but I quote from the help article:

     

    This is the way to refer to anything that's inside the HTMLresources. it looks that if you use web contents, you need to preprend ../../../ before the link.

     

    InDesign source document

     

    In the URL field of either a hyperlink or button, enter the path without http://, navto://, or any other prefix. Example:

    HTMLResources/Cartoons/train1.html

     

    HTML article

     

    From an HTML article, specify the location. Example:

    <a href="../HTMLResources/Cartoons/train1">See Train Cartoon Gallery</a>

     

    Web Content overlay

     

    Web Content overlays are nested two levels deeper than an HTML article. Example:

    <a href="../../../HTMLResources/Cartoons/train1">See Train Cartoon Gallery</a>

     

     

    http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-8 ad81e812b10bfd837-8000.html#WS9293e1fb3b977c5c59941d9512e26ceaf25-8000

     

    —Johannes

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 4:47 AM   in reply to Yellow Christian

    great to hear.

     

    —Johannes

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2012 5:37 AM   in reply to Yellow Christian

    Totaly offtopic, but Christian, your Guitarist Deluxe is amazing.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2012 11:33 PM   in reply to Yellow Christian

    Hey Mr Christian, Sir. I'll second Martin's comment, lot of work in that there mag.

    I think one of the draw backs of the new iPad though, is file size. your last issue, at 685Mb is eye wateringly big.

     

    Just out of curiousity are you using Edge for any of the HTML yet?

    Also been thinking of using proper "sliding" slide shows for a while just not had time to implement them, but I think they look better than a cross fade sometimes.

    Well done, keep up the good work!

    Cheers

    Alistair

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

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