Redirecting in a frame in html

I'm trying to load a frame-based webpage in mx:HTML. One of
the frame in the page is automatically redirected to another page.
Is an event dispatched when such redirecting happens?
I know "locationChange" event is dispatched when a
non-frame-based webpage is auto redirected.
Thanks.

Hi,
The HTML control does not dispatch any events when content
inside the frame redirects. I think you should be able to capture
javascript events (onUnload) from the frameset object
though.

Similar Messages

  • Redirecting from a frame to _top

    When I want to do this:
    Click here
    I can use:
    <SCRIPT LANGUAGE=JAVASCRIPT>window.navigate("somepage.html")</SCRIPT>
    But when I use the above code in a frame the somepage.html opens in the frame.
    What can I do to let it open, not only in the frame, but using the whole browserwindow.
    In other words: what is the redirect-java-equivallent for this:
    Click here
    I't might turn out to be something very simple, but I'm completely lost.
    Thank in advance for repleying
    Paul van Leeuwen

    you could do:<html>
    <head>
    <title>Redirecting Demo</title>
    <script type="text/javascript">
    function locate()
    location="./somepage.htm"
    </script>
    </head>
    <body>
    <input type="button" onclick="locate()" value="Go to top">
    </body>
    </html>Hope this little example will help.
    Regards

  • Linking to a specific frame from html?

    Hello all:
    Does anyone know if it is possible to have an html page that
    links to a swf file, but ALSO goes to a specific frame or label
    within that file? I'm trying to avoid having to start the Flash
    file from the very beginning, but I can't say that I've ever seen
    this done.
    Thanks,
    Wayne

    The simplest way:
    in the HTML you expand the two occurences of "movie.swf" (in
    the object and embed tag) to "movie.swf?jump=50", where "jump" is
    the variable name and "50" is the frame somewhere in the middle of
    your movie.swf that you want to start with.
    In the first frame of movie.swf you have actionscript
    if(this._framesloaded<jump) {
    this.gotoAndPlay(1)}
    else {
    this.gotoAndPlay(jump)}
    Of course, this doesn't check for error conditions and has
    other weaknesses, but I hope you get the point.
    Good luck
    Wolf

  • How to put a table inside a frame in html

    Hi, I have a html table as follows:
    <TABLE BORDER=2><TR><TD>No</TD><TD>Name</TD><TD>Age</TD></TR><TR><TD>1</TD><TD>John</TD><TD>30</TD></TR><TR><TD>2</TD><TD>Michael</TD><TD>20</TD></TR></TABLE>
    I want to put it inside a html frame in order to have the scroll bar with the table.
    Is there a way to do it in html?
    Thanks.

    Put the table inside of a div tag with a set width and height, borders, and overflow set to scroll:
    <html>
      <head>
        <style>
          .tableDiv {
         width: 140px;
            height: 200px;
            overflow: scroll;
            border: 3px outset;
          .no {
            width: 20px;
          .name {
            width: 50px;
          .age {
            width: 30px;
        </style>
      </head>
      <body>
        <div class="tableDiv">
        <table border="2">
        <thead>
          <TR><TH class="no">No</TH><TH class="name">Name</TH><TH class="age">Age</TH></TR>
        </thead>
        <tbody>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
          <TR><TD class="no">1</TD><TD class="name">John</TD><TD class="age">30</TD></TR>
        </tbody>
        </table>
        </div>
      </body>
    </html>

  • Redirecting to specific frame of flash movie

    Hi, im creating a flash website, in which the entire user interface is flash based, i was wondering if there is an easy way to set the site up so that if the user goes to www.example.com it goes to the home page, but if they type in www.example.com/page1, the flash video will start on the page 1 frame, and if they change this to /page5, it will go to the page 5 frame.
    So far the only solution i can see is recreating the flash file to have the page 1 frame as the first frame, so when users navigate to the /page1 page, it will be a unique movie clip, starting on the page1 frame, and for every page have a unique movie clip starting on the frame corresponding to the page.
    Any other ways to do it? maybe in actionscript, or html? I will probably set the site up in dreamweaver, but any solution that will work is better than recreating the movie for every single page.
    Thanks

    I have never worked with them, but you should look into using anchors in the timeline to see if that would be agreeable to you.  If you search Google for "Flash anchors" you will probably find some info about them.  It involves creating frame labels that you specify as anchors (in the drop down below the frame label textfield).  Then, you can use something similar to normal html anchors to link to land at the frame.... www.example.com/#page1  (I have no idea if this is correct)

  • Open swf on certain frame using HTML link

    Hi,
    I have an HTML page which I want to link to a flash movie.
    Within the HTML page there are 5 buttons, I want these 5 buttons to
    point to the same flash movie but to different points throughout
    the timeline of the movie.
    Can anyone tell me how to do this? is there a simple way of
    pointing to frame labels through the URL of the link?
    Thanks,

    I am quite new to this, the HTML for loading the SWF is as
    follows:
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','na me','menu','width','968','height','208','align','middle','id','menu','src','Header?theGoTo Frame=86','quality','high','bgcolor','#FFFFFF','allowscriptaccess','sameDomain','pluginspa ge','http://www.macromedia.com/go/getflashplayer','movie','Header?theGoToFrame=86'
    ); //end AC code
    </script><noscript><object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    name="menu" width="968" height="208" align="middle" id="menu">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="Header.swf?theGoToFrame=86">
    <param name="quality" value="high">
    <param name="bgcolor" value="#FFFFFF">
    <embed src="Header.swf?theGoToFrame=86" quality="high"
    bgcolor="#FFFFFF" width="968" height="208" name="menu"
    align="middle" allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </object>
    Any help please :s

  • FLVPlayer stop when redirecting to another frame. AS3

    Hi
    I am new in AS3, but now i have problem to stop plaing FLVPlayback.
    In main time line i have first frame used for preloader and second for intro.
    Frame 3 is first screen with videoand my MainMenu with buttons inside mc.
    Now when I click on button it successfully redirect screen to next frame and load my page, but I still hear music from video.
    I need to stop playing video when i redirect to frames 4, 5 ....28 where are pages frame by frame.
    In MainMenu i use
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    //menu Domov
    function btnHome(event:MouseEvent):void
        (root as MovieClip).gotoAndPlay(4);
    function btnOnas(event:MouseEvent):void
        (root as MovieClip).gotoAndPlay(5);
    function btnBoard(event:MouseEvent):void
        (root as MovieClip).gotoAndPlay(6);
    btnHome_btn.addEventListener (MouseEvent.CLICK, btnHome);
    btnOnas_btn.addEventListener (MouseEvent.CLICK, btnOnas);
    btnBoard_btn.addEventListener (MouseEvent.CLICK, btnBoard);
    website have 24 pages than i don't copy next buttons.
    sorry for my english.

    First include the SoundMixer class:
    import flash.media.SoundMixer;
    Then to stop the sounds call the stopAll method:
    SoundMixer.stopAll();

  • PLEASE HELP - cant switch frame from html to excel and vice versa!!

    Hi
    I'm have been unable to dynamically change an html frame to display in excel format.
    The variable that determines whether this page should be html or excel comes from another frame.
    Its not working...
    Any ideas why this would be?
    seems to be a straight forward issue, but I can't seem to solve it.
    ****code below****
    <%
    String xFmt = (String)request.getParameter("passFmt");
    if (xFmt == "1")
    response.setContentType("application/vnd.ms-excel");
    else
    response.setContentType("text/html");
    %>

    SORRY...."my bad" (as it were)...
    should have been
    if (xFmt.equals("1"))
    rather than
    if (xFmt == "1")

  • How to display Two frames in HTML....

    Hi,
    Can someone please advice me on how to display two frams on one page without using FrameSet...
    Thanks,

    Hi,
    Thank you for your reply...
    I already have something that i did in Applet but i don't want to use Applet....
    The problem with frameset is that i will be adding documents Types Dynamically in HTML List and after clicking the Document Type I want to display Image depending on what Document Type is clicked...
    Both the DOCUMENT TYPE and IMAGE, I want to create DYnamically. I don't want to create Two HTML Files (one for Image and One for LIST) and then open it from Another HTML Which contains FrameSets...
    I hope you get my point....
    Is there any other ways i can do this....
    Any help will be greatly appreciated...

  • Frames in html

    how do i extend menu in one frame to another frame without hiding in the second frame.

    How can i extend my menu option from one frame to
    another frame.what ? explain more .
    BTW your chances of getting answer would be more if you post it in HTML/Javascript forum.

  • Dynamic form "Cancel" redirect  problem in frames - bugfix?

    My question: Is there a "long run" down side to my implementing this modification to style.js?
    The below post by Ionut:MX Division Support Specialist worked for me as a solution to a current form "click cancel" redirect navigation problem:
    When a DWtoolbox dynamic form wizard form is placed on a page within frames, clinking on cancel does not return a user to the list that sent them to the form. The user is sent somewhere else.
    Begin Ionut post-------------
    If you don't need to add extra parameters to the "Edit" button, you can solve the redirect problem by editing the "/includes/skins/style.js" file and replace:
    nxt_list_edit_link_form(this, myinput.previousSibling.href);
    with:
    nxt_list_edit_link_form(this, a.href);
    End----------------------
    Thanks Ionut for the tip and anyone in support for letting me know if this is a safe mod for the long run,
    Steve M

    Hi Marny,
    Hello Steve. I am new to Adobe & very confused. You seem to grasp the program very nicely, please help Me?
    I´m not not Steve, however -- what problem do you have exactly, and is this problem related to the "Adobe Dreamweaver Developer Toolbox" extension or related to Dreamweaver ?
    If it´s related to ADDT, please describe your problem by starting a new thread -- if it´s related to Dreamweaver, please post your questions in the general Dreamweaver forums.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How to read frames in html/tutorial

    Hello,
    I would like to learn which classes/methods are used for reading frames in an html page.
    May you please post me a link in Sun tutorials related to Reading frames?
    thanks :)

    There is no API for "reading" webpages logically, but there are a few classes which provide access to pages through the HTTP protocol and expose the content of the pages.
    There may be non-Sun APIs for this, but none that I have used.
    I would suggest you build your own classes for doing this after carefully reading the HTML, CSS, and JavaScript (ECMA Script) or VBScript specifications.
    If the page you request is a frameset, then simply read the content starting with "<Frame>" (similiar anyway), and get the "frames" that are referenced, then point your class to that page, and read again and so on.
    REFERENCES
    http://www.jdom.org/
    http://sourceforge.net/projects/javahtmlparser
    These might help you.

  • How can i work with frames in html

    i am working with frames and jsf
    left side is one.jsf
    right side is login.jsf
    frame
    one.jsf | login.jsf
    ............ |.................
    .............|...............
    ............ |...................
    after login is successful . i am in success.jsf in right frame
    1.e
    frame
    one.jsf | success.jsf
    ................... |........................
    .................... |.......................
    ----------------|-----------------
    then if i am refreshing the content by refresh button.
    again i am getting login.jsf on right side which i don't want.
    1.e
    FRAME
    one.jsf | login.jsf
    ............. |..................
    .............. |..................
    ------------|-------------
    but what i want is even after refresh i have to get success.jsf after login like this what to do
    FRAME
    one.jsf | success.jsf
    ............... |.....................
    ................ |.......................
    -------------|------------------
    with regards

    You need to convert the string date to datetime or date. See conversion examples here:
    http://www.sqlusa.com/bestpractices/datetimeconversion/
    Example for the where clause:
    WHERE DATEDIFF(DD, convert(datetime, lastdate, 101), getdate() ) < 1
    Can you post sample string dates?
    Are you looking for today's records? Another option (depends on lastdate format):
    WHERE lastdate = convert(char(8), getdate(), 112)
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to place frames of html in servlets.

    hi,
    Iam new to servlets can any body tell me how to solve this. In a servlet two frames should be there like any web site can any body tell me how to do that.
    regards
    sonali

    Could you elaborate a little bit. From what I read above it looks like you have no clue what a servlet is.

  • Retrive data from different frames in the same HTML page

    Dear sirs,
    Consider a HTML page with 2 frames, frame1.html and frame2.html. Frame1 contains a textbox, and frame2 contains an "Ok" button.
    Could it be possible that, once I click "OK", and after being redirected to the proper servlet, such servlet could retrive information from Frame1?
    Or, in other words, it is possible for a servlet to get information from different html pages? (I mean INPUT elements like texboxes or radio buttons).
    Thanks in advance for any ideas provided.

    Hi,
    Try this out:
    window.parent.Frame1.document.formname.textbox1.value
    Best of luck

Maybe you are looking for