SmartMenus DHTML Menu / JavaScript Menu - Forums

forums

You are not logged in.

#1 2004-Aug-11 20:16:52

galvin
Member
Registered: 2004-Aug-11
Posts: 1

frames

I a newb to sm
I am using frames, and using s_target="main" so that each link comes out to the main frame, but it only works for one link, then i have to refresh
the browser to get it to work for another link on the menu.
I dont know what else could be wrong other than the s_target thing,
the site works fine opening everything in new windows.
if you wanna look at the site,
http://www4.ncsu.edu/~jgpucket
thanks in advance.

Offline

 

#2 2004-Aug-12 05:50:35

smartmenus
Site Admin
From: Plovdiv, BULGARIA
Registered: 2003-Feb-23
Posts: 1109
Website

Re: frames

Hi,

You have to add the link to s_loader.js in all pages that will be loaded in the bottom frame (in your case 081104.htm, qself.htm, qLewis.htm, qother.htm and so on...). The link looks like this:

<script language=JavaScript1.2 src=s_loader.js></script>

And also don't forget to add in the head section of the same pages the following code:

<script language=JavaScript>
function s_show(){return false}
function s_hide(){return false}
if(window.event+''=='undefined')event=0
</script>

You should set s_target='self' if you want the links from the menu to load in the bottom frame.

Let me know if you have any further problems. Thanks! smile


-Vasil Dinkov-

Offline

 

Board footer

Powered by FluxBB