Home
Extended ECM
API, SDK, REST and Web Services
Livelink Explorer and Javascript
ATHANASSIOS_FAMELIARIS
Hello all!I'm having some problems with LL explorer, as is cannot display some pages of mine that use javascript. More specifically, it does not have problems with showing popups after the page has loaded, but it cannot show the popup ONLOAD. Also, it does not like fuctionds that change the HTML dynamically. There are two such cases: I use javascript to implement a tabed menu and to add fields dynamically when a button is pressed.In all three above cases, when a button/link is pressed that calles the function, the LL explored displays just a white screen. This is strange, as I'm not even reloading the page. These funcitons change HTML dynamicallyIsn't the LL explorer using the IE engine? If so, why does it not function like IE? Is there a setting I must adjust for this to happen maybe?Thanks in advance!Ys
Find more posts tagged with
Comments
Greg_Griffiths_(greggriffiths_-_(deleted))
Do you have some samples you could share ?
ATHANASSIOS_FAMELIARIS
Here's a big one, the important part is the last two lines. Im appending two TR javascript DOM objects to some other TR in my html with ID="hello". This fucntion is called via an anchor with href="javascript:AddItem(0)". Any more thoughts?var counter = 0function AddItem(current) { var rows = new Array(20); tr1 = document.createElement("tr"); tr2 = document.createElement("tr"); counter++; tr1.id = "hello" + counter; tr2.id = "hello" + counter; td1 = document.createElement("td"); td2 = document.createElement("td"); td3 = document.createElement("td"); td4 = document.createElement("td"); td5 = document.createElement("td"); td6 = document.createElement("td"); td7 = document.createElement("td"); td1.className = "label"; td2.className = "labelVerticalDividerRight"; tr2.className = "horizontalCellDivider"; td6.className = "labelHorizontalDivider"; td7.className = "valueHorizontalDivider"; var str = "javascript:RemoveItem("+counter+")" newitem1 = "
"; //newitem2 = ""; newitem2 = "
"; newitem3 = ""; newitem4 = "
"; newitem5 = "
"; newitem6 = "
"; newitem7 = "
"; td1.innerHTML = newitem1; td2.innerHTML = newitem2; td3.innerHTML = newitem3; td4.innerHTML = newitem4; td5.innerHTML = newitem5; td5.id="id" td6.innerHTML = newitem6; td7.innerHTML = newitem7; tr1.insertBefore(td5, null); tr1.insertBefore(td4, td5); tr1.insertBefore(td3, td4); tr1.insertBefore(td2, td3); tr1.insertBefore(td1, td2); tr2.insertBefore(td7, null); tr2.insertBefore(td6, td7); var prevID="hello"+current if(current==0){ prevID="hello" } var hello = document.getElementById("hello"); hello.appendChild(tr1); hello.appendChild(tr2);}