Hello and thank you to all for getting me this far. I have searched the past articles on this site to create my script so far but have reached an empass(sp?). My problem is very simple I am working on a menu selector. The code generates a seven day calendar that is put in the first row of a 1 column 2 row webpage. When you click on a day in the calendar it will select a menu webpage and place it in row 2.
Everything is working except for the following code.
function createlink (summer) {
var menuweek = 0;
var corday=”mon”;
var Day=new Array();
Day[0]=”sun”;
Day[1]=”mon”;
Day[2]=”tue”;
Day[3]=”wed”;
Day[4]=”thu”;
Day[5]=”fri”;
Day[6]=”sat”;
if (day+offset<7)//day is a variable loaded from elsewhere
{
corday=Day[day+offset];
}
else
{
corday=Day[day+offset-7];
}
return (“
document.URL= createlink(5);
My problem is that the last line calls the webpage and takes over the entire browser instead of placing it in the second row of the current browser. Is there a location tag or something that I can force it to go where I want in a given table on the current page?
PS I wanted to include the rest of the code but it is too big.
Thanks