L
lindsey.crocker
I have a problem calling a framset from javascript - I will explain as
best I can.
I have a site with 2 frames. Left frame contains a javascript menu.
Right frame contains the page and a scrolling javascript news item.
I want to have a function on my scroller that when clicked on it calls
the frameset for the news area and it replaces the entire current
frameset.
Code on the scroller that calls the page is as follows...
/*---------------------------------------------
Scrolling Message Settings
-----------------------------------------------*/
desc0 = "<b>intuita's</b> current newsletter is now available. <font
color='#000099'><strong> more...</strong></font>"
hldesc0 = "<u><b>intuita's</b> current newsletter is now available.
<font color='#000099'><strong> more...</strong></font></u>"
desturl0 = "JavaScriptpenWin('pop_up_1.htm')"
delay0 = 5
autofit0 = "start"
addheight0 = 30;
autofit0 = "end"
//fontweight0 = "bold"
//fontfamily0 = "Arial"
desc1 = "<b>Click Here</b> to take a look at our new press area.<font
color='#000099'><strong> more...</strong></font>"
hldesc1 = "<u><b>Click Here</b> to take a look at our new press
area.<font color='#000099'><strong> more...</strong></font></u>"
desturl1 = "newsdis.htm"
delay1 = 5
autofit1 = "start"
addheight1 = 30;
autofit1 = "end"
The problem I have is when i call the framset for the news area
(news_frame1.htm)the entire frameset is placed into the right frame so
i end up with 2 menus. If i call the actual news page newsdis.htm the
menu in the left frame isn't replaced and so I have a menu that doesn't
match the page.
How do i call a frameset from the right frame that replaces the entire
page??
My frame names are "leftframe" and "mainframe".
Any help on this would be greatly appreciated.
Thanks
Lindsey
best I can.
I have a site with 2 frames. Left frame contains a javascript menu.
Right frame contains the page and a scrolling javascript news item.
I want to have a function on my scroller that when clicked on it calls
the frameset for the news area and it replaces the entire current
frameset.
Code on the scroller that calls the page is as follows...
/*---------------------------------------------
Scrolling Message Settings
-----------------------------------------------*/
desc0 = "<b>intuita's</b> current newsletter is now available. <font
color='#000099'><strong> more...</strong></font>"
hldesc0 = "<u><b>intuita's</b> current newsletter is now available.
<font color='#000099'><strong> more...</strong></font></u>"
desturl0 = "JavaScriptpenWin('pop_up_1.htm')"
delay0 = 5
autofit0 = "start"
addheight0 = 30;
autofit0 = "end"
//fontweight0 = "bold"
//fontfamily0 = "Arial"
desc1 = "<b>Click Here</b> to take a look at our new press area.<font
color='#000099'><strong> more...</strong></font>"
hldesc1 = "<u><b>Click Here</b> to take a look at our new press
area.<font color='#000099'><strong> more...</strong></font></u>"
desturl1 = "newsdis.htm"
delay1 = 5
autofit1 = "start"
addheight1 = 30;
autofit1 = "end"
The problem I have is when i call the framset for the news area
(news_frame1.htm)the entire frameset is placed into the right frame so
i end up with 2 menus. If i call the actual news page newsdis.htm the
menu in the left frame isn't replaced and so I have a menu that doesn't
match the page.
How do i call a frameset from the right frame that replaces the entire
page??
My frame names are "leftframe" and "mainframe".
Any help on this would be greatly appreciated.
Thanks
Lindsey