GetURL() & iframes links

Dear,
I have a flash file in "Default.htm" page which have a iframe
called "main".
In the links in the flash file I have this function to call
another page in "main" iframe:
on(release)
getURL("contactus.htm","main");
But when the contactus.htm page load, it load in a new frame,
and not in the iframe, why?
Help me please, thx

here's how it should work:
http://www.kglad.com/Files/test/frame.html
here are the files:
http://www.kglad.com/Files/test/frame.zip

Similar Messages

  • iframe link, inside a frameset page, does not go to the new link when left clicked. but just clears the page instead.

    Trouble shooting info from my computer attached as requested, but problem exists on other people's computers also, including MACs.
    Problem exists only with <iframe> link within a page that is part of a frameset. If page contained within a frameset is accessed directly (ie, show only this frame) then the <iframe> link works normally.
    Works ok in Internet Explorer, used to work in Firefox. If RIGHT click on the <iframe> link then select either new tab or new window it works OK.

    At first I was ending up opening to the Help page, but finally u sent me instructions that worked. Now my Net connection opens to my Yahoo page.

  • Where do I put in the iframe link and how?

    Where do I put in the iframe link and how?
    Thank you.

    You paste ALL custom code in a HTML Snippet.
    iWeb doesn't care about your code and will happily publish your stuff, whether it works or not. You are 100% responsible.
    Read this : Using the iWeb HTML Snippet
    And here's an alternative to the <iframe> HTML element :
         iWeb : iframe alternative in the HTML Snippet

  • Force app iframe links to open new browser window?

    We're building a simple app that uses iframes to pull in external images and text to display in specific regions of the app's pages. The text displayed is an HTML list of links -- each link the name of a legislator -- that lead to that person's official biography. The client wants the following behavior: When the app user clicks a name/hyperlink, the iPad browser should take over and display the bio. When done reading the bio, the user can click the browser's close-window symbol at top right, then they will be back where they started in the app.
    For some reason, these links insist on opening within the iframe, regardless of whether or not we use the target="_blank" method. I tried Googling for this as a known behavior, but found nothing. Tips?

    If it will help, here's a sample of the HTML were bringing into the iframe from an external source. We did not write this code but can relay messages to their Web developer ...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title>Indiana Legislators</title>
    <link href="../../../css/bootstrap.css" rel="stylesheet" type="text/css" /><link href="../../../css/normal.css" rel="stylesheet" type="text/css" />
              <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
    <meta name="viewport" content="width=360, minimum-scale=1.0, maximum-scale=1.0"/>
    </head>
    <body>
              <div class="col-100-per">
                        <span class="content-ac">
                                  <table>
                                            <tr>
                                                      <th style="padding-right: 20px; white-space: nowrap;">District</th>
                                                                <th>Legislator</th>
                                            </tr>
                                            <tr>
                                                      <td> </td>
                                                      <td>
                                                                <a id="ContentPlaceHolder1_rptLegislators_LegislatorLink_0" class="dem" href="/AppContent/2013/legislator-bio/110/House/0/district/District" target="_blank">Frank Mrvan, Jr.</a>
                                                      </td>
                                                      </tr>
    .... etc ....

  • iframe link to #anchor only works the second time

    I am exploring a way of delivering a local HTML file into a Web Content frame in such a way that it starts at a specific HTML anchor rather than the top of the HTML page.
    Now, since DPS's Web Content overlay does not support the URL+anchor string format (e.g. myfile.html#myanchor), I thought I might achieve the desired result by loading a little HTML file into the Web Content overlay that points to the intended HTML file and its named anchor in an <iframe> tag.
    Here's where it gets annoying. The solution works... but only on the second and subsequent times you call up the Web Content overlay (normally hidden in a MSO).
    The first time I call up the Web Content overlay in my DPS article on the iPad, however, the HTML page displays but not at the specificed anchor point, nor indeed at the top of the HTML page - instead, it seems to start a little bit further down from the anchor. If I dismiss the Web Content overlay (in my case, switch to a different Object State) and return to it, the HTML reloads starting at anchor position, exactly as intended. I can close the folio, re-open it and still the behaviour is correct. It was only the first time that it fails to do the right thing.
    I am very happy that my solution works on the second, third and all subsequent occasions, but it's pretty important that readers see it working first time.
    I have tried delaying the autoplay of the Web Content but this does not make any difference. The anchor is designated using the 'id' tag.
    Any ideas?

    Thanks, Neil. But you can ask your guys to stand down. Someone got me a strong coffee this evening and I realised I was tackling this from the wrong angle. I have since seen this issue of HTML pages requiring a refresh before displaying correctly in other circumstances, even in Chrome on my computer, so I doubt it is a specific DPS problem - possibly it's something in webkit.
    Anyway, the coffee made me realise that I don't need an iframe to load another HTML file at an anchor. All I need is to pop a little GoToAnchor script in the <head> tag and a call at the beginning of the <body> tag.
    One day, if someone fixes Adobe's utterly broken Cookbooks site, I'll upload a bunch of these recipes.

  • Do Flash getURL links work when SWF is embedded in Director?

    I’ve got a simple test rig that says no, the links
    won’t work. Anybody get this to work?
    My test rig has two buttons in Flash, one gets a pdf from a
    remote server, the other opens a local PDF on my hard drive.
    When played from the Flash player the local link works fine,
    the remote link looks like it would work if I were willing to
    change my security settings and restart.
    When embedded in Director both links are inactive.
    And, although this is not terribly relevant, when the SWF is
    played remotely through a browser, the remote link works

    Your Flash .swf is expecting to be housed in an HTML doc, and
    so a getURL function is trying to reach out to the browser. When
    you import your .swf into a Director movie, that Director movie is
    taking the place of the browser window. So your function fails to
    reach a browser. This is compounded if you are playing the .swf
    from a Director projector as there's no browser immediately
    available.
    There is a simple solution. You can use the on getURL
    me,string function in Director to intercept the url.
    So, if your Flash movie has something like this:
    myButton.onRelease = function() {
    getURL("www.disney.com",_blank);
    Then in your Director movie, write a behavior something like
    this:
    property thisSprite
    on beginSprite me
    thisSprite = me.spriteNum
    end
    on getURL me,link,target
    gotoNetPage link,target
    end
    Then attach that behavior to the Flash sprite.

  • Can you link remote rollovers to images in an iFrame?

    I have a page called Jewelry in Dreamweaver with an iFrame on it that takes up half the right hand side of the page. The iFrame links to a page with all my thumbnail images. On the left hand side of my Jewelry page I want to have a larger version of the thumbnails pop up when someone mouses over an image in the iframe - How can I do that (I have DW CS4) A tutorial would be great!
    Thanks anyone,
    Aza

    I have no idea if that can be done - only because I've never tried it because I would never create a page like that  :-)
    Why not have the thumbnails on the actual page and use something like Lightbox to bring up the bigger picture....it's a more practical and modern way to do this type of gallery page.
    example and how to do this is here:
    http://www.lokeshdhakar.com/projects/lightbox2/
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • Geturl and iframe driving me nuts!!!

    Howdy guys, i have used this code a million times before and
    now its suddenly stopped working, this is my code in the html for
    iframe...
    [CODE]<iframe src="home.html" name="content" width="342"
    marginwidth="0" height="458" scrolling="yes"
    frameborder="0"></iframe>[/CODE]
    and this is my code in flash...
    [CODE]
    on (release) {
    getURL("about.html","content");
    [/CODE]
    so basically flash should be loading the html page
    "about.html" in to the iframe called "content".
    Instead its just opening content in a new window.
    I dont know what on earth im doin wrong.
    Ive done a search and this fella seems to be having the same
    problem....
    [url]http://board.flashkit.com/board/showthread.php?t=711189&highlight=geturl+iframes[/url ]
    any body else had the same problem?
    Cheers
    Aidan

    -BUMP-
    This is absurd people, can no one figure out what is wrong with this thing? This is not a new problem: http://discussions.apple.com/thread.jspa?messageID=7284984 but no one seems to have any answers.
    Further information: I never had my iDisk activated, and dmnotifyd was still consuming 99% of CPU when sync was set to Manual. I've deactivated my mobile me settings on my computer altogether and force quit the process and so far it hasn't returned, but this clearly is not a workable solution-- I'm paying $100 per year for this crap...
    Message was edited by: czaffa

  • Questions on Iframes and PAR structures

    Hi,
    I have a few questions on Iframes, JSP's and PAR structure for Portal Application Projects in NWDS.
    1. Can I change the source of an iframe from one jsp to another instead of one html to another.
    2. My Jsp's are in Portal-Inf/pagelet because whenever I add a new JSP I add a new Portal application object. So how do you refer to the relative path in the calling JSP. e.g <iframe name = "myframe" src ="<relative path>BlankPage.jsp" width="100%">. What would be the relative path. I tried pagelet\jspname.jsp but it does not work.
    3. In general how do you type the relative path for objects in a PAR project structure?

    Hi Prem,
    1.Yes,you can.
    2.You dont have to,you can copy and paste as many as Jsp's inside the pagelet.I use beans to customize the BHTML UI properties.So you can make your IFRAME source tag as variable.
    <iframe
         id="Nedbrowser"
         name="Nedbrowser"
         style="relative"
         width="<%=myBean.getFrameWidth()%>"
         height="<%=myBean.getFrameHeight()%>"
         frameborder="yes"
         marginheight="0"
         marginwidth="0"
         scrolling="yes" 
         src="<%=myBean.getUrl()%>">
    </iframe>
    Your approach of setting relative path wont work as it is.You have to do something more
    1. in JSP you have to use a import statement like
    <%@ page import="com.sapportals.portal.prt.resource.IResource" %>
    <% IResource rs = componentRequest.getResource(IResource.JSP , "pagelet/BalnkPage.jsp");  %>
    and in the IFRAME tag you can do something like this
    <iframe
         id="Nedbrowser"
         name="Nedbrowser"
         style="relative"
         width="300"
         height="400"
         frameborder="yes"
         marginheight="0"
         marginwidth="0"
         scrolling="yes" 
         src="">
    </iframe>
    <% Nedbrowser.setSrc(rs.getResourceInformation().getURL(componentRequest)); %>
    3.There are so many forum pages on this matter.Just go ahead and search for IResource in SDN.
    Goodluck
    regards
    Senthivel

  • URGENT! Help with creating more than one linked button

    Hi!
    Could someone help a newbie with trying to figure out this.
    I work in Flash CS3, AS3.
    I've created a button that links to another webpage by using this code (the code is added to a separate layer):
    import flash.events.MouseEvent;
    steud.addEventListener(MouseEvent.CLICK, onMouseClick);
    function onMouseClick(e:MouseEvent):void
      var request:URLRequest = new URLRequest("http://www.xx.html");
      navigateToURL(request, "_blank");
    It works just fine, but the problem is that I want to add more buttons (and links) to it, and thats where I get stuck. When I try just adding a new layer and adding the code there, everything stops working. I've also tried copy/pasting the code beneath the first one, with no results.
    Does anyone know?
    /J

    I will try
    I've modified this tutorial http://www.tutcity.com/view/create-a-sliding-content-with-back-and-forward-navigation.2394 7.html and the intent is to make a sliding menue that contains images of plants that link to the url of the plant. I've got buttons (with a mouse over effect that shows the name of the plant), and in AS2 I could use GetURL to link an invisible button to the URL, but to create the sliding effect, I had to use AS3. I've understood that GetURL doesn't work in AS3.
    In scene 1 I have three layers; content, arrows and actions.
    The actionscript looks like this:
    // File downloaded from www.riacodes.com
    import com.greensock.*;
    var arrayX :Array = [0,-800,-1600,-2400,-3200,-4000,-4800];
    var currentIndex : Number = 0;
    left_mc.addEventListener(MouseEvent.CLICK,navigate);
    right_mc.addEventListener(MouseEvent.CLICK,navigate);
    left_mc.buttonMode = true;
    right_mc.buttonMode = true;
    checkArrows();
    function navigate(e:MouseEvent):void{
    if(e.currentTarget == left_mc) currentIndex --;
    else currentIndex ++;
    checkArrows();
    TweenLite.to(content_mc,.5 ,{x:arrayX[currentIndex]});
    function checkArrows():void{
    if(currentIndex == 0) left_mc.visible = false;
    else if (currentIndex == arrayX.length - 1) right_mc.visible = false;
    else{
    left_mc.visible = true;
    right_mc.visible= true;
    On the content layer I have the backgroundimages that slides as a movieclip.
    If I doubleclick on the movieclip I have two layers, one with the bakground images and the invisible buttons, and one layer where I've put the script:
    import flash.events.MouseEvent;
    JC.addEventListener(MouseEvent.CLICK, onMouseClick);
    function onMouseClick(e:MouseEvent):void
      var request:URLRequest = new URLRequest("http://www.blomsterbolaget.se/vaxtsidor/Dracaena_fragrans_JC.html");
      navigateToURL(request, "_blank");
    JC is the instance name of one of my buttons. So far everything works, but I want to add linking to another button, and I'm not sure how to do this correctly. When I've created the invisible buttons, I've drawn a square, converted it to a button, named it, and named the instance name. Changed the Alpha to 0. I've also added an On mouse over effect, but I don't think that has anything to do with this.
    Hope you can help med!
    /J

  • Link in xml form article text to open another portal page?

    Like in all websites our intranet have pages with articles (xml forms) where it's logical for the text to include links to other articles in other areas of the portal.
    Since all iviews (km navigation in this case) are displayed as iframes, links within the text only lead to the target page being displayed within the iview/iframe. I need the complete portal page to change to also show where in the page hierachy/navigation structure the user has landed.
    I am aware of the related links iview, but this doesn't do the trick. I want the article text itself to include the links.
    A logical solution would be to find the page's navigation URL and use this as a text link, but then I would need to add a target=_top to change the whole page around. This is not possible within a xml form. (<a href="/irj/portal?NavigationTarget= navurl://cf1c773631c70d216fe3434ca4dc3a0e" target="_top")
    Ideas?
    Henning

    Thanks for answer. Points awarded.
    BUT: Still, a link to http://server/irj/portal/link added in the html editor window of an xml form only give the options of opening the link in new browser, or in the active window. The first option results in a massive amount of opened browsers, the second results in the target page being opened in the iframe (not nice!)
    Of course I could edit the xml directly adding a target=_top, but every new editing of this file would overwrite these changes.
    The best way would be to add a new option in the html editor allowing an option of "fill entire window" when adding a text link that adds target=_top in the xml.
    Ideas?
    Henning

  • Unable to create multiple link pulldown menu

    Hi, I'm trying to create an animated pulldown menu. It works
    when I TEST MOVIE, but when I put it in my Flash web page, the
    getURL code link does not work.
    Also, in the TEST MOVIE, it only works for one link on the
    pulldown at a time. As soon as I add another link on the pulldown,
    it cancels out the previous one.
    My code is attached (graciously contributed by another
    forum-ite): I have a WOMEN button at the top that changes color on
    rollover and produces the pulldown with several choices. One of the
    choices is "What's New" and is a movie clip and instance. I have
    this file separate from my index file, called to in the last frame
    of my actions menu using loadMovieNum. The site is
    HERE for you to see the
    issue. Any help is appreciated!

    Hi Syed,
               You can create multiple target systems only for different business system groups.If all the business systems like R3_QA1,R3_QA2, R3_QA3 belong to the same business group "QA_BUS_GROUP" , then you can have only one among the three system as target.
               So R3_DEV  can have only one system as target either R3_QA1 Or R3_QA2 or R3_QA3 since they belong to the same business group "QA_BUS_GROUP".
                If there are three different business system groups then you can have 3 target systems that correspond to their respective business system groups ,in this case source business system can be assigned to the 3 target systems that belong to different business system groups .
               Since that is not the case with your scenario, you cannot create multiple target systems.
    Regards,
    Laawanya

  • Spry Accordion with iFrames

    I have a Spry Accordion which I'm using on the same page as an iFrame setup. I want to link the AccordionPanelTab to an iFrame link.
    In order to get the iFrame to work I need to link like this:
    <a href="iframepage.php" onclick="return changeIframeSrc('iframe', this.href);" target="iframe">
    This works for links within AccordionPanelContent but not if I link the AccordionPanelTab.
    I can get the AccordionPanelTab to link by
    <a href="iframepage.php" onclick="window.location=this.href;return false;">
    but not within the iFrame. Is there a way of combining these two to make them work or another way of making the AccordionPanelTab link?
    Many thanks.

    Have a look at the following
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet">
    </head>
    <body>
    <p>Open by Panel Index:
      <a href="#" onclick="Accordion1.openPanel(0); return false;">0</a> |
      <a href="#" onclick="Accordion1.openPanel(1); return false;">1</a> |
      <a href="#" onclick="Accordion1.openPanel(2); return false;">2</a> |
      <a href="#" onclick="Accordion1.openPanel(3); return false;">3</a>
    </p>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">Content 1</div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 2</div>
        <div class="AccordionPanelContent">Content 2</div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 3</div>
        <div class="AccordionPanelContent">Content 3</div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 4</div>
        <div class="AccordionPanelContent">Content 4</div>
      </div>
    </div>
    <script src="SpryAssets/SpryAccordion.js"></script>
    <script>
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    </script>
    </body>
    </html>
    Copy and paste into a test document making sure that the links are correct. Test in your favourite browser.

  • Help needed with Iframes

    Hi,
    I have a page with a load of questions on it, the answers to
    these questions are on a separate page but appear on the same page
    as the questions using an iframe. So far so good. My problem starts
    when I try to link the questions to the answers using links to
    anchor points on the answer page. When the link is clicked the
    answers page opens up in the browser rather than in the Iframe. I
    have tried all I know and searched on here and in the help but
    cannot solve it.
    I am sure it i possible and hope it is relatively straight
    forward and that one of you guys can help me out here. You can view
    the page and see how it currently works at
    development.abacusfranchise.co.uk/faqs/index.htm
    I simply cannot get the page to open within the iframe on the
    existing page. it opens as new page but on a plus point the anchor
    points are working withuin the new page but how can I get it to do
    what I want it to do.#
    You guys have been a great help in the past and hopefully you
    can deliver again.
    Thanks
    Graham

    Main page:
    Iframe code:
    <iframe name="FRAME1" id="FRAME1" src="yourpage1.html"
    width="100%"
    height="400" align="right" frameborder="0"
    scrolling="auto"></iframe>
    Links on main page to iframe page:
    <a href="yourpage2.html" target="FRAME1">Question
    1</a>
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "yomperstomper" <[email protected]> wrote in
    message
    news:f9i1bn$ao7$[email protected]..
    > Hi,
    > I have a page with a load of questions on it, the
    answers to these
    questions
    > are on a separate page but appear on the same page as
    the questions using
    an
    > iframe. So far so good. My problem starts when I try to
    link the questions
    to
    > the answers using links to anchor points on the answer
    page. When the link
    is
    > clicked the answers page opens up in the browser rather
    than in the
    Iframe. I
    > have tried all I know and searched on here and in the
    help but cannot
    solve it.
    >
    > I am sure it i possible and hope it is relatively
    straight forward and
    that
    > one of you guys can help me out here. You can view the
    page and see how it
    > currently works at
    > development.abacusfranchise.co.uk/faqs/index.htm
    >
    > I simply cannot get the page to open within the iframe
    on the existing
    page.
    > it opens as new page but on a plus point the anchor
    points are working
    withuin
    > the new page but how can I get it to do what I want it
    to do.#
    >
    > You guys have been a great help in the past and
    hopefully you can deliver
    > again.
    >
    > Thanks
    > Graham
    >

  • Iframe verschiebt Inhalt

    Hi ,
    ich habe das Problem, dass sich durch den iframe-code die anderen Elemente verschieben.
    So sieht es im Muse-Bearbeitungsmodus aus:
    und so sieht es leider in der Live-Version aus:
    Hausnotruf
    Der Iframe lautet:
    <iframe src="http://www.regional.de/videoLink/3/2000050003066/640" width="640" height="360" name="video_customer" border="0" frameborder="0"></iframe><link rel="stylesheet" type="text/css" href="http://www.regional.de/extern/css“>
    Ich habe bereits probiert den Iframe in einen Container/Platzhalter (Lightbox etc) zu platzieren. Allerdings mit keinem anderen Ergebniss.
    Vielen Dank für die Hilfe!

    In live site page , there is an empty html body section which needs to be removed for removing the white space.
    Also, try to check the iframe code in a new page and then verify.
    Thanks,
    Sanjit

Maybe you are looking for