How to use the Observer when a page loads

Anybody know how to use the
Spry.Utils.addClassName('DivName','selected') and then fire the
Spry.Utils.addClassName with onLoad?
I am loading a page with the selector utils in it into a div
and then I think I must need an Observer to get the
Spry.Utils.addClassName to work when this page loads in a div.
Any help would be greatly appreciated.
Thank you,
Bisser.

I added Spry.Utils.addClassName('DivName','selected') in the
Script after the constructor and after the effects and it works
fine. Thank you for your help to get me going.
Well after the fact, this solution was a problem because it
loads the selector each time I loaded the file.
kinblas had the correct answer that I was looking for.... as
it loads the selector as a 3rd argument.
ie:
Spry.Utils.updateContent('mainDIV','/menu.php', function() {
Spry.Utils.addClassName('DivName','selected'); });
Thanks to both of you for your continued support.
Bisser.

Similar Messages

  • How to set the bind variable on page load and execute query ?

    Hi All,
    I am using Jdeveloper 11.1.1.5
    I have a table called "Employee"
    Columns :- id , name , location
    Data :- 1, ,james , chicago
    2 ,Raj ,capetown
    Now i have another webservice(created as a webservice dataControl) which sends me the "id" on each time my page loads.Now the id which has been returned by webservice should be incorporated in my VO Query as in where clause to fetch the data for the respective "id" in that "Employee" table and should be rendered on form.
    Eg :- Id "2" has been sent by the webservice then the record should be fetched from database should be "2","raj","capetown".
    I know that there would be necessity of bind variable , but how do i set the bind variable on page load ?
    How can i use the bind variable appropriately ??
    Please suggest !!!!
    Thanks.

    Hi,
    Check
    http://www.orastudy.com/oradoc/selfstu/fusion/web.1111/b31974/web_services.htm#CJADCDBG
    http://thepeninsulasedge.com/frank_nimphius/2011/02/18/adf-code-corner-sample-73-released-hands-on-creating-a-search-form-using-a-pojo-ws-and-the-web-service-data-control/
    -Suresh

  • How to use the design tools in pages 5.2 on Macbook Pro

    How do you use the alignment tools for placing and inserting images in pages 5.2?

    Hi Ivy Janelle,
    Thanks for visiting Apple Support Communities.
    In Pages 5, you can insert images using the Media browser at the top of the document window. Once you insert them, you can edit and arrange images using the Format inspector--the paintbrush icon in the top right. You can find detailed information about inserting and using images at these links:
    Pages for Mac 5.0: Add and edit images
    http://support.apple.com/kb/PH15345
    Pages for Mac 5.0: Align and position objects
    http://support.apple.com/kb/PH15351
    Best Regards,
    Jeremy

  • AIR window mode bug? How to use the mouse when transparent?

    Hey there,
    I'm trying to build a transparent desktop application in AIR and have set the window mode to transparent.
    The mouseposition and mouseevents only work when the mouse hovers over a visible movieclip but not on the background.
    How can I fix that? Or is it an bug like some people say?
    Also in fullscreen mode the stage is a LOT bigger than the actual screen.. i already set:
    stage.scaleMode= StageScaleMode.EXACT_FIT;
    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
    but it doesn't help at all.
    thanks for helping

    Are you attaching your mouse handlers to the stage? If not, try it -- that's the typical way to capture mouse events within the entire flash player window. I'm not 100% it works with a NativeWindow set to transparent, though, since the main purpose of transparent window background is to simulate a non-rectangle window. If you want to have a transparent background but still act like a rectangular window you can probably just add a transparent rectangle (alpha=0, visible=true) to capture mouse events.
    Hope that helps.
    -Aaron

  • Developing a 2 page form, username on the 1st page, password on 2nd how can i force FF to use the username from previous page when it asks to remember acct info?

    I am developing a 2 page signup form, where the person enters their username on the 1st page and password on the 2nd.
    When I test the form, FF asks to remember my password for the site - however it thinks the zipcode (field above the password) is the username on the account.
    I have tried to put their username/email in a hidden field on the 2nd page, just above the password field - and that did not work.
    How can i force FF to use the username from previous page when it asks to remember acct info?

    This website is using autocomplete=off to prevent Firefox from saving and filling the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save names and passwords and other form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • I am using the trial version of pages. how do i transfer the letter heading i have created to Word as a template? comes out fuzzy in Word when i try.

    i am using the trial version of pages. how do i transfer the letter heading i have created to Word as a template? comes out fuzzy in Word when i try.

    IP = Intellectual Property.
    You want to take the artwork from Pages, which you haven't paid for, into a competing product?
    Peter

  • How do you select all paragraphs using the same style in Pages 5.2?

    I'm trying to find how to select all paragraphs using the same style in Pages 5.2 without any success.  I writing a book and I need to able to adjust all my paragraph styles globally.  I see how upgrade my paragraph style when I do something new, but not how to revert back to the orginal template.
    For example, in my custom template for my book I have 12 font for a review questions paragraph style.  I changed the font size for all this paragraph style to 18 font.  Now I want to change it back to size 12 font.  But I have this paragraph style at the top and bottom of my document.  How to I select all of my review questions style so I can make the font change to all at the same time? 
    I just upgrade to Pages 5.2 from Pages '09. 
    Thanks for the help,
    Rob

    The Pages User Guide might help here.
    Better to post your topic in the Pages designated community > Pages: iWork: Apple Support Communities

  • How can i detach the video from a clip so i can only use the audio when using imovie?

    how can i detach the video from a clip so i can only use the audio when using imovie?

    First, go to iMovie/Preferences and enable the Advanced Tools.
    Import the video clip into an iMovie Event. When you get ready to use it in an iMovie Project, select the clip in the Event and drag & drop it on top of a video or photo clip in the project at the place where you want it to begin. When the pop-up menu appears, choose Audio Only.

  • How to use the Wire-Tag in Cairngorm 3 Observer Library?

    Dear Observer-Lib coders,
    Maybe I am posting my issue into the wrong forum, see this thread:
    http://forums.adobe.com/thread/756046
    I'd like to know how to use the Wire-Tag mentioned in the Observer-Lib docu, see:
    http://sourceforge.net/adobe/cairngorm/wiki/HowToUseCairngormObserver/
    Please let me know if there is anybody who knows how to use
    this Wire-tag. A small code example would be great, too!
    Thank you,
    masu

    Ok ... I solved it!
    see this thread: http://forums.adobe.com/thread/756046

  • When i update apps on my iphone they need the ID that i used when i downloaded these app and i forgot this ID and a make a new ID how i used the new one to update these apps thanks

    Hello all,
    when i update apps on my iphone they need the ID that i used when i downloaded these apps and i forgot this ID and a make a new ID
    How i used the new one to update these apps?
    thanks

    Your device can hold apps from multiple IDs, but to update them you have to swicth identities which is time consuming. If possible use only the one ID. If you need to reset the password for your old ID visit My Apple ID.
    tt2

  • HT4641 Hello there i am using the latest version of pages but when I imported a word do.ument with some figures ( mainly pictures, X-rays,  CT scans, and ECG ) I could not find them they all vanishes although the text was perfectly displayed . Can anybody

    Hello there i am using the latest version of pages on ipad3 but when I imported a word doument with some figures ( mainly pictures, X-rays,  CT scans, and ECG ) I could not find them they all vanishes although the text was perfectly displayed . Can anyone help.
    Thanks

    Thank you very much!
    I cant believe this little comment has been so helpful!
    But yes it is:
    I explain, despite my efforts to find, googled it, forums, faqs, etc...
    no where it mentionned the manifest.fm file is... INSIDE the .jar!
    Your comment "a zip" made me attempt to open it with winrar, and I found a manifest.fm file inside!
    So far I was editing the one at the "source" of my project and rebuilding it with netbeans.
    I am going to try that now.
    Actually.... :( no its mentionning my main class!
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    Main-class: courseworkjava3d.Simple3D
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildWell I have no problems uploading you the .jar, it is for a coursework it is not a private project or whatever:
    http://www.uploading.com/files/CM2LKWYU/BetaCourseworkJava3d_Final.jar.html
    Oh and I felt on your comment "dont ask us" as if I was suppose to know... i'm a beginner, I did not know that! And I tried to give you so many infos so you dont lose your time if you want to help, especially as after my own research I found many, many results for this "main class" and I tried a few solutions!
    Edited by: CupofTea on Apr 13, 2008 3:28 AM

  • How to Use the Wiki Page Ribbon Functionalists in own APP development?

    Hello Pros,
    I am developing an APP tool for dynamically modifying the contents on the Wiki Page on SharePoint for some format purpose. I hope to use the Ribbon functionalists provided by Wiki Page Editor like configuring the font on that APP. I have an editable div
    on the page and hope to use the Ribbon Buttons as used in the Wiki Page to control the contents of this div. Is it possible or I just have to develop those functionalists by myself instead of loading the Ribbon to my APP.
    And other problems I have got the solutions like accessing to my APP with parameter or using the REST to control the contents on Wiki Page.
    Hope to hear your responses. Thanks.

    I've not used JBuilder much, but if it has ant support, then it should
    be pretty straight-forward.
    -- Rob
    Rick Ni wrote:
    How to use the "split development directory structure" in JBuilder9 ?
    Have /APP-INF supported ?

  • How to Use the JAVA SCRIPT code in .htm page of the component

    Hi .
    In my requirement i have to use Java Script Function in .htm code ..how to use the java script code and functions in .htm???
    thank you
    B.Mani

    Check this document  [Arun's Blog|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUI-TalkingwithJava+Script]
    Regards
    Kavindra

  • How To use the page total value for conditional formatting

    Hi
    I am very new to xml publisher report.. I have calculated the report total like this--
    <?add-page-total:pt;'ENT_AMT'?> now i display it in a table colomn by using the syntax
    <?show-page-total:pt;'#,##0.00'?>
    Now what i want to do is if the value of the page total is greater than 1000 the color of that coloumn in the table will change. But by any means i cannot access the value and do the condition checking..
    Plz help..
    Thanks and Regards
    Joydeep Mitra

    Hi Mitra,
    You can use this if you want to change the color of a cell:
    <?if:total>1000?><xsl:attribute xdofo:ctx="block" name="background-color">red
    </xsl:attribute><?end if?>
    Regards,
    Marius

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

Maybe you are looking for