Hook to run script between Consumption mode and Contribution mode

Hi,
I am developing a Web Portal page with a Region Template. My page will need to have an accordion. My Region Template will push out raw HTML, and I will use jQuery to put accordion behavior on top. However, the jQuery will run at "onload", $(document).ready(function()), to initialize my raw HTML to be an accordion. It works fine in view mode, however when I switch to Contribution mode, the page shows a raw HTML.
I am looking for a hook that I can run JavaScript when switching between Consumption mode and Contribution mode. This way, I can put my initialization script in that hook. I have looked in the iDoc documentation but couldn't find any.
I would be grateful if you can help me out. Thank you very much for your time.
Linh
Edited by: 942214 on 22-Jun-2012 00:20

Are you sure your jquery isn't getting called? Switching between contribution mode should cause a full page refresh by triggering the WCM.ReloadURL js function.
Have you put in debug statements to ensure that the $(document).ready(function(){}); really isn't being called?
-ryan

Similar Messages

  • Timeline window missing button to switch between frame mode and timeline mode

    I'm using Photoshop CS6 Extended.
    This is what my timeline looks like now.
    In tutorials they refer to a button that should be to the left of the drop menu that says "forever". The button is supposed to allow you to switch between frame mode and timeline mode.
    this is what the timeline window looks like in timeline mode and with the button that allows you to switch.
    I've already tried reinstalling and upgrading to CS6 extended, as some forums suggested.
    Please help. Animation is the core reason that I need photoshop and without this button I'm extremely limited. Thanks.

    OK. This should work. Copy and past the below script into Script Editor, save it as an AppleScript application to the Desktop. Double-click it and it should change to grayscale. Double-click it again and it'll toggle back.
    tell application "System Preferences" to activate
    delay 1
    tell application "System Events"
    tell process "System Preferences"
    click the menu item "Universal Access" of the menu "View" of menu bar 1
    click the radio button "Seeing" of the first tab group of window "Universal Access"
    click the checkbox "Use grayscale" of tab group 1 of window "Universal Access"
    end tell
    end tell
    tell application "System Preferences" to activate
    delay 1
    tell application "System Events"
    tell process "System Preferences"
    click the menu item "Universal Access" of the menu "View" of menu bar 1
    click the radio button "Seeing" of the first tab group of window "Universal Access"
    click the checkbox "Use grayscale" of tab group 1 of window "Universal Access"
    end tell
    end tell
    tell application "System Preferences" to quit

  • What is difference between TEXT mode and BINARY mode?

    Hi,
              What is difference between TEXT mode and BINARY mode? In TEXT mode what is "ENCODING DEFAULT".
    OPEN DATASET wl_filename FOR INPUT
                              IN TEXT MODE ENCODING DEFAULT.
      OPEN DATASET wl_filename FOR INPUT
                              IN BINARY MODE .

    Hi vishnu,
    1. files like .TXT files are considered to be text,
       and other files like .EXE . DOC etc are binary files.
    2. In text files, after each line, there are two
       internal binary characters
      one for line feed and another one for newline.
    3. But, we don't have any meaning for it,
       when we view such files in notepad, for eg.
       Hence, to only get the understandable content,
       we should open such TXT files, in text mode.
      (we can also open them in binary mode,
      but we will get two extra characters after each line,
       and such two extra characters are meaningless
      for interpreting the text)
    4. In binary mode, each byte by byte is considered,
       without any meaning.
    regards,
    amit m.

  • Running the report in Bitmap and Character mode

    Hi,
    We have the reports which can run in both the character mode and Bitmap mode. The only problem I'm facing is font size in the character mode report. If the report is run in Character mode then the font size of the report will be greater. As the sizer is bigger, I'm getting the X symbol in the place of report. Can i reduce the size of the font. I'm using the font Tahoma (8 points). Reports 6i Version and Windows Xp is the OS.
    Regards,
    Alok Dubey

    Hi this may solve u'r problem
    In Oracle Reports Designer, bitmap mode, you can make "C"
    bold and in a different font and point size than "c". This
    is because you are generating postscript output.
    Postscript is a universal printer language and any
    postscript printer is able to interpret your different
    design instructions.
    In Oracle Reports Designer, character mode, the
    APPLICATIONS STANDARDS REQUIRE the report to be designed in
    ONE FONT/ ONE CHARACTER SIZE. Character mode reports
    generate ASCII output. In ASCII you cannot dynamically
    change the font and character size. The standard is in
    effect so a report prints as identically as possible from
    both conventional and postscript printers.
    by....
    stanma

  • Differences between One Arm and Route modes?

    Hi Guys,
    What are the differences between One Arm and Route modes? Can anyone please explain?
    Krishna

    Hi Krishna,
    Have a look at the two links below. They provide configuration examples for each of the two topologies along with explanation on the different commands used.
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_Routed_Mode_on_the_Cisco_Application_Control_Engine_Configuration_Example
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_One_Arm_Mode_with_Source_NAT_on_the_Cisco_Application_Control_Engine_Configuration_Example
    I hope this helps
    Daniel

  • Type shift between design mode and preview mode in Muse.

    My type shifts / moves positions between design and preview modes. It then justifies differently in differnet Web Browsers. This mean I end up positioning things incorrectly in design mode to accommodate the error when published. I am using the Droid Sans Websafe font from Typekit but it doesn't seem to matter which font is used as the bug still occurs. See the attached images; the left is in Design and the other in Preview. See how the formatting shifts within the software. Also the weight of the headline FORDNESS changes slighlty. On other pages, this headline shifts a few pixels across and down. Any suggestions?

    Hi,
    Text layout and rendering varies from browser-to-browser (and between Muse Design and Preview modes). This may come as a suprise if you have a Print background, but is the reality of the web medium. I'll point you to some previous forum posts that may be instructive.
    Layout shifts because of line-break changes
    http://forums.adobe.com/message/6032336#6032336
    Layout shifts because of font metrics
    http://forums.adobe.com/message/6045303#6045303
    Text rendering differences (general)
    http://forums.adobe.com/message/4778838#4778838
    Text thickening (specific to Safari)
    http://forums.adobe.com/message/5862858#5862858
    Hope this helps.
    Abhishek

  • Difference between Simple maintanence and Export mode and Organisation plan

    Hi all,
    Can any one please explain the difference between Simple maintanence and Export mode and organisational plan in SAP easy access.
    Thanks & Regards,
    Naga

    Expert Mode Infotype Maintenance: This interfaces allows you to edit individually selected objects in OM (Org Units, Positions, Jobs) via infotypes. 
    Expert Mode: Simple Maintenance Interface (PPOM_OLD) is used to quickly create a new Organizational Plan. As a user, you can pretty much maintain large volumes of data very easily ( i.e create several objects simultaneously), without having to go through the more "Performance Intensive" Org and Staffing interface.
    In accessing the Simple Maintenance interface to create your org structure, the initial screen requires you to specify which evaluation path you want to create your org structure.
    Organizational Plan: This is what provides you with a complete picture of an enterprise's environment. It comprises elements (objects like Org Units, Positions, Jobs etc) which are used as building blocks for creating an Organizational structure.
    Need more information? Let me know.

  • What is the difference between LTE mode, CDMA mode, LTE/legacy 3GGPP mode, and Global mode in Preferred Network?

    What is the difference between LTE mode, CDMA mode, LTE/legacy 3GGPP mode, and Global mode in Preferred Network?

        Great question alczervik!
    LTE- is our 4G network.
    All CDMA/LTE Legacy are going to be related to our 1X, 3G/ EVDO network.
    Global is GSM. Meaning you can use Internationally.
    I hope this helps.
    VanessaS_VZW
    Follow us on Twitter @VZWSupport

  • What is difference between consumption stock and procumrement stock

    Hello Masters,
    I am new to materials management, can you please provide the differnces between consumption stock and procurement stock.
    Can you please provide with examples
    Thanks
    KV

    Refer below link
    http://help.sap.com/saphelp_40b/helpdata/EN/75/ee0ac955c811d189900000e8322d00/content.htm

  • Difference between maximum concurrency and batch mode in JDBC

    Hi All,
             Could som one tell me the difference between maximum concurrency and batch mode in receiver JDBC adapter?
    Regards,
    XIer

    Hi,
    The Max Concurrancy and Batch mode are used for performance tunning for JDBC adapter.
    Max Concurrancy is possible upto 5 only. so even if you will be taking up 10 it will by-default take 5.
    The number of records being processed depend on the size of each record. for e.g Per minit XI Is Processing 50 Records,It will Take lot of time to process all Records.
    So if you set Max concurrancy as 5 then at time 5 messages will be processed simultaneously.
    In Batch mode it will, collect the multiple SQL statements that will be created for records to be processed and processed at a time. It will  improve performance considerably.
    But Batch Mode is possible with only INSERT, UPDATE, DELETE etc.
    The Stored procedures can be executed with max concurrency
    Thus it completely depends that on the no of records to be processed at a time and volume of Mesasges.
    Thanks
    Swarup

  • Difference between a Character mode and Bitmap mode reports

    What are the differences between a character mode and bitmap mode reports

    hi saikumar
    In Oracle Reports Designer, character mode, the
    APPLICATIONS STANDARDS REQUIRE the report to be designed in
    ONE FONT/ ONE CHARACTER SIZE. Character mode reports
    generate ASCII output. In ASCII you cannot dynamically
    change the font and character size. The standard is in
    effect so a report prints as identically as possible from
    both conventional and postscript printers....
    by
    stanma

  • Difference between bridge mode and routed mode on CSS

    Hi,
    Could some one tell me the difference between routed mode and bridge mode.
    Regards
    Neha

    Hi,
    routed mode:
    The CSS acts as a router, it routes packets from the client to the server. The server has the ACE configured as default-gateway.
    There is a client-side VLAN and a server-side VLAN. These VLANs have different subnets.
    Bridged mode:
    The CSS acts as a bridge, it switches frames from the client to the server. The server has the upstream router configured as default-gateway.
    There is a client-side VLAN and a server-side VLAN. These VLANs have the same subnet, but different VLAN IDs. The ACE bridges the client traffic from the client-side VLAN to the server-side VLAN.
    Bridged mode would be most used in case one cannot change the servers IP addresses, or if address space is an issue.
    Hope this helps.
    Kind regards,
    Dario

  • My MacBook pro will not startup.  I get a blank grey screen no logo appears so I can't chooseadiffer t drive nor boot from DVD.  Safe mode and verbose mode also don't change blank screen.

    It was running slow with the colored spining appearing often.  This started happening weeks ago with Yosemite so I formatted the disk with the DVDs that came with the mid 2011 MacBook pro, 10.6.8.  I then installed Yosemite on an external drive and this morning i was booted from the external hd with Yosemite and it stopped recognizong mouse clicks so I forced a restart and now I'm stuck with the blank grey screen.  Safe mode and verbose mode also do not work.

    Lao Bo,
    yes, you can locate and copy a file from your HD to a USB key using UNIX commands. If you know the exact name of the file which you’re trying to locate, try this:
    find / -iname filename -print
    This command will search your entire internal disk for the particular filename. If you know that it’s within a particular user account, then you can save search time with this variation:
    find /Users/username -iname filename -print
    Either variation of this command will print all files found which have the given filename. Presuming that you’re able to identify the correct file, you can copy it to a USB key using the command
    cp -p filename_returned_by_find /Volumes/USB_volume
    If you’re not sure which volume name your USB key has, this command will show you what the possibilities are:
    ls /Volumes
    Please let me know if you have any trouble with these commands.

  • Can someone explain what recovery mode and dfu mode are?

    title says it all.

    The main difference between DFU mode and Recovery mode is the iBoot bootloader. iBoot tells the iPhone/iPod touch/iPad what to do when it turns on, eg. load up iOS version whatever (for me, still 4.2.6 on my Verizon iPhone). When you upgrade your device's firmware, it goes into recovery mode.That way, iBoot can make sure you're flashing into a firmware that's equal to or greater than the current version of firmware you have installed. When you enter DFU mode, there isn't this limitation, so you can flash any version of iPhone OS/iOS that you want, provided the device is compatible with it and Apple is still signing for it.
    If this answered your question, tell me. If it didn't, well, tell me and I'll add more!
    Hope I helped!
    --CS

  • UI Control options do not appear for TCD mode and Webdynpro mode

    Hi guys,
    When I open the screen Start option in eCATT for ECC 7.0, there is no options for TCD mode and Webdynpro mode, only have for SAPGUI mode. So pls help to me find the options for these modes.
    Thanks in advance,
    Thien

    Hello Friend,
    This has been corrected by  640  SAPKB64023 and 700 SAPKB70016.
    Please install the relevant SP to your system.
    Thanks.
    Eric Monteiro

Maybe you are looking for

  • Apple tv unwanted windows

    good morning to all I do not speak English well sorry Apple TV model A1469 I connect to the wifi modem and imposed apple id account ok I see movie photos, and music ok I play songs streaming from wifi mac 10.8.5 itunes11.1.4 ok after two minutes goes

  • Oracle 9i Release 2 Function Index

    Can somone please tell me if functional indices are available on the standard 9i version or the Enterprise version only? I know they are enterprise only on 8i and I'm hoping this changed to 9i Thank you John D

  • How do I make a Pages Doc a jpg?

    I used to be able to press "Save As" but all of a sudden I noticed that option is gone. I could Print and "Save as" a jpg, and that option is gone also. I am not sure if a new softward update took that option away, but I can no longer convert Pages D

  • Question about router versions

    I am getting the family a new Imac for christmas. I currently have a 802.11b linksys router and DSL. Is there any reason to "upgrade" the router to G, N ?

  • Application which was removed from MacBook Pro Dock will not open. Why?

    I dragged the Photoshop Elements (PSE) 11 Editor icon from the Dock on my MacBook Pro (Mavericks) because I had recently installed PSE 13. I still wanted to keep the version 11 Editor but not in the Dock. It dissolved in a puff of smoke as expected.