A link to a SPECIFIC location in a document

Hello

I am wanting to link a specific text in a document to a specific location in another document.  I created anchors named in the document I want specific text to link to.  The code is shown below:

< span class = "style2" > CHS 314 < /a > < a name = "CHS314" id = "CHS314" > < / a > - Introduction to American Indian studies - spring 2006: < /a > < / span >

I used the Point of the method of file with two open documents (vertical mosaic) at the point of the text (in the document mission statement.html) to the anchor named (in the Papers.html research paper).  Here is the code:

< a href = "search Papers.html #CHS314" > a critical analysis of works of literature < /a >

The problem is that when I test this code in FireFox and IE, it opens to the PAGE (search Papers.html), but NOT at the EXACT LOCATION (the named anchor) #CHS314 on the page.

I am wanting to and need to use the text on a single page to point to specific courses on another page.  It is not really do me any good to open the page, without going to a specific place on the page.

Did I miss something in the procedure to accomplish this task?

You sage wisdom and expertise are greatly appreciated.

The functions of anchor as expected.

According to a visitors screen size resolution and browser window your http://www.h2ostones.com/creatingsustainable/Research%20Papers.html page are not long enough in height to show the anchor effect if the entire page appears on pageload. Would need you a page requiring scroll so that the anchor go to the scroll position where the anchor was placed... ie. as previously mentioned "the named anchor should appear below the fold to see the effect."

Tags: Dreamweaver

