Click to See Complete Forum and Search --> : javascript / htmls frames help!!


mgm
02-05-2004, 05:54 AM
i have two frame based page..

Top frame has a layer.. in fact 2 layers ( using div tags )

One clicking a link in the top frame.. bottom frame is loaded with a new page... and in the onload of the new page the top frame's layer is replaced with a new content.

[[[[[ One clicking a link in the top frame.. a function is called.. to load a appropriate page into the bottom page...and in the onload of the new page.. a function is called
which replaces a new content into the top frame.. ]]]]]

Now the problem.. these things WORKS>>> PERFECT.. but.................... the progress bar at the botttom of IE shows .. that is loading .. (the blue color progresses..
and it not ending and even when we press the stop notthing happens to the progress,, )

Why this happening.. ????????

I change the content of the layer using the code...
top.TopMenu.document.all['firstMenuDiv'].innerHTML = createfirstMenuNew( mNo );

I change the bottom frame with a new page using:
top.MainContent.location.href = homeMenuList[smNo-1]["contentRef"];

VERY WEIRD..

the layer is like a menu (horizontal menu)...
SOMETIMES WE GET THIS PROBELM...
AND THIS PROBLEM IS NOT FIXED TO ANY PAGE....

I use only one JS file for all the page
<SCRIPT SRC="/js/CD_MenuBar.js"></SCRIPT>

mgm
02-05-2004, 05:56 AM
Originally posted by mgm
i have two frame based page..

Top frame has a layer.. in fact 2 layers ( using div tags )

One clicking a link in the top frame.. bottom frame is loaded with a new page... and in the onload of the new page the top frame's layer is replaced with a new content.

[[[[[ One clicking a link in the top frame.. a function is called.. to load a appropriate page into the bottom page...and in the onload of the new page.. a function is called
which replaces a new content into the top frame.. ]]]]]

Now the problem.. these things WORKS>>> PERFECT.. but.................... the progress bar at the botttom of IE shows .. that is loading .. (the blue color progresses..
and it not ending and even when we press the stop notthing happens to the progress,, )


Why this happening.. ????????

I change the content of the layer using the code...
top.TopMenu.document.all['firstMenuDiv'].innerHTML = createfirstMenuNew( mNo );

I change the bottom frame with a new page using:
top.MainContent.location.href = homeMenuList[smNo-1]["contentRef"];

VERY WEIRD..

the layer is like a menu (horizontal menu)...
SOMETIMES WE GET THIS PROBELM...
AND THIS PROBLEM IS NOT FIXED TO ANY PAGE....

I use only one JS file for all the page
<SCRIPT SRC="/js/CD_MenuBar.js"></SCRIPT>

PLEASE.. SOME ONE TELL WHY THIS HAPPENS.....