Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: another frame problems(frame synchronization)
jimdy
Junior Member

Posts: 4
Registered: 7/31/2003
Member Is Offline
posted on 8/6/2003 at 02:39 PM Reply With Quote
another frame problems(frame synchronization)


The menu gives an error when I used in nested frames(I'd think it happens in simple frame setting too). I belive its because some frame finish loading before the others. I don't know which frame has to load first. I tried to use settimeout() javascript function to change the loading order but I havn't got it to work yet. It seems to me the frame stops loading when it encounters a javascript error.
View User's Profile View All Posts By User U2U Member
jimdy
Junior Member

Posts: 4
Registered: 7/31/2003
Member Is Offline
posted on 8/6/2003 at 05:26 PM Reply With Quote

I believe this can be solved with some javascript to force frame loading sequence. However that would be ugly, are there any other way to do it?
View User's Profile View All Posts By User U2U Member
juhaszgabor
Junior Member

Posts: 2
Registered: 9/18/2003
Member Is Offline
posted on 9/18/2003 at 01:26 PM Reply With Quote

Yes,

I have the same problem and I think
it's wrong in Tigra Menu Gold.

G
View User's Profile View All Posts By User U2U Member
juhaszgabor
Junior Member

Posts: 2
Registered: 9/18/2003
Member Is Offline
posted on 9/18/2003 at 04:01 PM Reply With Quote

Hi !

Frame synchronization:

Before loading menuframe (it contains menu), you have to load it:

example:

<SCRIPT language=JavaScript>

function start()
{
frameset = [['frame_menu'], 'frame_main.frame_left','frame_main.frame_right']]


if (checkLoading(frameset))
{
document.location="menuframe.html"
}
else
{
setTimeout(start,500)
}
}


/**/function checkLoading(frameset)
{
var ok=true;

try
{
for(t in frameset)
{
for(i in frameset[t])
{
if (!eval('parent.'+frameset[t][i]).loaded)
{
throw ReferenceError;
}
}
}
}
catch(e) { ok=false; }

return ok;
}

start();

loaded=true

</SCRIPT>

and insert "loaded=true" into the end of each frame.

G
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004