Similar Questions

  • Link to a specific location in an open file

    I created a link that opens another file.  Is it possible to go to a specific location (e.g., bookmark) in the file automatically "to open"?

    Thanks for the help!

    If the newly opened file is a PDF file, you must use a link of type 'Go to page view', not one action "open a file". Once you have set up the link, you can edit it and specify a named destination if you want to, as opposed to a page number and zoom.

  • First pro cs6: marker link to a specific location of a clip

    I want to place a marker on a clip and related it to this particular location of the clip. It is if I cut the clip or if I move the clip, I want to go with her marker pointing to the exact location of the clip

    How can I do this?

    Thank you

    Put a marker while the clip is in the monitor source; in this way, the marker will stay with the clamp to this position regardless of how the clip is edited. If your clip is already in a sequence, double-click it and it should be in the source monitor. Then put a marker where you want. It should appear on the element in the sequence.  If you double-click on the item in the sequence, you can add text to it to remind you why you checked it there.

  • InDesign Publish online: can the direct link to a specific page in the document?

    I know that you can publish some pages online with the new feature, but is it possible for the link open on a particular page with all of the downloaded document?

    By example, if I download a 3 page brochure using Online publication and wanted the link to open page 2 to page 1 always included.

    Thank you!

    Not in the current version of InDesign. However, a more recent version of the feature has been demonstrated to the MAX at the beginning of October. It will be released in a new version of InDesign "later this year." It includes the possibility to incorporate a link to the publication, and it lets you specify the start page. If she is coming...

  • A link to a specific place in the document

    I followed the instructions to make an anchor point in the text, I want to connect, it is not a problem. But then when I go to another page to link the named anchor I tried typing "filename.htm #anchorname." in the field of the property inspector link, but it does not work. please help!

    CHANGE THIS "filename.htm #anchorname.

    FOR THIS: "Filename.htm #anchorname.

  • A link that goes to a specific location on a page?

    I have a link on my site that will lead the Viewer to an article in the Construction of metal buildings news - I was wondering if there was a way for the link open in a specific location in the new page? We want the link to the location on the site where our building is featured. I know how to do it if the link is to a location on the same page as the link... Not sure if it is even possible to do so. Here is the page:http://stateline7.com/final/Recognition/Recognition.html the image and the link is to half way down the page under the business center of Granite Peak.

    If you need to link to a specific page in a PDF document, you can do following the settings shown here:

    http://partners.Adobe.com/public/developer/en/Acrobat/PDFOpenParameters.PDF

  • How to make an image link to a specific slide in a slideshow cycle2?

    Hello.  I would like to make my thumbnail images become links to larger images on another page.  Larger images will be in a slide show, which will be manual or interactive with buttons front and rear. But I would like the visitor to be able to go directly to the enlarged image, rather than to the beginning of the slide show.   I practiced by applying the following information on my existing cycle2 slideshow that goes automatically to the next slide.

    Page slideshow cycle2

    "< a name ="large"id ="large"> < /a > < img src="images/home_page/foodscale_web.jpg ">

    Page of thumbnails

    < digital_page_thumbnail li >

    "< a href ="#big index.html"> < img src="images/digital_page/foodscale_thumbnail.jpg "> < / a >

    < / digital_page_thumbnail li >

    But it was not effective.  So, I tried the following...

    "< a name ="large"id ="large"> < img src="images/home_page/foodscale_web.jpg "> < / a >

    Placing the < /a > tag at the end took the image in the slideshow and makes visible under it.  If using the symbol # is correct, I would be happy to know how to use it for this purpose to allow the visitor to directly access a specific location in a slide show.  Thank you very much.

    Page slideshow cycle2

    data-cycle-hash 'big' =>

    Page of thumbnails

    #big">

  • Insert data to a specific location in the listview in blackberry 10 cascades qml?

    I have a listview with groupdatamodel, I need to insert the data into the listview at a specific location

    GroupDataModel is used for an ordered list - AFAIK you can't insert data at arbitrary positions.

    Instead, you must use one of the datamodels unordered (ArrayDataModel / QListDataModel)

  • How to get latitude and longitude from a specific location

    Hi, we can get card giving the latitude and longitude. But I need to get the card when I give the specific location, like New York etc.. So how do you get the particular location points. I use the 8820 Simulator in eJDE4.5.

    can someone help me solve this problem.

    Thank you

    There
    integer
    Latitude in decimal degrees x 100,000

    x
    integer
    longitude in decimal degrees x 100,000

    See GPS and BlackBerry Maps Development Guide.pdf

  • Open a pdf file to a specific location

    Dear friends,

    I would like to support a dialog with a help button that needs to open a pdf file to a specific location, is defined by number of page or (better) by named Destination.

    var helpFile = File($.fileName.replace (/\.jsx(?:bin)?$/i , ".pdf"));
    OpenPDF (helpFile, "FMcalccalculations"); // named dest = M8.newlink.FMcalccalculations
    
    function OpenPDF (fileName, destination) {
      if (fileName.exists) {
        fileName.execute("nameddest=M8.newlink." + destination);
      }
    }
    

    This is to open the pdf file on the first page.

    How can I pass parameters - not knowing what pgm will open the pdf file (depending on the installation of the user)?

    I've seen (IMHO) using an intermediary VBscriptthat crunch, but I have not yet tested this approach. As far as I understand that this would imply a VSscript for each destination in the pdf file.

    All ideas are wolcome.

    Klaus

    Well, friends, I found a solution on StackOverflow.com: in German, we say such a solution 'von fun druch die brust projectiles' fur.

    ExtendScript:

    // Open PDF at named destination
    
    var theFile = "PDFwithDestination.pdf";           // for my case: in same path as this script
    var destination = "M8.newlink.FMcalcseries"       // needs to be found in pdf, because the 8 is not a constant
    OpenPdfAtDestination (theFile, destination);
    
    function OpenPdfAtDestination (pdfFile, namedDestination) { // ====================================
    var path = GetScriptPath () + "\\";
    var location = "nameddest=" + namedDestination;   // see "Parameters for Opening PDF Files"
    
    // Call OpenPdfWithParameters, according to
    // http://stackoverflow.com/questions/20862868/file-execute-is-not-executing-my-script-how-to-debug-this-issue/20863131#20863131
    // A workaround to pass arguments is to create another file, that calls this script with arguments.
    // Yawar 2015-03-15
    
    // Create the calling batch file
    var tempFile = File (path + "tempScript.bat");
      tempFile.open("w");
      tempFile.encoding = "UTF-8";
      tempFile.writeln (path + "OpenPdfWithparameters.exe " + '/A ' + location + ' "' + path + pdfFile + '"');
      tempFile.close();
      tempFile.execute ();
      tempFile.delete;
    }
    
    function GetScriptPath () { //=====================================================================
    // Get the script path
    // Returns path in the function
      var scrPath, newPath, winPath, lastBSlash;
    
    // $.fileName: script path (including the file-name of the script)
    // platform independent format e.g. /e/_DDDprojects/FM+EN-escript/escript
      scrPath = $.fileName;
      winPath = new File (scrPath);
      scrPath = winPath.fsName;                       // get Windows format
      lastBSlash = scrPath.lastIndexOf("\\");         // \ needs escaping
      scrPath = scrPath.substring(0, lastBSlash);
      return scrPath;                                 // no final \ !
    } // --- end GetScriptPath
    

    AutoHotKey script - must be converted into an exe file:

    ; OpenPdfWithParameters.ahk
    ; 2016-04-15 Klaus Daube
    
    ; Get the arguments from the caller (works only in compiled version!)
    parmList =
    Loop, %0%  ; For each parameter:
    {
      param := %A_Index%
      parmList = %parmList% `n%param%
    }
    ; MsgBox, Number of parameters: %0%`n%parmList%
    
    ; let's find the relevant application
    RegRead, sDefaultApp, HKCR, .pdf
    RegRead, sDefaultAct, HKCR, %sDefaultApp%\shell
    RegRead, sDefaultCommand, HKCR, %sDefaultApp%\shell\%sDefaultAct%\command
    StringTrimRight, command, sDefaultCommand, 5 ; remove the "%1"
    ; MsgBox %command%                      ; "H:\Adobe\Acrobat11\Acrobat\Acrobat.exe"
    
    ; open the pdf with the parameters according to "Parameters for Opening PDF Files"
    Run, %command% %parmList%
    

    This works, however a flicker is created due to the execution of the batch file.

  • [CS6] Select the block of text with a certain height and move it to a specific location?

    I have a bunch of labels on page that I need to move. All these labels are the same height (0.125 in.) so what I think is that a script could go on each page and find the article on this basis, select it, and finally, move it to a specific location of XY with a right anchor point. It would be very difficult to do? I think it would be a rather simple script.

    Thanks for any help you can give!

    No problem getting the height of a selected image and looking for images with the same height. Here is a sample script:

    (function(){
    
        function frameHeight (frame) {
            var gb = frame.geometricBounds;
            return (gb[2]-gb[0]).toFixed(3);
        }
    
        function moveFrames (h) {
            var pItems = app.documents[0].pageItems.everyItem().getElements();
            for (var i = pItems.length-1; i >= 0; i--) {
                if (frameHeight (pItems[i]) === h) {
                    pItems[i].move ([0,0]);
                }
            }
        }
    
        if (app.selection.length > 0 && app.selection[0].hasOwnProperty('geometricBounds')) {
            var h = frameHeight (app.selection[0]);
            moveFrames (h);
        }
    
    }());
    

    This move of the elements on the page with the same height as the photo selected to the top left of the page. See the move() command line 12. You can substitute your own coordinates [0,0].

  • It is Possible to link to a specific part of a Page?

    I want one of the buttons in the menu will link to a specific part of a page.

    For example: page has a few paragraphs. I want to link to paragraph 3, this people go to him right away and won't have to scroll down.

    How can I do?

    You can place an anchor by clicking on the anchor icon in the Control Strip.

  • Copy all indd files in a specific location

    Hello guys I do not know why my script does not work as I want.

    I want my script to work in this way, when I choose a folder in the my script dialog box to choose all the .indd files

    and put them in a specific location

    See code below

    var myFolder = Folder.selectDialog ('Choose a Folder');
    $.writeln('-------------------------------\r' + myFolder.displayName + '\r-------------------------------\r');
    if(myFolder != null){
      var myFiles = myFolder.getFiles('*.indd');
      for (i = 0; i < myFiles.length; i++)
      {
      var myFile = myFiles[i];
      // myTargetFolder = "/Kommuni/LaRe/LareAUTO/341542" // put files here
    
    
    
    myFiles[i].copy ("/Kommuni/LaRe/LareAUTO/341542/");
    
    
    // $.writeln(myFile.displayName);  // just for write the data in console
      }
    }
    
    
    
    

    Can someone help me put a correct code here

    Thanks in advance

    Congratulations to all members

    Hello

    You must use a valid path to a file or a folder, so:

    //....
    destFile = new File("/Kommuni/LaRe/LareAUTO/341542/" + mFile.name);      // to create an object
    $.writeln( destFile.name + " - " + destFile.exists);    //  to check if your path exists
    myFiles[i].copy (destFile);    //    to copy file
    //.....
    

    Jarek

  • Is it possible to make a link to a specific page in an embedded Tumblr blog

    Hello. I have a Tumblr blog embedded on a site of Muse of customers. Is it possible to make a link to a specific page in the Iframe Tumblr, and have it wrapped in there Web site? I have interacted any help.

    Hey, one thing I tried, even if it is pretty kludgy.

    1. Reproduced on page of the Muse blog
    2. Copied the specific URL tumblr in the posts that I wanted to make a link to
    3. Make the iframe URL in each new page addressed to the URL of this blog post-specific tumblr.

    Just a thought since I couldn't figure out how to make the direct iframe to tumblr anchor or something similar.

  • is it possible to have a link to a specific item?

    is it possible to have a link to a specific item, or open a link that leads to the page with this element specific, as an accordion, widget. I want to be able to send a link that brings them to my page with a specific element of people open. Can I do this?

    Hi Alex,

    Please visit the following link http://forums.adobe.com/message/5106906

    The design view of selected panel will be selected/active when previewing, export or publish the site on Business Catalyst.

    Hope that answers your question.

    Kind regards

    Aish

Maybe you are looking for