Accessing parent document div tags from child document loaded inside parent document

I am loading an ASP document (Child)inside another ASP document (Parent) using Include statements.
The parent document has certain div tags which have some properties to be accessed from inside the code in child document using javascript.
Please advise on how to access the parent document varioables and div tags from inside the child document which has been loaded from within the parent document.

<script src="/SpryAssets/SpryHTMLPanel.js" language="javascript" type="text/javascript"></script>
<script src="/SpryAssets/SpryTabbedPanels.js" language="javascript" type="text/javascript"></script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<link href="/SpryAssets/SpryHTMLPanel.css" rel="stylesheet" type="text/css" />
<script language="javascript">
Spry.Widget.HTMLPanel.evalScripts = true;
</script>
</head>
<body>
<div class="TabbedPanels" id="TabbedPanels2">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0" >Tab 1</li>
<li class="TabbedPanelsTab" tabindex="0" onclick="tab2.loadContent('test1/load.asp');return false;">Tab 2</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent" id="tab1">test content 1</div>
<div class="TabbedPanelsContent" id="tab2">test content 2</div>
</div>
</div>
<script type="text/javascript">
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels2");
var tab1 = new Spry.Widget.HTMLPanel("tab1");
var tab2 = new Spry.Widget.HTMLPanel("tab2");
</script>

