This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > March 2004 > How to refresh other frame ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to refresh other frame ?
duckwong

2004-03-12, 3:25 am

I have 2 frame in a page. Frame 1 is the location of the vrml file. If I click a link in the vrml file can I update page in frame 2 ?


Does anyone can give some example or code ?

Thx so much
Eckhard M. J?ger

2004-03-13, 7:28 am

Try this in combination with a TouchSensor:

....

DEF ts01 TouchSensor {}

....

DEF sc01 Script{
eventIn SFTime framechg

function framechg (){
url= new MFString ('#page.html');
tgt = new MFString ('target=#frame');
Browser.loadURL (url, tgt);
}
}
ROUTE ts01.touchTime TO sc01.framechg

::VRMLsuck::Bart
http://www.neeneenee.de/vrml/
http://www.neeneenee.de/vrml/forum/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews