Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-05-2007, 11:27 AM   PM User | #1
confused html
New Coder

 
Join Date: Feb 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
confused html is an unknown quantity at this point
javascript target frame in foldoutmenu

Hello

I am using foldoutmenu3 within a website that contains frames. The page has two frames; left.html and right.html. Their frame names are also called left and right.

foldoutmenu3 is situated within left.html and i am trying to get it to open a page called new.html in the right frame. I have attempted many different ways but i just cant seem to get it to work. I dont know if its not working properly because i am writing within another javascript code already?

The new.html will open, only in a new page entirely and not in the desired 'right' frame. The designer of the page has left these instructions above the code that opens the menus/submenus but i dont think that im making proper sense of it.

Any help would be really greatly appreciated.

Many thanks -tim

++++++++++++++++++++++++++++

//Making menus

/*ARGUMENTS:
type = what type of menu this item is (top,sub,sub2,sub3,sub4,sub5)
text = the text for the item
lnk = the link for the item (not needed if submenus)
target = the target for the link (not needed if no target or no link)
offimage = the default "arrow" image for this element (if you spesify no text, you can use the image only)
onimage = the image to swap to when clicked (not needed if you don't want a swap image)
fc = if you want the item to execute another javascript function aswell use this
opn = if you want this particilar item to be opened on load set this to 1 (0,1)
*/


//MAIN 1
oFoldMenu.make('top','FURNITURE',0,0,'images/arrow.gif','images/arrow1.gif')
oFoldMenu.make('sub','MENU1',0,0,'images/arrow.gif','images/arrow1.gif')
oFoldMenu.make('sub2','SUBMENU1','NEW.htm','images/arrow.gif','images/arrow1.gif')
confused html is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:56 PM.


Advertisement
Log in to turn off these ads.