JavaScript Problem
From: Andrew (cannon.andrew_at_saugov.sa.gov.au)
Date: 03/03/04
- Next message: wan: "Add Listing To Portal Area"
- Previous message: Tamara: "Newbie ? How much time to install & configure?"
- Messages sorted by: [ date ] [ thread ]
Date: 2 Mar 2004 16:35:15 -0800
I am having a problem with some JavaScript code which is being most
unco-operative.
Basically the code displays or hides a div in response to an onclick
event.
As soon as I ad this code the CDATA section, I get:
"This error may be due to the current dashboard proxy server setting,
which can be changed using the proxycfg tool. Consult the product
documentation or your administrator for more information."
===============================================================
function showHide(){
if(document.all){if(showHide.arguments.length>0){
s=document.all(showHide.arguments[0]);
s.style.display=(s.style.display=='')?'none':''}
else{for(i=0;i<document.all.tags("div").length;i++){
s=document.all.tags("div")[i];
if(s.id.indexOf('layer')==0)s.style.display='none';}}}}
===============================================================
In an html page, there is a call to this function which sets all the
divs to hidden. I was wondering if this may be the cause of the
problem as there is no body tag in the xsl sheet, where do I now put
that call?
Can anyone suggest an alternative method to show/hide |
expand/collapse data?
TIA
Andrew
- Next message: wan: "Add Listing To Portal Area"
- Previous message: Tamara: "Newbie ? How much time to install & configure?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|