Object required - javascript experts please?

Hi, I'm trying to figure out why this script causes a
"Object required" error message inside of IE7 if
the user tries to click the scrollbar.

Let's see the whole page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"mzanime.com" <[email protected]> wrote in
message
news:[email protected]...
> Hi, I'm trying to figure out why this script causes a
'Object required'
> error
> message inside of IE7 if the user tries to click the
scrollbar.
>
> isIE=document.all;
> isNN=!document.all&&document.getElementById;
> isN4=document.layers;
> isHot=false;
>
> function ddInit(e){
> topDog=isIE ? "BODY" : "HTML";
> whichDog=isIE ? document.all.ccpopup :
> document.getElementById("ccpopup");
> hotDog=isIE ? event.srcElement : e.target;
> while
(hotDog.id!="titlebar"&&hotDog.tagName!=topDog){
> hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
> }
>
> if (hotDog.id=="titlebar"){
> offsetx=isIE ? event.clientX : e.clientX;
> offsety=isIE ? event.clientY : e.clientY;
> nowX=parseInt(whichDog.style.left);
> nowY=parseInt(whichDog.style.top);
> ddEnabled=true;
> document.onmousemove=dd;
> }
> }
>
> function dd(e){
> if (!ddEnabled) return;
> whichDog.style.left=isIE ? nowX+event.clientX-offsetx :
> nowX+e.clientX-offsetx;
> whichDog.style.top=isIE ? nowY+event.clientY-offsety :
> nowY+e.clientY-offsety;
> return false;
> }
>
> function ddN4(whatDog){
> if (!isN4) return;
> N4=eval(whatDog);
> N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);
> N4.onmousedown=function(e){
> N4.captureEvents(Event.MOUSEMOVE);
> N4x=e.x;
> N4y=e.y;
> }
> N4.onmousemove=function(e){
> if (isHot){
> N4.moveBy(e.x-N4x,e.y-N4y);
> return false;
> }
> }
> N4.onmouseup=function(){
> N4.releaseEvents(Event.MOUSEMOVE);
> }
> }
>
> function ccClose(){
> if(isIE) window.location.hash="";
> if (isIE||isNN) whichDog.style.visibility="hidden";
> if (isIE||isNN) whichDog.style.display="none";
> else if (isN4) document.ccpopup.visibility="hide";
> }
>
> function ccPopup(){
> var gotop = document.getElementById("top");
> if(gotop) gotop.focus();
> if(isIE) window.location.hash="#top";
> if (isIE||isNN) whichDog.style.visibility="visible";
> if (isIE||isNN) whichDog.style.display="";
> else if (isN4) document.ccpopup.visibility="show";
> }
>
> document.onmousedown=ddInit;
> document.onmouseup=Function("ddEnabled=false");
>

