Assign HTMLfragment Title to Parent Page Title

Is it possible to reassign the Page title of the main page
accordingly to which ever HTMLfragments title is being viewed in an
HTML panel ( I have multiple HTML panels on some pages)? If I am
unable to do this, then when I bookmark any link on the page, it
will always overwrite the bookmark entry, as it uses the Title tag
contents for saving. If the title does not change when interacting
with an HTML panel then the bookmark will always overwrite unless
changed by the user when saving the bookmark.

I ended up placing a javascript item in each of my fragments'
head script area, as the last item it does, once it loads into the
parent page fro mwhere it is called:
document.title= "whatever title";

Similar Messages

  • Refresh "parent" page when closing a cfwindow

    When displaying a cfwindow and I click the x in the top right, how can I refresh the "parent" page?
    The cfwindow has a small form that collects data in a couple of fields then submits in the cfwindow to a page that inserts the request, sends and email and says the action is complete.
    This is my cfwindow:
    <cfajaximport tags="cfform,cfwindow"> 
    <cfwindow
       name="NewRequestWindow"
       center="true"
       closable="true"
       draggable="false"
       height="550"
       width="700"
       modal="true"
       initShow="false"
       refreshOnShow = "true"
       resizable="false"
       title="#WindowText#"
       source="NewRequest.cfm?pk=#pk#" />
    <a href="#" onclick="javascript:ColdFusion.Window.show('NewRequestWindow')"><img src="../includes/images/add.png" alt="Add" title="<cfoutput>#WindowText#</cfoutput>" width="16" height="16" border="0" /></a>
    Thanks, Cliff

    This JavaScript will reload the current page:
    document.location.reload()
    From within your cfwindow it should work for the entire page.
    copied from other post http://forums.adobe.com/message/3227674

  • Parent page changes after iframe loads

    I am using an iframe on one of my pages to include a shopping cart (Magento 1.5.0.1).  As is, everything looks and works perfectly in Google Chrome, but in IE8, once my iframe actually loads, it changes the font of my nav bar (the fonts are included at the top of my css file), as well as relocating where the text in my title bar sits (which I have height, text-align, and vertical-align all set in my css).  My iframe is in it's own separte div tag, and I can't figure this out.  My web page is: http://asc.pcassistant.net/merch.php
    My html goes as follows:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Merch</title>
    <link href="http://asc.pcassistant.net/main.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="wrap">
    <?php require("header.php"); ?>
    <script type="text/javascript">
    document.getElementById("title").innerHTML="M E R C H";
    </script>
    <div id="content">
    <iframe src="http://asc.pcassistant.net/shop/" width="100%" height="1000px" scrolling="no" frameborder="0"></iframe>
    </div>
    <?php require("footer.php"); ?>
    </div>
    </body>
    </html>

    I am starting to believe that this problem is due to my iframe's source's .css file changing my parent page.  Is there any way to contain that .css file to ONLY the iframe?  The site used in my iframe is my own site on the same server, the band just prefers to keep the header and footer the same, as well as the background images on the side, BUT, with the shopping cart, I have NO CLUE how to add all that in (99% of the files are JUST PHP, which I only have a basic knowledge of).  If I knew how to skin the shopping cart perfectly, I'd do that, but that's near impossible for me seeing as I've designed this website in a little over two weeks starting with only basic understanding of html.  How can I keep my shopping cart's css to itself in my iframe?  (http://asc.pcassistant.net/shop is the orignial source for the shopping cart).

  • Loading video dynamically on parent page

    I have a list of video links on a portfolio website page. I
    need the video to load in a fixed place on the parent page when the
    link is clicked. When the user clicks a new link, the new video
    should replace the old one in the same spot.
    I have achieved this with images but for the life of me I
    cannot figure out a way to do the same thing for video!!!
    HERE'S THE CODE I USED FOR THE IMAGES-
    function showPic (whichpic) {
    if (document.getElementById) {
    document.getElementById('placeholder').src = whichpic.href;
    if (whichpic.title) {
    document.getElementById('desc').childNodes[0].nodeValue =
    whichpic.title;
    } else {
    document.getElementById('desc').childNodes[0].nodeValue =
    whichpic.childNodes[0].nodeValue;
    return false;
    } else {
    return true;
    Here is a link to my original files to demonstrate what I'm
    trying to do.
    http://www.thomas-bradley.com/TempTesting/anim.html
    I have been stuck on this problem for a long time.
    PLEASE SOMEONE SHOW ME THE LIGHT!!!

    If you use Flash Video, look at Wimpy Audio/Video Player. A
    single player
    can be used to present an entire playlist of media files.
    www.wimpyplayer.com/products/wimpy_av.html
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "Shweta Agarwal" <[email protected]> wrote
    in message
    news:fc8udr$nmi$[email protected]..
    > I have a list of video links on a portfolio website
    page. I need the video
    to
    > load in a fixed place on the parent page when the link
    is clicked. When
    the
    > user clicks a new link, the new video should replace the
    old one in the
    same
    > spot.
    >
    > I have achieved this with images but for the life of me
    I cannot figure
    out a
    > way to do the same thing for video!!!
    > HERE'S THE CODE I USED FOR THE IMAGES-
    >
    > function showPic (whichpic) {
    > if (document.getElementById) {
    > document.getElementById('placeholder').src =
    whichpic.href;
    > if (whichpic.title) {
    > document.getElementById('desc').childNodes[0].nodeValue
    =
    whichpic.title;
    > } else {
    > document.getElementById('desc').childNodes[0].nodeValue
    =
    > whichpic.childNodes[0].nodeValue;
    > }
    > return false;
    > } else {
    > return true;
    > }
    > }
    >
    > Here is a link to my original files to demonstrate what
    I'm trying to do.
    >
    http://www.thomas-bradley.com/TempTesting/anim.html
    >
    > I have been stuck on this problem for a long time.
    > PLEASE SOMEONE SHOW ME THE LIGHT!!!
    >
    >
    >

  • Get the Values of the components inside the region onto the Parent Page

    Hi All,
    I am using Jdeveloper 11.1.1.5.
    I just wanted to know that my use case can be fitted to contextual events or should i use the #{data.pageDef.Attribute.inputValue} to get the values.
    I have a bounded taskflow "ChildTF.xml" with fragment say "child.jsff".Now i have dragged the ChildTF.xml on the other page say "Parent.jspx" as a region.In the child.jsff page i had input form having 20 fields and all the 20 fields are dragged from a View Object so i don't have the field values binded to the Managed Bean and on the parent page "Parent.jspx" i have a button. Now on click of button i need to get the values of those 20 fields of "child.jsff" page.
    How can i achieve this?
    Thanks
    Shah

    Hi Timo,
    Thanks .
    For sharing the data control i should follow this :-
    In the Property Inspector for the called task flow i.e ChildTF.xml, select Behavior.
    In the data-control-scope list, select shared.
    Is there anything else do i need to do ??
    I mean do i need to add the iterator to the parent page also. ?
    Kindly Suggest!!
    Regards,
    Shah

  • How to make a page that should be inside an iframe load up its parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags, Google et al are almost certain to index these page fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make a page fragment load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas / tutorials / sites I can nick code from / complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    AFAIK there's no practical way to do what you require.  Sorry.  This is one of the many downsides to Framed sites. It also makes bookmarking and printing pages difficult.  Not to mention user unfriendly from a web accessibility viewpoint.  Re-think your need for Iframes throughout an entire website.   The best websites use one complete page for each topic.  Index, About Us, Contact Us, etc...
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How to make a page that should be inside an iframe load up it's parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags , Google et al are almost certain to index these pages fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make the page fragments load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas/tutorials/sites I can nick code from/complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    Actually, I did carefully choose this forum as being the most appropriate since my question, or rather what I imagine the answer might be, will involve things like scripting and/or cookies.
    Would that not make it "dynamic" enough to remain here?
    Thanks
    Peter

  • To close popup page from parent page .

    HI ,
    I want to close the popup page when my parent page is redirected to login page when session gets invalidated.
    with out calling any onload or any kind of functions in popup jsp page.
    In my application when i open a popup page from the main page ,when the session is getting expired parent page is redirected to login ,but still the popup page is in active state.i want it to be closed when the redirect happen for the parent page.
    Please help me in this matter.
    Thanks in advance.

    This is a Javascript question, not a JSP question.
    I'll give only a hint then: get hold of the handle of the popup window so that you can call close() on it.
    If you stucks, please continue at a JS forum. There are ones at webdeveloper.com and dynamicdrive.com. Once again: JSP is completely irrelevant in this question. Just base the problem on the HTML and JS output generated by JSP.

  • Put a child page into a region in a parent page?  (APEX 2.2.0)

    Hi, all,
    Thanks so much for all of your help previously.
    I want to have the entire contents of child page inserted into a region of parent page. The child page uses the "Empty Template" template and has an report region that uses the "No Template" template.
    The parent page has a region containing a single div into which I want to insert the child page. If I do this using JavaScript and htmldb_Get object, inserting the result of the AJAX request into the DIV, I get what I want. I can't figure out how to preload the page into the region.
    I've tried using the URL region, but I keep getting
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1674
    ORA-12545: Connect failed because target host or object does not existwhen I enter the URL for the child page.
    I can't use UTL_HTTP.REQUEST, either.
    select utl_http.request('http://myserver/f?p=100:100:12345678901234')
    from dual;I get roughly the same error. (I copy and paste the same URL that I use for the AJAX request. I can also type that URL into a browser and get the page.)
    I can get both Google's and Oracle's Web sites this way.
    My other option is to render the entire page to a string, store it in a VARCHAR2 / CLOB, and output it to the screen. Is there a way (maybe using WWV_FLOW) to render a page to a string?
    I want to avoid using DHTML when it's not needed and I don't think that I would need it to initially load the page.
    Thanks!

    Carl,
    (Sorry about the reply gap.)
    As best as I can tell, iframes can't auto-fit their contents without JavaScript. I've also heard mixed things about iframes and accessibility. The contents of the iframe also don't inherit the CSS definitions from the parent frame. (None of those may be good enough reasons to not use iframes, but I am totally unfamiliar.)
    There are workarounds for all of those problems, but I'm just as inclined to write some PL/SQL function that generates my page for me and call that from a PL/SQL region, since the page is so simple. It might take me less time to write the PL/SQL function and PL/SQL region than it will to make the iframes look pretty.
    Thanks for the reply!
    Message was edited by:
    Don_84
    Well, that's odd. When I changed my authentication scheme from what I was using to the database authentication (the DAD one), the utl_http.request call works, as does the URL region. So the authentication is getting in the way. I wonder if there is a (elegant) way around that?
    Message was edited by:
    Don_84
    Is WWV_FLOW.SHOW documented? In a PL/SQL region, I can call
    WWV_FLOW.SHOW(P_INSTANCE => '&SESSION.', P_FLOW_ID => '100', P_FLOW_STEP_ID => '1000');where 100 is my app number and 7000 my page number, but it only works if I have no other regions. Otherwise, the page entirely fails to render.

  • Problem refreshing the parent page when closing a modal window.

    I have page that opens a modal window from a report link column. In the modal window I want to be able to make my changes and press an Apply button so that the modal window is closed and the parent page is refreshed to show the modified details in the report. In Firefox all works well but in IE I get the error message ‘Window.opener.location is null or not an object’ .
    When I comment out window.opener.location.href=window.opener.location.href; the modal window closes without error but I want to refresh the parent page with changes made in the modal window.
    I’m afraid my java script is very limited (the code is based on other peoples examples.)
    Parent Page I call this function from a report link column to display a modal window. Sets the hidden SAVE_STATUS field in destination page to ‘N’
    function modalWin(pshow)
    var url;
    url='f?p=&APP_ID.:'+pshow+':&SESSION.::::SAVE_STATUS:N';
    if (window.showModalDialog) {
    window.showModalDialog(url,"name","dialogWidth:650px;dialogHeight:700px"); }
    else {
    window.open(url,"name","height=700,width=650,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");
    Destination page (modal window)
    HTML Header.
    The function closeWindow should refresh the parent page and close the modal window.
    <base target=_self>
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    function closeWindow() {
    if ( document.getElementById("SAVE_STATUS").value == 'Y' )
    window.opener.location.href=window.opener.location.href;
    window.close();
    //-->
    </script>
    Html Body attribute.
    onLoad="closeWindow();"
    P_UPDATE_DATE process called from the Apply changes button. Sets the SAVE_STATUS flag to ‘Y’ for the onload in the html body.
    UPDATE event
    SET event_date = :P5001_EVENT_DATE
    WHERE contract_reference = :P330_EVD_CONTRACT
    AND event_number = :P330_EVD_EVENT_NUMBER;
    :SAVE_STATUS := 'Y';
    Thanks in advance, I will have a look when back in the office on Monday.
    Cheers Pete

    Hi Chris,
    Thanks for your help. I think I've sorted it using your first suggestion doing a refresh in the parent page, I just didn't know how at the time.
    What I've got in the parent window after the call to the modal window is the reload window.location.reload(); and in the modal window I close it using window.close(); The down side being the refresh happens if I use my 'Apply changes' or 'Cancel' button but I can live with that for now.
    It seems to work in IE and firefox but as I say most of what I'm doing is cobbling together using other peoples code without really understanding exactly what it does. Anyway thanks for your help, sound like I should look into JQUERY when I have time.
    Thanks Pete
    Parent window call to modal
    function modalWin(pshow)
    var url;
    url='f?p=&APP_ID.:'+pshow+':&SESSION.::::SAVE_STATUS:N';
    if (window.showModalDialog) {  window.showModalDialog(url,"name","dialogWidth:650px;dialogHeight:700px");                                          }
    else {
    window.open(url,"name","height=700,width=650,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");
    window.location.reload();
    Modal Window Close.
    window.close();

  • How do I make accordian tabs open different images on the parent page

    I am totally new to spry and hope there is an easy way to achieve what I want to do.
    Basically, I want to use an horizontal accordian spry menu so that when the user clicks on a menu item the text appears in the box but an image opens in a seperate fixed box on the parent page. When selecting another menu item the image changes accordingly (but still in the same fixed box)
    I appreciate any help
    thanks

    > When I insert the three form list/menus Dreamweaver does
    not allow me to turn
    > the lists into links. Javascript allows you to turn them
    into links. All I
    > want to know is what script to write.
    That is because you inserted a plain select form item.
    Insert a JUMPMENU and dw will do the coding for you.
    Open the F1 help, click search and type jumpmenu
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • A swf in an iFrame calling javascript function on Parent page

    I have a .swf that has to load in a iFrame and needs to call a browser cookie javascript function that lives on the parent page that loads the iFrame.
    I'm using this:
    ExternalInterface.call("javascriptFunction");
    but of course this call is not making it to the Parent page javascript function.  Is this possible to do?
    Thanks!

    The parent page has the javascript function, and has a iFrame that loads the swf.  The swf needs to call the javascript function that lives in the parent page.
    Thanks!

  • On button click scroll to anchor in parent page

    Hi Everyone,
    I have an edge file embedded in my html page as a banner.
    I have a button in the edge file that I would like to control the parent page with.
    How can I get onClick in the edge file to scroll the parent page to an anchor position.
    I would like to do this without reloading the page as well.
    Any help is greatly appreciated.
    Thanks

    We are getting close... I can feel it.
    It didn't work as above just yet though. 
    The Anchor / div name is outside the animate stage, on the holding HTML page.  So there is an html page.  The animate object is being pulled into that page with an iframe.  On that page that it's being pulled into is another div named align_orthodontics_blog.  To simplify here's the page structur
    <body>
    <p>THIS IS THE TOP</p>
    <p><a href="#align_orthodontics_blog">GO HERE</a></p>
    <iframe src="http://www.align-ortho.ca/an-home/an-homebanner.html" width="100%" height="855px" scrolling="no" frameborder="0">
    </iframe>
    <p>Just regular content here</p>
    <p>THIS IS THE BLOG</p>
    <div id="align_orthodontics_blog">Content for id "GOHERE" Goes Here</div>
    </body>
    </html>

  • Apex in an iframe - only allow access from specific parent page

    Hi,
    I have a simple, unauthenticated Apex 4 application which lets users enter search terms and return records using a classic report. I wish to publish the application within an iframe, so that my organisation's communications department can maintain control over the rest of the page content. A side effect of this solution is that it will be possible for users to lift the application URL from the page source and reuse it elsewhere. I would prefer to avoid this, since I don't want our main website traffic to be diverted. Is there a way to restrict access to an application based on the parent page of the iframe in which it is embedded?
    Thanks in advance,
    Simon

    Hi,
    I'm sure there might be better way than this and this might have some holes , but anyway
    Create HTML region "After header" without template to page zero
    <script type="text/javascript">
    var u="my_ifarme_url_here";
    if(top.location.href!=u){top.location.href=u;}
    </script>Replace "my_ifarme_url_here" with URL your iFrame is located
    Regards,
    Jari

  • Triggering action on Parent Page automatically from Page Fragment

    Hi All,
    I am new to adf and I need help in the following.
    I have a page fragment(one.jsff) included within a JSPX page(main.jspx).This one.jsff page contains few fields and one command button named "SUBMIT".
    The parent page(main.jspx) also has a command button "GO" and an associated javascript function displayText().
    My requirement is that if an user clicks on the SUBMIT button on the page fragment,then the GO button also gets clicked automatically and the associated code gets executed.
    Is this possible?
    Thanks in advance.

    Thanks Vinay and Arun for your replies.
    But the problem is javascript function displayText on the main.jspx doesn't get executed upon clicking the SUBMIT button on the one.jsff page.
    The code of the javascript function on main.jspx is as follows:
    //This function basically loads the oracle form applet and passes information to it
    function displayText()
    document.forms_applet.raiseEvent('message','payload');
    When the GO button on the main.jspx is clicked,the function is called and the form applet loads.
    But when the SUBMIT button on one.jsff is clicked,though the javascript function gets called(i tested it by putting alert messages within the function), the applet doesn't load.
    I think this is because the page fragment tries to search for a document element within its code but since the same doesnt exist,the applet doesn't load.
    Let me know if my understanding is wrong.
    How can I trigger the loading of the applet from the page fragment?
    Thanks.

Maybe you are looking for

  • No phone service, poor communication from BT

    Hi, I noticed on Tuesday that I couldn't make any calls on my landline. Turns out that my phone hasn't been working since probably the Friday before as I also received no calls over the weekend. I reported the fault to BT on Tuesday, and waited for t

  • HP Officejet Pro L7590 networking problem

    Hi! I have the following problem: I have an Officejet Pro L7590 All-in-one printer. It is connected to my wlan router (ASUS WL-500G Premium) through its ethernet port. I have two desktop PCs, i've installed, and using this printer on them without pro

  • Moving email over to my macbook pro...

    ok... i'm not transfering via FW to my new MBP... i have everything backed up that i need... EXCEPT FOR MY EMAIL... How can I move all my old email and folders over to my new MBP? MBP 2.16     http://www.menuserve.com/

  • Running Reports in a Book for all the possible Page options

    Hi, I have created a book containing about 7 reports in total. All the reports have a Prompt to Select the Division. So when i try to view the book in pdf, it prompts me for the Division and when selected gives me all the reports well arranged in PDF

  • Read Value from Document Property

    Hi, I am looking for Function module, to read Value/Content from Document Property. Intial requirement is to capture comments from WAD Output (for Ready-Input Query). The user is going to Update Budget/Actual values in WAD Output. While changing the