help...

P

psychomad

hi,

i'm trying to display a page using a menu created using javascipt.
The problem is that when i click on the menu, it shows the page in the
menu frame. I've tried using the 'target' to target it to the Main
Frame but it is not working. Help plz...





fixMozillaZIndex=true;
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777',
Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
}

with(psychomad=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
overflow="scroll";
style=menuStyle;
top=175;
aI("text=Home;url=home.htm;target=mainFrame;");
aI("text=Available Stocks;url=http://www.yahoo.com;");
aI("text=About Us;url=http://www.yahoo.com;");
aI("text=Contact Us;url=http://www.yahoo.com;");
aI("text=Sitemap;url=http://www.yahoo.com;");
aI("showmenu=Car Gallery;text=Car Gallery;");
aI("text=Incoming Stock;url=flash_pro.htm;");
}

drawMenus();
 
P

psychomad

hey mate,

just gimme an idea of how to include the targetted frame into the
code below:

aI("text=Available Stocks;url=http://www.yahoo.com;");

this will really help. And if possible gimme as much
solution you can.
& for your kind info, i'm new in the javascript domain...I've been
working with the .Net Platform and i'm just a beginner in all these
languages but i try to help myself as much as i can. In the .Net
forums, the others were real kind and helped me very much, sometimes
giving me the solutions or sometimes lighting my way!!!

Thx
 
R

rf

psychomad said:
hey mate,

just gimme an idea of how to include the targetted frame into the
code below:

aI("text=Available Stocks;url=http://www.yahoo.com;");

this will really help. And if possible gimme as much
solution you can.
& for your kind info, i'm new in the javascript domain...I've been
working with the .Net Platform and i'm just a beginner in all these
languages but i try to help myself as much as i can. In the .Net
forums, the others were real kind and helped me very much, sometimes
giving me the solutions or sometimes lighting my way!!!

Thx


Keep working on it -Lost :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,881
Members
47,418
Latest member
NoellaXku

Latest Threads

Top