Similar Messages

  • Netflix says it requires javascript which I can't enable

    There is no red plugin symbol to allow me to enable for the site alone and when I try to enable on the add-ons drop down menu I am only given the options to 'always ask' or 'never enable'. I receive this message on Netflix every time I attempt to play a video "The Netflix video player requires Javascript. Please enable that feature in your browser settings and reload this page."

    Thank you. I am moderately tech illiterate. Now Netflix tells me silverlight is not installed, I attempt to reinstall and I am told I already have it. Can this be fixed in a similar way (enabling true)?

  • EP IAC iview javascript object required error

    Hi,
      We have installed EP 6.0 SR1 and ITS 6.20 with service pack 19(with hotfix) in one domain. We have created IAC iviews in Enterprise portal. We are accessing the enterprise portal from different domain and we are getting javascript error <i>object required</i> sometimes. This error comes while loading the IAC iview and it comes randomly. But when we access the portal from the domain where we installed the portal & ITS we are not getting this javascript error.
    Did anyone encountered this type of error before???.
    Please help..
    Regards
    Vasu

    I am assuming this is happening after you have deployed your app and that the app works as expected on your development computer(?). Please confirm...
    I need you to tell me the following:
    1) how was the app compiled; any cpu, 32 bit, 64 bit?
    2) how was the CR runtime deployed (what MSI / MSM did you use?)?
    3) if this app is installed under custom app pool see the following:
    Deploy the CrystalReportViewers13 virtual directory as a sub-directory of your application.
    Copy the Crystalreportviewers13 folder to be a sub-folder at the root of your application. You can configure where your application looks for this folder by using the following Help file [SAP Crystal Reports .NET SDK Developer Guide
    |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip] and search the document for ("web.config";). In the section "Configuring your web.config file" follow the instructions specified for setting the resourceURI attribute. This way you can control updates to the viewers when deploying your application.
    Note the resourceURI value is the name of the viewers directory and should be preceded with a Tilde
    ie value="~/crystalreportviewers13"
    Also, have a look at the following two articles. Both are pre CRVS2010, however the ideas re. deploying to a custom app pool still apply. All that changes is the folder name.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Javascript - Object required error for visual studio 2010

    Hi - I have downloaded the crystal report RTM for visual studio 2010.
    My App server is windows 2008.
    We are using crystal reports as part of CRM application
    I am getting  javascript error 'Object Required'  at the following line:
    The debugger after the error message refers to this:
    bobj.crv.stateManager.setComponentState('ctl00_ContentPlaceHolder2_CrystalReportViewer1__UI',eval('('document.getElementById('__CRYSTALSTATEctl00$ContentPlaceHolder2$CrystalReportViewer1').value')'));
    The website has all the required aspnet_client files and have made sure the application is able to load them.
    When tried with a new sample solution the reports work.
    Please help. I need to make the crystal reports work with the CRM solution...

    I am assuming this is happening after you have deployed your app and that the app works as expected on your development computer(?). Please confirm...
    I need you to tell me the following:
    1) how was the app compiled; any cpu, 32 bit, 64 bit?
    2) how was the CR runtime deployed (what MSI / MSM did you use?)?
    3) if this app is installed under custom app pool see the following:
    Deploy the CrystalReportViewers13 virtual directory as a sub-directory of your application.
    Copy the Crystalreportviewers13 folder to be a sub-folder at the root of your application. You can configure where your application looks for this folder by using the following Help file [SAP Crystal Reports .NET SDK Developer Guide
    |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip] and search the document for ("web.config";). In the section "Configuring your web.config file" follow the instructions specified for setting the resourceURI attribute. This way you can control updates to the viewers when deploying your application.
    Note the resourceURI value is the name of the viewers directory and should be preceded with a Tilde
    ie value="~/crystalreportviewers13"
    Also, have a look at the following two articles. Both are pre CRVS2010, however the ideas re. deploying to a custom app pool still apply. All that changes is the folder name.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • ERROR MESSAGE WHEN USING PACK COMMAND   Missing file ////presenter.css   Also:  "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course."  I have Java enabled in all browsers

    ERROR MESSAGE WHEN USING PACK COMMAND   Missing file ////presenter.css    Command then fails
    Also:  "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course."  I have Java enabled in all browsers
    Thoughts?  Using Presenter 10  Win 8.1  Intel I7  new HP with plenty of memory
                   Thanks

    I had saved one copy as an .asp but then resaved it to .xhtml 
    I'm assuming this is a static web site.  Rename (F2) all your pages with .html or .htm extension. 
    .xhtml is not a valid extension.
    Nancy O.

  • Object required: == Script sap/bw/Mime/BEx/JavaScript/JSBW_C_Std.js

    While my BW developer tries to save the settings for a query, receiving the following error:
    Message: Object required
    Line: 1
    Char: 96075
    Code: 0
    URI: http://FQDN-host:8000/sap/bw/Mime/BEx/JavaScript/JSBW_C_Std.js
    I see that someone else had the same issue:
    Problems integrating 3.x query into a SAP Portal
    but I don't see any solution/resolution!
    I am too able to access this URL directly (I'm able to download the js-file).
    Best regards,
    Tom

    Hi,
    What was the solution for this? We're having the same issue.
    Many thanks in advance
    Eddy

  • Javascript Error : Object Required

    the title sums it up....
    I'VE DONE
    searched the forum, didn't find anything to solve my problem
    and with google this seems to be a symptom for many problems, no
    luck there either.
    there isn't really any component i can play with to
    troublshoot, it's syntax related.
    MY SETUP:
    I'm using javascript and reading an XML document. using a for
    loop, i display all the nodes in the XML and print to the page.
    MY PROBLEM:
    i get the following annoying error after page load:
    Line: 239
    Char: 5
    Error: "Object Required"
    Code: 0
    URL: www.blah.com
    i've pasted the related code.
    line "239", the error is indicated.
    novice web programmer, greatly appreciate any pointers,
    directions, tips, tricks, workarounds etc.

    DanM. wrote:
    > SIMPLIFIED QUESTION:
    >
    >
    > in short, why is this illegal?
    >
    > var titleArray = new Array();
    > for (var x = 0; x < 20; x++) {
    > //BELOW IS LINE 239, THE ERROR****************
    > titleArray[x] = news.childNodes(x).firstChild.text;
    var titleArray = new Array();
    for (var x = 0; x < 20; x++) {
    var TEXT;
    if(TEXT=news.childNodes.item(x).firstChild.data){
    if (TEXT.nodeType == 1){
    titleArray.push(TEXT);
    You may be grabbing white space or another <tag>, not
    text nodes. And
    hard coding the loop max can be a problem too, unless you
    know there are
    exactly 20.
    for (var x = 0; x <news.childNodes.length ; x++)
    Mick
    > }
    >
    > because i commented out everything but those lines, and
    still got the same
    > error.
    >
    >
    >

  • Reg Javascript Error Object required Error

    Hi all,
      I have configured ITS 6.20 and implemented ESS in EP 6.0 SR1. I am getting Javascript Error Object required Error in some browsers when i try to access the ITS pages . What should i do in browser settings in order to resolve this error.
    Thanks
    Vasudevan Gopalan

    Hi all
    Resolved the issue as mentioned in note# 852690 . Thanks
    Regards
    Vasu

  • Problem: Portal Content Structure (Javascript error: object required)

    Hello,
    i have a problem with my Internet Explorer 7 and the Enterprise Portal 6.0 SP 16. After the login, the Navigation Structure of the Portal Content isn't shown, after a while a error message pops up saying: error: object required.
    The Portal is functional in Firefox 3.0 so i suggest that the problem is based on the internet explorer Browser.
    Maybe someone has an idea and can help me resolving this annoying problem. Java from Sun is installed an activated in IE.
    Thank you!
    here a screenshot
    http://s6b.directupload.net/images/081016/oy2nau9e.jpg
    Edited by: Mehmet Apaydin on Oct 16, 2008 10:49 AM

    solved!
    something really timewasting. I just had to add the site as a trusted site in IE. But it only works if you youse the NAME e.g. www.sapportal60:50000/irj/portal, using the ip adress dosn't work and that's what i did in the first place.
    with best regards
    Mehmet Apaydin

  • Error "424 Object Required" when opening journal report using HFM 11.1.2.1

    Hi experts,
    I've installed EPM 11.1.2.1 along with Hyperion Financial Management and Financial Reporting on an virtual machine (OS is windows server 2008),
    when I logon to workspace and tried to open an journal report in HFM-Format, appears error message as follows:
    An error has occurred. Please contact your administrator
    Error Number:424
    Error Description: Object required
    Error Source: Microsoft VBScript runtime error
    Page On which Error Occurred:../reports/CheckStatus.asp
    I've checked oracle support and found article ID 967025.1 describing almost the same issue of mine,
    but the suggested solution was to add workspace and HFM web server to trusted site. (I'm using IE9)
    I did so as well as other recommended browser settings but still the error remains.
    The article said the solution was applied to Version 9.2.0.0 to 11.1.1.3, so I'm not sure if version 11.1.2.1 has other causes or solutions.
    Could experts provide any ideas?

    I believe you might have already done with the below steps, but please reconfirm:
    1) Ensure, that both the Hyperion Workspace URL AND the HFM webservername i.e(Http://<hfmwebservername>/hfm) is added in the sites button in the Trusted sites option. under Security tab.
    2) Here is a list of Internet Explorer settings which are recommended to be set on the client machine:
    1. Configure browser to check for new version every time user visits a page
    * Open Internet Explorer
    * Go to Tools > Internet options > General
    In 'Browsing history' section select 'Every time I visit the webpage'
    * Click Ok, then Apply.
    2. Disable default pop-up blocking
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy tab
    Uncheck 'Turn on Pop-up Blocker'
    3. Add workspace URL to trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted sites from Select a zone to view or change security settings.
    * Type your workspace URL in form http://workspaceserver:portnumber in 'Add this website to the zone'
    * Uncheck 'Require server verification (https:) for all sites in this zone'
    * Click Add, then Close.
    * Click Ok and Apply.
    4. Minimize security setting for trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted Sites from select a zone to view or change security settings
    * Select custom level
    * From Reset to list select Low
    * Click Ok
    * Click Apply, then Ok
    5. Customize security settings
    * Open Internet Explorer
    * Go to Tools > Internet options > Security Tab > Custom Level
    * In 'Miscellaneous' section enable the option "Allow script-initiated windows without size or position constraints"
    * In 'ActiveX controls and plug-ins' section enable “Run ActiveX controls and plug-ins” and “Script ActiveX controls marked safe for scripting.”
    6. Enable option "Always allow session cookies".
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy Tab > Advanced > Check the "Override automatic cookie handling" and accept the first and third party cookies and check the "Always allow session cookies" option.
    7. Disable option "Enable Native XMLHTTP".
    * Open Internet Explorer
    * Go to Tools > Internet options > Advanced Tab > Uncheck the option "Enable Native XMLHTTP"
    If still facing the same issue, perform the below action plan:
    1) Give full permission to Filetransferfolder and try generating the reports.
    2) Add the Everyone user and dcom user to BIPubSystemReports.
    DCOM Config-> BIPubSystemReports-> Security tab-> add the users in Launch and Activation Permission, Access permissions and Configuration Permissions.
    Best regards.

  • "Object Required" error when using the script block from the code behind

    I try to use the following script block on the code behind page
    <script defer='true' id='NavID' type='text/javascript'>Nav();</script>
    and the function Nav() is on the .aspx page. It gives me the "Object Required" error message. BUT if I add an alert("hello!!!") line inside of the Nav() function, it works fine after the user closes the alert box. Has anyone experienced a similar problem? Please help. Thanks.

    There is no way to troubleshoot this by looking at a picture of the diagram. LabVIEW 6 is almost prehistory and many things have changed, especially the file IO all looks different so it is impossible to tell what you are doing.
    Error 7 is file not found, so most likely your string operations are not correct. What are the full strings? What is the final file name (maybe you are missing a "\" or maybe you are on a different OS type). Put an indicator at the path wire to see what's happening!
    Is this a datalog file?
    (Overall, the code is a bit suspect. Nobody needs a seven frame flat sequence. ) Why do a control and an indicator have the same label?)
    LabVIEW Champion . Do more with less code and in less time .

  • Passing complex object from JavaScript to Flex

    Is it possible to call a Flex function (defined with ExternalInterface.addCallback) and pass a complex object from Javascript?  The properties of the object are all simple types, but the object itself is an array of objects.  For example:
    <script type="text/javascript">
    var arrayOfObj = [ { one: "one", two: 2, three: "blah" }, { one: "xyz", two: "abc", three: 3.141 } ];
    callSomeFunctionInFlex(arrayOfObj);
    </script>
    What would I do on the Flex side to make this happen?

    Complex object passing works as expected in Blazeds. 
    There are certain cases where you need to write custom bean proxy classes to marshall an object, but your case is very simple and will not require it.
    Make sure that you set the full java package and class name in your remote alias statement on your client value object.  The class has to be fully qualified.  The AS value object also needs the correct import of the nested value object or you will get a compile error.
    Make sure that the blazeds server has the full class path set to your java objects.
    To debug, you can turn on Blazeds logging in the services-config.xml file like this:
       <logging>
            <!-- You may also use flex.messaging.log.ServletLogTarget -->
            <target class="flex.messaging.log.ConsoleTarget" level="DEBUG">
                <properties>
                    <prefix>[BlazeDS]</prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>true</includeLevel>
                    <includeCategory>false</includeCategory>
                </properties>
            </target>
        </logging>

  • Is this BUG or Feature of APEX 4.0.1 - Any expert please help to answer

    Try this to stimulate the BUG or Feature
    - Development -
    1. Create Basic Master Detail with tabular form
    2. Create a basic LOV and display NULL -> RETURN NULL
    - Run -
    1. Run the Page click "ADD ROW"
    2. Do not enter any data into the tabular
    3. Click on Apply Changes
    Apex smart enough to know user do not want to add anything very nice....
    now... observe this
    - Development -
    1. Modify the LOV, remove the display NULL, so it will show first value of the LOV
    - Run -
    1. Run the Page click "ADD ROW"
    2. Do not enter any data into the tabular
    3. Click on Apply Changes
    Apex don't bother to test all validations straight to GIGO and end user see those ORA-.
    I have a page that the tabular form has a default value (not LOV but default value) the validation is not working, GIGO....
    Any expert please explain is this suppose how Apex work? or do we need to handle those default value.
    I try to debug the page with good one and bad one, I think I still have a lot to learn I don't understand the debug message. I guess is something about Branching....
    Siere

    Hi,
    Unfortunately there isn't really much that could be done to work around this issue in 4.0.x. The validation logic treats these new rows as not having been touched by the user, hence they are ignored. But the DML (update/insert) logic thinks the data did change due to that default value, and thus attempts an insert for the new row. There might be a way to trick APEX into doing the right thing with some JavaScript, but I would advice against that, considering that this might break after a future upgrade.
    Regards,
    Marc

  • Script throwing error" Object required: 'API'

    Hi All,
    We need help in one issue. We have following script which is running fine when we ran it from script editor, but when use this as expression in import format is throwing error
    Error: An error occurred importing the file.
    Detail: Object required: 'API'
    At line: 12
    Script:
    Function ME_to_LE(strField, strRecord)
    ME_to_LE =API.SqlMgr.fMapItemLookup (749, "UD8", Left(strField,3))
    End Function
    We have created few other Scripts which are running fine and producing required result when we check them with MsgBox. But when we are using these scripts in import format it is saying: Object required: 'API'
    IF I can not use API object in import script, how can I process multiple column with one script. We need to derive three-four column based on one input column and we don't want to write separate import script for each column. How and where we can write this script?
    Are we missing any step? Any help will be highly appreciated. Looks I asked long question :)
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 9:30 AM
    Edited by: shiv2 on Sep 16, 2011 10:36 AM

    Hi Robb,
    "It looks like you and James are on the same project" That is correct.
    OK. In requirment we have three-four column based on these column we need to derive few other column. We want to do spilitting and validation in Import itself. This is mainly a Validation requirment.
    There is one column which may have 12,13,14,17 or any other number of character in it. first three will represent one dimension but exact value be a mapped result based on these three digits.
    There are many validation based on the number on charaters and most importantly we don't want to process other column is validation get failed at any stage.
    Do we have anything like Import Action? Probably we want to change that script. Or if we can write something like integration script. We need every column to be processed in one shot.
    I don't think it is self explantry. Can we have your email please?
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 8:52 PM

  • Object Required

    I did this page so family and friends can see our trip
    http://www.michaelsondesign.com/camp/camp.html
    - I am getting an Object Required error message - says line 59
    I can't seem to find what its looking for
    the script came from this page:
    http://www.dhtmlgoodies.com/scripts/image-slideshow-vertical/image-slideshow-vertical.html
    Thanks
    Rob

    There's no such error on that page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "BOC_RUSH" <[email protected]> wrote in
    message
    news:g4ri1v$djs$[email protected]..
    >I did this page so family and friends can see our trip
    >
    http://www.michaelsondesign.com/camp/camp.html
    - I am getting an Object
    > Required error message - says line 59
    >
    > I can't seem to find what its looking for
    >
    > the script came from this page:
    >
    http://www.dhtmlgoodies.com/scripts/image-slideshow-vertical/image-slideshow-ver
    > tical.html
    >
    > Thanks
    > Rob
    >
    >

Maybe you are looking for

  • Sustain pedal in Logic 8

    Hello, I am from Russia. Recently i upgraded my OS to Leopard and my sustain pedal in Logic 8 stopped working. Can anyone please help me with advice? What can i do about it?! Thank you.

  • How to use Flex tag library in jsp

    Hi All, We are planning to use flex in our J2EE application in order to show some charts. Our j2ee application is in JSP,Struts. I have searched on google about this and found that I can include flex 3 tab library in the jsp in order to use mxml tag

  • Backing up music to external hard drive

    How do I transfer my music from iTunes to an external hard drive so I have it saved there?

  • Billing changes

    My bill is normaly between 175.00 to 225.00 a month with 3 lines friends and family....my self and my daughter have 1000 text mgs each a month and my hubby has the 7pm option.my daughter had gotten a new phone in nov 24,2010.i  informed them i want t

  • PDF signature timestamp problem

    Hi, sorry if this post is slightly offtopic. We are trying to sign and timestamp pdf documents in java (using Apache PDFBox) and we are stuck with a problem for more than a week. The signature itself is good, Adobe Reader can validate it succesfully