Similar Messages

  • Unable to access Planning 9.3.1 from Workspace & Metadata load question

    Hi:
    I created a planning application through Classic View and was able to successfully register the app. I even updated the dimensions. I did all this using the Admin ID provided by a thrid party installation firm. They updated my security to match the Admin and when I re-log in to Workspace and click on the Planning app I just created there is an error message:
    Unable to connect to Essbase server. Check log for detail.
    I try using the Admin ID again but the same error message appear. IS anyone out there can give me some advice on what might went wrong and what should I ask them to check? They claim that all servers are up and running. I have tried to see if I can re-create another app but there is no data source available (is this because the Essbase connection problem or becuase one data source can only have one app associated with it?) Any suggestions/help will be greatly appreciated!
    Also, they did not install BPMA. I have not done 9.3.1 before but I heard I can no longer use HAL to load metadata. So without BPMA, is my other options DIM and ODI? Has anyone use any of these and which is the best tool to load metadata? Is BPMA a better option compares to the DIM/ODI?
    Thanks so much!
    Mike

    Hi,
    First I would check in shared services whether the correct access has been provisioned.
    Next try and log in directly to planning and not through workspace to eliminate any issues there. http://<planning server:8300/HyperionPlanning/
    Unable to connect to Essbase server sounds like either permissions are not correct or server details are incorrect, check the datasource details in the config utility and try and connect directly to essbase with them.
    There will not be extra datasources available if they have not been set up, you will need to create these through the config utility on the server.
    My experience of BPMA is that it is not up to being qualified as a fully stable product yet, all depends on the size of the implementation on how to you use it to whether BPMA will be useful, that leaves DIM and ODI, DIM is a third party product and is not cheap and I am not sure how much of a shelf life it will have, Oracle are pushing ODI which they now own, it is a much more stable product and has a many more rich features than BPMA though it does have a steeper learning curve and is more aimed at a technical audience.
    Hope this helps
    John
    John

  • Referencing _root.Button  from a movie loaded inside another movie

    I have the following situation
    MainMove.swf is doing a loadmovie of SecondMovie.swf
    The Button that loads SecondMovie.swf also disables other buttons in MainMovie.swf
    on (release) {
        _root.intro_btn.enabled = flase;
        loadMovieNum("SecondMovie.swf", 2);
    How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???
    Using AS2 is this current project
    Thanks

    You might be able to use the same line of code setting the enabled value to true.  If you have not locked the root of the loaded swf, the _root should till be pointing at the main movie.
    _root.intro_btn.enabled = true;

  • Can you put a div tag on top of div tag that contains an image?

    i have a div tag with an image inside it, i would like to create another div tag and place a video inside this one. Is it possible to place the div tag with the video inside it on top of the div tag with the image inside it?
    Any help is very much apreciated

    Typically, a background image is placed in a division's CSS code.
    See example below: (view source in browser to see the CSS and HTML code)
    http://alt-web.com/DEMOS/fixed-background.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

  • Why did my upgrade to Maverick result in my not being able to access my Documents in the previous format? Why did I not have the option to change my 'filing' system to use the new 'Tags'? Had reinstall 10.8.5 to access my Documents

    Why did Maverick not enable me to access my Documents in the previous format (Grid) and when using the alternative I could not 'clik' to open them. The same applied when I tried to open documents from within my back up disc (LaCie). I had to reinstall 10.8.5 and back up from my LaCie (thankfully) to gain access to all my critical Documents? To deal with this I spent 3 and hlafg hours on telephone to Apple Support ( very helpful - but unable to resolve issues - then 3 hours in Apple Store (again very helpful but only able to assist by clearinng Maverick from my HD and reinstalling 10.8.5. Fortunately LaCie came to the resuce and I was able to back up Mac HD with all my documents but lost about one week of work....!!
    Why did I not have the option when upgrading to Maverick to select the new 'Tag" system which I did not want?

    10.8.5 is the lates ML edition.  I use TM and also carbon copy cloner as my second backup.  If I were you and you have a TM backup prior to Mavericks I would try another restore at bootup.  You should erase your drive first in that process using disk utitlites and then use TM to put back you apps and files.  The other choice is to do an internet recovery and then use TM to restore your apps and files.  That should fix the permissions issue.  I did the same thing and all was OK including getting my original iPhoto progam (9.4.3), iphoto11 and photos back.

  • How can I access xml document from javascript whithin a JSP page

    how can I access xml document from javascript whithin a JSP page?
    I have a JSP that receives an XML document from a JavaBean, so I can access it within the entire JSP, but I need to access it from the javascript inside the JSP... and I have no idea how i can do this.
    Thanks in advance!

    The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
    It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation.

  • Removed user from group, user no longer has access to documents even though user is owner of documents

    I'm running a server 2012 std domain and I'm in the process of rebuilding our fileserver after we had some pretty serious permission issues. Bad permissions (Everyone had full access to user documents share) were migrated when we move to the new server and
    then by some strange Monday morning freak out all users lost access to their documents. I restored from backups, redirected everyone's folders back to local computer and started to reconfigure the share permissions. I moved our administration group back to
    the server after securing proper permissions for folder redirection (permissions copied from https://technet.microsoft.com/en-us/library/jj649078.aspx?f=255&MSPPError=-2147217396 table 1, only difference is instead of creating a new security group
    for redirection users, I used the everyone group) to test and everything went perfectly. The GPO created the users folders under the root and redirection was good to go. Along with that, other users cannot access other users documents anymore which was the
    intended outcome. 
    Last night I was looking at security groups and see that our administration group (back office group: accounting, HR, etc..) was a member of the domain admins. I removed them from the domain admins group and added them to the administrators group (they do
    need regular admin access) then went on like normal. This morning, all users in that group can no longer access their documents on the server. I immediately think that permissions were broken again and started to get angry, but then realize that all the files
    are still accessible on the server (no lost permissions like before) and the user is still shown as the owner with full permissions, but the files are inaccessible to those users. I re-added them to the domain admins group, logged out, logged back in and documents
    are back and accessible by the user. Remove them from the domain admins group, log out, log back in and the documents are inaccessible again. Re-add to the domain admins group and back to normal. 
    Which leads me to now. If the users are part of the domain admins group, they have access to their files. If they are removed from the domain admins group, they lose access. When they lose access, they are still the owners of the files/folders with full
    permissions, yet they can't access their documents. Also, just to add, the domain admins group has no specified permissions on the files or folders. See screenshots below..
    Here is the root share. 
    And the user's desktop folder. The folder is owned by the user with full permissions. This is the folder the redirection GPO created.
    Any ideas why removing the group from domain admins would drop access to their files? They are still the owners of the files and should have full access but they don't. Is there something I'm not seeing here?

    Effective Access shows the user has full control of the Desktop folder
    This is a problem with the Effective Access tab when using CREATOR OWNER.  As you have noticed, the user doesn't really have the access that the tab says it does.  This is because of how CREATOR OWNER works.
    CREATOR OWNER is only evaluated when a file/folder is created. 
    IF a user can create a file/folder, then the permissions assigned to CREATOR OWNER are copied to a new permissions entry for that user.
    To see this:
    Logon as an administrator and create a file in the Desktop folder in your screenshot.
    Examine the permissions of the new file.
    You'll see that there is a new entry for the account you logged on with.
    CREATOR OWNER is gone.  CREATOR OWNER would still be there if you created a folder (because of "subfolders and files").
    In the Desktop folder (in your screenshot), only SYSTEM and Administrator can create/access files.
    To fix this, you need to grant the users the ability to list the directory contents and create new files/folders.  This corresponds with the suggestion of Table 1 in the document you found.
    I see what you're saying about Administrators domain group. I'll just add them as local admins via GPO and that should solve that issue. 
    No, scary!  This will grant those users administrative permission on your server.  They will be able to see any file anywhere on that server.
    If your goal is to provide a place that is private for each user, then the simplest approach is to grant each user permission to their own folder.  Like this for Test User:
    Notes for above:
    I set the user's permission to Modify because there is no good reason why the user should change these permissions
    The owner of this folder is unimportant.  I leave it set to Administrators
    You can, and I do, remove CREATOR OWNER.  It adds no value in this situation and just causes confusion.
    As for the second screen shot, the *-Admins folder is the root to which Everyone has special permissions on and can create folders. The folder for M* was created by the GPO, which makes M* the owner to which they have Full control of subfolders and files.
    The GPO also created the Desktop folder, giving owner full permissions of subfolders and files. Inside the Desktop folder, permissions remain Full control for owner for subfolders and files. Even if it was the case that they only had permissions on subfolders
    and files, wouldn't each subfolder under that one be considered a subfolder and file of the top folder?
    If this works as you say, then Yes, it should work.  But, I don't see the entries for use M*.  Remember, there should be entries for the M* user that is a duplicate of CREATOR OWNER.
    I suspect that Group Policy is creating the directories (elevated) and then changing the owner to M* afterward.  This does not duplicate the CREATOR OWNER entries as needed.  If this is the case, I consider it a flaw because your permissions do
    not allow user M* to create files/folders, and group policy shouldn't bypass security.
    I'm not saying your wrong, I'm just curious why the technet article would advise Creator/Owner giving full control of subfolders and files only if that were not correct. I can add the permissions for the users easily, I just don't see why I need to give
    explicit permissions to access something when the GPO created those folders for me, which Microsoft recommends you allow. If the GPO can create folders and the folders are owned by the user, then the user can obviously add/create/modify/view those files and
    folders. 
    When I restored the data, no permission were reset. Permissions were restored to the wonky version where the Everyone group has full access to everything. Ownership of the files/folders remained the same.
    A couple things:
    The article instructed the use of Folder Redirection Users group that had permissions to create files.  Your examples didn't have that.  Because of this, your user could create new files.
    The article assumes that the directories you are creating will be empty.  Existing files will be unreadable to everyone except Admins.
    If you follow the directions in the article, then anyone in the Folder Redirection Users group can write files to anyone else's directory.
    One benefit of the document's approach is that all the users could be redirected to the same folder using the article, and it would work.  A benefit, I guess.
    But, I like my user's separate and unable to see each other's files -- at all.  This is why I recommend replacing CREATOR OWNER with the specific user.
    I believe this document is a "how to get it done" document, not necessarily a best practices document.  I see it as a starting point, and that's why I didn't follow it exactly.
    Lastly, CREATOR OWNER permissions are useful but confusing.  I avoid them unless I have the rare circumstance where they are perfect.
    When I restored the data, no permission were reset. Permissions were restored to the wonky version where the Everyone group has full access to everything. Ownership of the files/folders remained the same.
    To summarize:
    In the user's directory, you need to provide permission to list and create new files/folders, and you need grant the user permission to the existing files.
    -Tony

  • Access DMS documents from MDM ??

    Hello folks
    We have a customer that has SAP DMS (Document Management System from SAP ERP) where the product image files are stored on a SAP Content Server.
    We are planning to implement MDM for rich product catalogue whereby end-users access MDM via Portal, but we need to access some documents on DMS too.
    I know that there is standard PLM iviews that shows DMS documents linked to a Material, can we use these iviews to modify them so that they are launched on request of user after browsing in MDM iviews (managing same material numbers) ?
    Has anyone of you made this ?
    Any hint/help on this is most welcome !
    Thanks
    /Sooriya

    Hi Sooriya,
    We can get the Product ID from MDM Standard iview through EPCF Eventing. Based on that ID, we can fetch the documents from DMS.
    I am new to DMS. Can you please share some information on fetching document links from DMS through standard or APIs?
    In my scenario, i have to fetch the documents link from DMS for all Master records and store the link in MDM. Also, when a new master s created in MDM, I have to attach/upload documents for the master record and store the document link in MDM. The actual document is present in DMS. When I send the newly created Master data to ECC, I have to link the Master data and the documents in ECC also.
    Your help is greatly appreciated!
    Thanks,
    Arun prabhu S

  • How to access KM documents from detailed navigation tree area in EP???

    Hello Gurus,
    I want to simulate the portal navigation. I want to show a page also with a detailed navigation tree with links to several KM documents on left frame and a content area for such content files on right frame.
    I have decided to modify standard par file "com.sap.portal.navigation.lightdetailednavigationtree" and I tried to modify JSP to show dinamically several links to KM documents applying logic based on webdynpro tutorial "Using Knowledge Management funcionality in Web Dynpro applications". But a runtime error occurs. I don´t know if I must add sharing references in portalapp.xml for using such classes and also I don´t know the way to do it.
    It would be really grateful if somebody could guide me through this issue or give me another more proper solution.
    Thanks in advance.
    Best Regards.
    Rosa

    Hi javier,
    If u want to access KM documents in some different format then ur default KM navigation Iview.
    Then please have a look at this blog. It will really help you:
    Launching WebDynpro from Universal Worklist
    I hope it helps.
    Please revert back in case of further issues.
    Regards,
    Sumit

  • Thinking of purchasing Time Capsule.... Can I access my documents saved on (Home Network) Time Capsule from another Network??? For instance, I can access my documents saved on MyBookLive (which is connected to my wifi) from ANY wifi connection...

    Thinking of purchasing Time Capsule.... Can I access my documents saved on (Home Network) Time Capsule from another Network??? For instance, I can access my documents saved on MyBookLive (which is connected to my wifi) from ANY wifi connection... Like when I'm at school I can download documents stored on my MyBookLive at home.... I love this feature... But I would prefer to keep my products apple... So my question is can I access my documents from ANYWHERE with Time Capsule???
    Other products I have: MacBook (2009 limited edition it's aluminum) two iPad2 (2012) iPhone 5 (2012) two iphone4 iPod touch (2010) iPod Nano (2011)

    Remote access to TC is allowed by BTMM and iCloud service.
    Not for ipad or iphone.. only the Macbook although I think people have some work arounds..
    NOTE. Your school firewall should block it. If I was still working in network admin I would. ie you are risking the whole network to get access to files unchecked for viruses.. and please don't just say Macs don't get viruses, you can still be the source of the infection even if you don't suffer the disease. Just a carrier.
    http://support.apple.com/kb/HT3486

  • Accessing a document from a different system

    Hi,
    I need to get (display) an attachement stored in EBP from a different R/3 system (in transaction display purchase requisition).
    Could somebody point me to right direction ?
    Thank you for your feedback.
    Marian

    Marian,
    Which version of EBP and R/3 are you using? You can look for an RFC and use it for accessing the document and displaying in R/3
    In my project we had a requirement that the attachments have to be displayed in R/3 purchase orders and we solved it by storing the attachments in document management system in our back end R/3 system and then adding some screen enahncements in PO userexits wherein we accessed the DMS and displayed the attachments.
    But if I remember correctly this required some core modification on the EBP side.
    Regards,
    Vani

  • How can I access my documents on iCloud from my iPad?

    How can I access my documents on iCloud from my iPad?

    It's as easy as ABC if you use clouds like Dropbox, Box.net, Sugarsync or Google Doc
    http://i1224.photobucket.com/albums/ee374/Diavonex/2f246602.jpg

  • How to parse parameter from child window to parent window in JSP

    I have two JSP i.e. course1.jsp and course2.jsp. I would want to find out how I could parse the parameter/value from child window to the parent window when the child window get closed.
    What I am trying to do is actually a file upload process. The child windows will open for user to upload the file, and when close, the file name will be parse into the parent form for database update. Is this something possible at all? or is there any other better approaches.
    Thank you.
    These are the two files:
    --------course1.jsp ------------
    Attach File <p>
    <FORM name="courseForm" action="course2.jsp" method="post" enctype="multipart/form-data">
    <TABLE cellSpacing=1 cellPadding=3 border=0 WIDTH=500>
    <TR >
    <TD>
    <input type="text" NAME="f_file_name" size="30" VALUE="this value should be taken from child windows">
    get file name
    <p>
         <INPUT class="buttons" TYPE="submit" NAME="submit" VALUE="Submit">
    </TD>
    </TR>
    </TABLE>
    </FORM>
    ---- course2.jsp -------
    <%
    String filename = "this is the string needs to go back to parent windows when I click on close";
    %>
    <p>
    close

    In course2.jsp, you have to write some javascript code to reload the parent window document to reload the document with an added parameter. But, instead of doing this, you can also do simple thing; in course2.jsp, you can reference course1.jsp controls via javascript object, "parent". On closing event of course2, you can write:
    parent.courseForm.f_file_name.text = '<%=filename%>' ;
    window.close() ;
    But for this to work, you must open your course2.jsp document thru window.open() function instead of simple hyper link (as you did thru ).
    So, modify the hyperlink line like below:
    get file name
    Hope it helps.

  • Communicating from child window to parent window

    I'm been trying to communicate a child page with a parent page using window.opener, but I can't make it work. This is an example of what I've been working on (from child to parent). Any idea?
    <$-HTML>
    <$-HEAD>
    <$-TITLE>
    Ventana hija
    <$-/TITLE>
    <$-SCRIPT Language="javascript">
    function cerrar() {
         alert(window.opener.document.url())
         window.opener.frmPadre.field1.Value = document.frmHijo.field1.value;
         window.opener.frmPadre.field2.Value = document.frmHijo.field2.value;
         window.opener.frmPadre.field3.Value = document.frmHijo.field3.value;
         document.frmHijo.valor.value = document.frmHijo.field1.value;
         window.opener.frmPadre.btnSubmit.focus();
    <$-/script>
    <$-/HEAD>
    <$-BODY>
    <$-form name = frmHijo>
    <$-input type = text name = field1><$-br>
    <$-input type = text name = field2><$-br>
    <$-input type = text name = field3>
    <$-input type = button name = btnSubmit Value = "DEVOLVER" onClick = cerrar()>
    <$-/form>
    <$-/BODY><$-/HTML>
    The parent window hast a form name frmPadre with those 3 fields.

    Javascript is not java, but here are a couple of tips for debugging:
    You can use the browser address bar to alert stuff
    ie : put this into the address bar of your browser and see what happens: javascript:alert("Hello world")
    I would recommend you progress like this - slowly building up the link until you find where you go wrong.
    In this case, I think you missed out a "document"
    javascript:alert(window.opener)
    javascript:alert(window.opener.frmPadre)
    javascript:alert(window.opener.document.frmPadre)
    javascript:alert(window.opener.frmPadre.field1)
    Also just as a tip, cross browser scripting is a lot easier to maintain if you limit your self to calling FUNCTIONS in other windows.
    ie rather than setting the values in the other windows textfields, call a function (with parameters) which does it.
    eg in this case it might be:
    window.opener.setPadreFields(document.frmHijo.field1.value, document.frmHijo.field2.value, document.frmHijo.field3.value)
    The function would take the parameters and put them in the appropriate place on the form.
    Doing it this way decouples the pages a little - you only interact with the other page via the function (single point of entry) and if you modify the page in the future (eg change the name of a field) it is much easier to find everywhere you need to do this.
    Hope this helps,
    evnafets

  • Problem in Passing the value from child window to Parent window.

    Hi Frenz,
    I have a requirement like this. i have to pass a value from child window to parent window to one test field. That text field is not a normal text field.
    It was created like the following as SQL query.
    select
    ''LNo,
    apex_item.text(25,'',0,15,
    'style="width:100px;" onblur="javascript:showUpsell(this.value);" onkeypress="javascript:validateKeyPress(event,this.value,this.id);" onkeyup="javascript:this.value=this.value.toUpperCase();" id="P37_ITEMNO"') ItemNo
    Now i want to pass a value to the Item no from child window.
    i wrote the java script like this,
    opener.document.forms[0].f25.value="100";
    It was not working..Any suggestions for that..
    Thanks in advance

    Dear Baaju,
    How do you redirect your control from Child to Parent window.
    If you use a button to do this, then you can set this value in the branching of page.
    Rana

Maybe you are looking for

  • X user issues[SOLVED]

    After many hours of work, I have finally managed to get X working on my Arch install, and got it working with GNOME, and even (finally) got the trackpad and keyboard to work. in Root. Now, finally satisfied with all i managed to get accomplished, I s

  • Delete Library items NOT in any playlist?

    Is there any way to delete every file from my iTunes Library which is not used in any current playlist?

  • Report Language

    I am using Oracle 9iDS Report Builder, I Built a report that is supposed to be generated in Arabic, Once generated as a paper layout all the Arabic characters (numbers and letters) appear in Arabic correctly. BUT THE PROBLEM APPEARS when i try to gen

  • REFER missing in sip invite.

    I was testing out a situation whereby on a trunk from 2013 mediation servers to ACME SBC's Media bypass is disabled but REFER support is enabled. ConcentratedTopology : True EnableBypass : False EnableMobileTrunkSupport : False EnableReferSupport : T

  • Changing MIDI banks with X-Fi Extreme Aud

    I'm looking for something like the MIDI Bank Manager utility that the Audigy 2 ZS had. I tried finding something like this but to no avail. any help folks?