Jump to content

Hidden TR is now displaying correctly in mozilla


ravipardeshi

Recommended Posts

Open All Forms

 /

>

" alt="Open Forms" src="" style="cursor:hand" onclick="showHideAttachment(,'image','')">

 

','','')" class="hand">

','','')" class="tblrow-sp" style="text-decoration:none" class="hand">

 

 

javascript functions -->

 

function loadForms()

{

var i=0;

document.getElementById("row"+i).style.display="block";

document.getElementById("row"+i).style.position = 'relative';

document.getElementById("row"+i).style.overflow = 'auto';

document.getElementById("row"+i).style.position = 'relative';

document.getElementById("row"+i).style.display="none";

document.getElementById("row"+i).style.position = 'relative';

document.getElementById("row"+i).style.overflow = 'auto';

document.getElementById("row"+i).style.position = 'relative';

i++;

}

function showHideAllAttachments()

{

if(document.getElementById("imageMain").alt == "Open All Forms")

{

document.getElementById('image').alt = "Open Forms";

showHideAttachment(,'image','');

document.getElementById("imageMain").alt="Close All Forms";

document.getElementById("imageMain").src="";

}

else

{

document.getElementById('image').alt = "Close Forms";

showHideAttachment(,'image','');

document.getElementById("imageMain").alt="Open All Forms";

document.getElementById("imageMain").src="";

}

}

function showHideAttachment(primaryId,imgId,formGroup)

{

var attachId;

var attachCnt = 0 ; //getFormCount(formGroup);

 

if('' == formGroup){

attachCnt++;

}

 

if(document.getElementById(imgId).alt == "Open Forms")

{

var count = parseInt(primaryId) + 1 ;

for( i=count; i< (count + attachCnt);i++)

{

document.getElementById("row"+i).style.display="block";

document.getElementById("row"+i).style.position = 'relative';

document.getElementById("row"+i).style.overflow = 'auto';

document.getElementById("row"+i).style.position = 'relative';

}

document.getElementById(imgId).src="";

document.getElementById(imgId).alt="Close Forms";

}

else

{

var count = parseInt(primaryId) + 1 ;

for( i=count; i<(count + attachCnt);i++)

{

document.getElementById("row"+i).style.display="none";

document.getElementById("row"+i).style.position = 'relative';

document.getElementById("row"+i).style.overflow = 'auto';

document.getElementById("row"+i).style.position = 'relative';

}

document.getElementById(imgId).src="";

document.getElementById(imgId).alt="Open Forms"

}

 

}

Link to comment
Share on other sites

You'll just have to be patient... I've taken a look at it, but this goes beyond my experience (I believe this is written using JSTL? and I know very little about it) so someone else will have to take a look at it.

 

If anyone else is confused, look at

http://www.exampledepot.com/egs/javax.servlet.jsp.jstl.core/if.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...