Skip to Content
author's profile photo Former Member
Former Member

How to call "navigation panel collapse" event


I need to create a link (in a jsp) to forced the navigation panel to collapse itself.

To do this in my jsp, I get back the script reference of the standard pageToolBar.par and I call the same javascript function as the one call by it.

So I have:

  • The reference script:

<script language='JavaScript' src='<%=componentRequest.getResource("", IResource.SCRIPT, "scripts/scenario/WAandNavPanel.js").getResourceInformation().getURL(componentRequest)%>'></script>

And the function called:


But it still does not work ...

Has somebody any idea ?



PS: How can I forced other event as: call pageToolBar personnalize window ...?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Sep 26, 2005 at 04:40 PM

    You are correct, this method is in the javascript file, however, as long as you are using the standard portal this Javascript file is already included in the output to the browser. Therefore you would probably need something like the following


    innerPage= "pcd:portal_content/";

    innerPageWindow = pageSupport.getIvuFrameWindow(innerPage);



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 26, 2005 at 04:24 PM


    you can call the Javascript method collapsePanel() which should collapse the navpanel

    I hope this helps


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Darell,

      But do you need to import the javascript file reference in your application ?

      Because the declaration of this function is in the file

      WAandNavPanel.js which I refer to, as I explain in the previous message.

      But it still does not work ..



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.