Link to anchor in swf / page reload

Hi
I want to link to a frame label from html text below my swf.
For example:
<a href="Maps.aspx#bostonmap">Vew the Boston map</a></p>
I want that to refresh the page and then jump to the frame "bostonmap" when i click the link. Right now, when I click it, the url changes but the page does not reload. Is there a way to force the reload?
Thanks

This is not really true that you could only do this in Javascript.  You could do this in many languages like PHP as well, where you would make the link to yourpage.php?part=anchorname and that would force a page reload, then you could test the variable name and redirect with PHP to yourpage.php#anchorname.
There are tons of ways you could do this.  I would highly recommend staying away from anything that forces a user to have javascript enabled, and handle it with some server side language, that you know will not fail in this instance.
My 2 cents,
Jeremy

Similar Messages

  • Link to anchor in another page?

    I'm trying to link to an anchor in another page, as opposed
    to the same page. Is this possible? Can I do it using a hotzone
    instead of text?
    I found this but it seems to only want to link to an anchor
    on the same page -
    http://www.uwec.edu/HELP/Dreamweaver8/lnk-target.htm
    Any help much appreciated.

    Yes it is possible.
    In the properties dialog insert the page containing the named
    anchor into the link edit box.
    At the end of the link add #anchor name.
    For example:
    link:
    index.htm#anchorname

  • Link to Anchor on another page DW Mac CS4

    In GoLive when I clicked on the pointer to go to another page, it showed a list of anchors on that page. Is there a way to do this? Alternately I could have two pages open at once and click from the text on one page directly to the anchor on the other with the pointer.
    Problem is that with the tabed pages I cannot open two pages at once. Is there a way to open two pages next to each other instead of tabbed?
    Bob Harris
    [Email address deleted by moderator]

    In GoLive when I clicked on the pointer to go to another page, it showed a list of anchors on that page. Is there a way to do this?
    No. Several GoLive people have asked the same question. You can't do it in Dreamweaver. If you think it's an important feature that you would like to see added to a future version, file a feature request here: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.
    Alternately I could have two pages open at once and click from the text on one page directly to the anchor on the other with the pointer.
    I doubt if that would work.
    Is there a way to open two pages next to each other instead of tabbed?
    You can turn off the tabbed interface in the Mac version of Dreamweaver by selecting the General category in the Preferences panel. Deselect the checkbox labelled Open documents in tabs.

  • Auto collapse menu linked to anchors on a page

    I've got a long(ish) page that I want the viewer to be able to "jump" to various areas. I'm trying to do this with a vertical menu inside an accordion. See http://thesalusburyfoodstore.businesscatalyst.com/pizza-delivery-menu.html for an example of where I'm at.
    If you view the page above, you will notice that although the accordion is initially closed, as soon as the "menu" part is opened, it stays open. I need to be able to make the menu close back up to the top "Quick jump to section" part, once a menu choice is made by the user. This is pinned to the top of the browser.
    Is this possibele? Perhaps I'm using the wrong widget for this?
    Any help much appreciated – thanks.
    Steve

    I have the same problem. I've created an alternate mobile site. I put a vertican dropdown menu inside an accordion widget.
    This type of system works fine when the menu takes one to w new page; but!, when there is one long page and the menu links to an anchor further down the page, the menu stays open after clicking. This is not good! The menu needs to collapse after making a selection. Adobe should add this as an option, somehow. I don't know if the option belongs in the accordion widget or the menu widget.

  • How Do I Swap Images w/o Page Reloading?

    Hi --
    I've created a graphic on this page with two tabs:
    http://www.karisma.thelegatogroup.com/designers/7mankind/bootcut/bootcut.htm
    To allow users to click from tab-to-tab and display the
    proper graphic I
    created hotspots over the tabs and added a behavior to each.
    However, if
    you scroll down the page then click a tab the page reloads
    each time and you
    have to scroll down again. Highly annoying.
    Does anyone have an idea how I can keep the same
    functionality of the tabs
    without the page reloading each time?
    Thanks,
    John

    "Alan" <[email protected]> wrote in
    message
    > <a href="#"
    >
    > many browsers see that as a blank link to a named
    anchor- so the page
    > reloads.
    >
    > use this instead:
    >
    > <a href="javascript:;"
    >
    Thank you, Alan. That did it.
    John

  • Link anchor takes the page off center

    I set up my page to be in the center of the browser and when i go to preview and click on the link that is linked to a "link anchor" the entire page moves to the left of the browser placing the anchor at the top corner of the browser. How can i keep the page centered when clicking on the link?

    I'm running Muse v3.2 Build 2 and had just updated some info and re-exported my site, and noticed that the Anchor links have stopped working in Chrome and Safari. When clicked, the page moves sideways in the browser and does not return to the top of the page. It does work correctly in IE and Firefox. One of the affected pages is http://www.i-review.com/implementation.html so when you scroll down and click any of the 'To the top' links, this happens once then nothing. If you go to another page like http://www.i-review.com/training.html it will occur there once too.

  • Create URL that links to anchor on page

    I'm putting together a long page that will have different blog posts. My intention is to publicise these posts via MailChimp or similar. My question is: is there a way to provide a link to subscribers that will take them to the specific part of this long page that will contain all the blog posts?
    Or should I approach this a different way?
    Thanks in advance,
    Steve

    Hi Aish, hi David,
    For some reason I can't get the anchor to work as expected. Here's the URL: BLOG
    This works by sending the user to the page, but not to the anchor on that page (the anchor is directly above the 7 thumbnails of business cards).
    Any clues as to what I might be doing wrong?
    Thanks in advance,
    Steve

  • Need help with SWF page transitions please :)

    I am having an issue recreating something I have seen on
    other flash sites... (For example on 2Advanced.com) It is hard to
    explain but I will do my best. I am advanced in design, layout,
    tweening, and am a beginner to intermediate action scripter. So
    even if your solution is a point in the right direction to some
    code I could pick up and noodle around with that would be great.
    That having been said, on to the issue, it's a 2 parter:
    Part 1:
    I have a Master FLA (or SWF) containing navigation that loads
    secondary SWF pages into movie clip containers for the 5 additional
    pages of the site. These load above the Master movie clip masking
    it (Navigation floats above) so the loaded pages are sandwiched in
    between.
    View page in it's current state here:
    http://sky.prohosting.com/tk421808/rwip/gallery_MAIN.html
    This works ok right now, but I have the SWFs replacing one
    another in one single movie clip container. What I would like to do
    is similar to shuffling 5 cards... if you want the 4th card down
    you pull it out, it goes to the top and slides over the last
    visible card on top. So I would like the first page clicked to
    slide in covering the master MC, the second page clicked, to slide
    in covering that one, and so on and so forth. This would be easy if
    the pages were linear, then I could just stack the movie clips, but
    since the user will click out of order I need a way to load one
    into MC_2 (on top), Then when another is clicked have the MC_2 SWF
    move down a level (Swap MC?) to allow the second to slide in above,
    and then delete the movie that has moved down into level one
    (Bottom) then have this repeat when another movie is clicked. This
    way it will look like the page you clicked is always sliding in
    over the one you are leaving.
    Part 2:
    I have no idea how to do this next part but... I believe it
    involves a gotoAndPlay. I would like to have animation in the movie
    that is unloading after the button for the next page to load is
    clicked... in other words, you have loaded a page, you click on
    another link, and before the new external SWF page loads, the
    current performs a gotoAndPlay where I have animated some
    de-constructing swipes that remove the text, shapes holding the
    text, and the image. ONLY THEN does it start to load the movie for
    the link it selected. I think what I am trying to ask here is how
    does it carry the link through the unloading animation until it's
    done and then execute the loading of the new external SWF of the
    link they just clicked?
    I pray this makes sense... If not I would be happy to explain
    further. :) Thanks in advance for any help!

    >> I have no idea how to do this next part but... I
    believe it involves a
    gotoAndPlay. I would like to have animation in the movie that
    is unloading
    after the button for the next page to load is clicked... in
    other words,
    you
    have loaded a page, you click on another link, and before the
    new external
    SWF
    page loads, the current performs a gotoAndPlay where I have
    animated some
    deconstructing swipes that remove the text, shapes holding
    the text and them
    the image, and ONLY THEN does it start to load the movie for
    the link it
    selected. I think what I am trying to ask here is how does it
    carry the
    link
    through the animation until it's done and then execute the
    loading of the
    external SWF of the link they just clicked?
    <<
    You don't use frames. I'd probably use Fuse for this - which
    is a sequencing
    engine. (www.mosessupposes.com) You can call a function when
    the sequence is
    done animating - using what's known as a callBack function.
    That'd be the
    best way, IMO.
    For part one, you could either place mutliple empty movie
    clips, or just
    create them using createEmptyMovieClip - which is a MovieClip
    method, and
    then load your swfs into them with MovieClipLoader. You can
    use swapDepths
    for layer control, in order to have any given clip move above
    another, layer
    wise.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Links using anchors not working properly to some people

    on this site:
    http://www.thevpp.ca
    I used anchors to link the show ads on either side of the page to the appropriate section of the show page. This works perfectly in Safari, Firefox (on mac) and IE (on PC).
    Our client and one other person have complained that the link to "GodSpell" opens "Heart & Soul" in the centre of the page instead of GodSpell, but I cannot duplicate this. I can't find out what browser / version / OS they're using as they don't know.
    Clicking on the GodSpell image on the home page takes you to shows.html#b which is GodSpell. (Heart & Soul is shows.html#a)
    They say the other show links work perfectly. I thought initially their browser might not support anchors, but if the others work, then I don't get why this one doesn't.
    Is there a better way to link these images than using anchors? Could the problem be that the anchor links are within a ProjectVIII scroller?

    A few code errors to check:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.thevpp.ca%2Fshows.html%23b
    I see several problems.  In Firefox 12, the only links that work consistently for me are "Love Letters" and "Sinatra".   If I use the custom scrollbar and go all the way down to "Sinatra," the links don't trigger anything.  Same thing happens in Chrome.
    For an alternate approach, I created a named anchors demo (without tables).  You'll see there is ample space between each of the named anchor regions (view page source to see the code).
    http://alt-web.com/TEMPLATES/FixedLayout.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • How do i link something to html dreamweaver page??

    hi i am having  a problem.
    I have produced several .swf files to be used as part of an interactive cd. I have produced the home page in dreamweaver, with a button link for each of the movie clips, but when the clip ends it just stays on this clip, i need a kind of "home page" link at the end of the clip to take the viewer back to the page with all of the links to the other movies on, i am desperate for help here, any advice is most appreciated!

    Hi,
    At the end of the clip, you need to link to one more html page which links to all other swfs.
    To embed a swf file in the html page, you need to use the object tag like given below.
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="550" height="400" id="one" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="your_home_swf_name.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="your_swf_file.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>
    You need to add this line of code in a html file and add a link to this html file in the last html file.
    Thanks

  • Webpage with a swf file reloads on safari on every visit

    can anyone explain why a webpage with a swf file reloads on safari on every visit? it's a 1.2 MB swf file - it takes about 5-10 seconds to load but apparently doesn't get stored in the browser's cache. when you go to another page and back to the original page it loads again. (in internet explorer, once the file has loaded it is stored in the cache and doesn't repeat the loading process)

    Yes, similar to your experience, Safari reloads the page on my system too, i.e. does not write it to cache. So when I backspace, the page reloads. Same, if I enter the site on a new tab after an initial load on another tab. By contrast, Firefox, on the backspace or new tab, displays the page immediately without the reload being necessary. Very nice site by the way. Very effective use of Flash content. Is it your web design?
    You may find it helpful to send feedback to Apple. Perhaps, they'll change the caching, or perhaps offer it as an option, in Safari's next version due to make its debut with OS X Leopard in early 2007 (I'm an optimist - ).
    Let me know if you need any further help on this end. Aloha from Big Island.
    iMac G5 Rev C 20" 2.5gb RAM 250 gb HD/iBook G4 1.33 ghz 1.5gb RAM 40 gb HD   Mac OS X (10.4.8)   LaCie 160gb d2 HD Canon i960 printer

  • Navigation back to anchors on another page

    How do I make a navigation link go to an anchor on the "home" page of this site?
    http://www.kueblerandcompany.com
    When moving to the Kangaroo Computer Covers page
    http://kueblerandcompany.com/covers-introduction.html
    by selecting the linked button inside the flyout menu at the top left, I click on any one of the persistent nav links at the top of the page and am returned to the home page.
    However, after briefly showing the "anchored" location the page jumps to the top (header) anchor.
    Can this be made to work where the page returned to stays at the location of the anchor?
    Also, the home page display an error when I try to view it on an iPhone or iPad.
    I see this: "MuseJSAsset: Error calling selector function: TypeError: "undefined" is not an object" when using an iPad.
    The error message shown on the iPhone is similar but a little different.
    After clearing the error messasge by tapping "OK" the page displays at the bottom anchor (contact)
    Does the problem have anything to do with the embedded html for the "Jotform"contact form?
    Or the obfuscated link to the email link just above it?
    Thanks for considering my question. I hope I have explained cleary.
    Regards, Joe Fisher

    Your site is working fine for me, but I have just finished a site that is having the same issue, and in Chrome, Firefox. For instance, if I navigate to http://www.arnicare.com/adventure/rules.html and then click any link on the menu (which all link to anchors on the home page), I see the anchored content and then am returned to the top of the page. In IE, I get returned to the first anchor on the page (which is not at the top). In Opera, I get returned to the middle of the first section (under the first anchor).
    On iPhone, I am not getting any errors, but am having the same anchor problems.

  • How do I display # symbol in PHP to refer to an anchor on another page?

    How do I display # symbol in PHP to refer to an anchor on
    another page?
    I am updating a record and using a dynamic anchor name for
    the page to forward to like this:
    seeAllEntriesXcodeAsc.php#<?php echo
    $row_getProductsWithSAMEcode['id']; ?>
    But I keep getting an error, I think its because its reading
    the # hash sign as a PHP instruction rather than an anchor hash...
    Is there are way to mark it up so as to use the # as part of the
    URL ?
    I have even tried referring to a dummy field with a hash in
    like this - but that doesn't work either.
    seeAllEntriesXcodeAsc.php<?php echo $_POST['hash'];
    ?><?php echo $row_getProductsWithSAMEcode['id']; ?>
    Thanks!

    Sorry, I will try and explain in a different way...
    I have a page in php where a database has an entry added,
    changed or deleted.
    The page is posted to an in between page to process the
    transaction (which works)...
    You are then taken to a dynamic anchor of the entry on a
    database summary page to the SAME entry to see that the change has
    been done.
    (So the basic problem is that the link to take to the anchor
    needs to have a # hash symbol in the middle to denote the anchor,
    but the URL that is created puts the # at the end of the URL rather
    than directly before the link the php code generates... All I need
    is a way to code a PHP URL that manages a # hash in the middle.)
    So in the middle processing page, I have update an entry
    transaction with the page to redirect to after undertaking the
    transaction as:
    seeAllEntriesXcodeAsc.php#<?php echo
    $row_getProductsWithSAMEcode['id']; ?>
    So the final URL error I get is this:
    Parse error: syntax error, unexpected
    T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or
    T_NUM_STRING in
    /secure/c/capitalgarden/admin/DeleteEntryProcessor.php on line 39
    The file is too large to post here so I have saved the file
    as an HTML file so you can read the code at this URL:
    http://www.new.capital-garden.com/DeleteEntryProcessor.html
    Thanks for your help!
    C

  • Scrolling down and using links to anchors aren't in sync

    This video shows a site I'm creating.  I start in design mode.  Then I click to preview.  As I Scroll down and the page stops too soon.  When I use the links to anchors it goes all the way down.  How can I get the page to work the same when scrolling as it does when using links to anchors?
    I noticed that when I use the links to anchors the bottom portion of the menu gets pushed down a couple of inches.  That seems to be the problem.  Why does using anchors do this and how can I fix it?

    You want to precompose your stills and the track mattes together.  The composition should look like the stills with a rounded rectangle border.  Then animate the composition.

  • Page reload problem

    Hello,
    I am experiencing problems with a JSP page that contains 1 text field and 2 list boxes.
    The page has a form with no action, 3 buttons at the bottom (save, delete and back), they are '<input type="button"...' witch throw some JS code to forward to the next page.
    The thing is that when I press <enter> when I'm in the text field, the page reloads... BUT, if I put a second text field, this does not occur... (and don't tell me to leave the second field ;-)), and that's exactly what I'd like, but only with one field.
    I even tried without the buttons and the JS code, but it's still the same thing... What can I do???
    Please help me...
    Best regards
    NAS

    Hi!
    I stripped the code down to its simplest state, this is what I have left...
    <html>
    <head>
    <title>unifr.ch</title>
    <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=iso-8859-1">
    <link href="script/standard.css" rel="stylesheet" type="text/css">
    <%@ page import="alumni_web.*" %>
    </head>
    <body bgcolor="#ffffff" background="images/general/bg_m2.gif">
    <table border="0" cellpadding="0" cellspacing="0" id="content_3_col">
    <tr>
    <td align="left" valign="top">
              <form name="edi_saes" method="post">
                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
                   <INPUT type="text" name="textfield">
    </td>
    </tr>
    </table>
    </form>
    </td>
    </tr>
    </table>
    </body>
    </html>
    There it is all... And if I type in something in the field and press enter, it reloads the page... If I add a second field, this does not occur...
    Thanks for your time

Maybe you are looking for