function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
krish99krish99 

call two vf pages at single call

 

Hi,
 
            I have 2 visualforce pages ....i.e Page1,Page2 ... when i open  Page1 means after 1min automatically page2 must me populate in as a chat box..at one corner..in page1. 
how it is possible..
which technique i have to use..
Best Answer chosen by Admin (Salesforce Developers) 
Arun MKArun MK

Hi,

 

In your visualforce page Page1, have a javascript like this.

 

setTimeout(openUrl,60000);// Wait 1 minute

function openUrl(){ window.open(page2URL);

}

 

set page2URL to the Visualforce Page Page2 URL.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

 

Regards,

Arun.

All Answers

Arun MKArun MK

Hi,

 

In your visualforce page Page1, have a javascript like this.

 

setTimeout(openUrl,60000);// Wait 1 minute

function openUrl(){ window.open(page2URL);

}

 

set page2URL to the Visualforce Page Page2 URL.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

 

Regards,

Arun.

This was selected as the best answer
krish99krish99

@Arun..

 

Thanq For...giving reply...u help me lot..