I am using version: 3.3.19
I am using a three frame page, head, nav and main.
When I add target=main my descriptive text for the
link disappears and IE6 and NS7 complain of errors
on the page. I'd like to be able to use both the descriptive
text and the fames. Any ideas?
addmenu(menu=["examples",
,,113,1,"",style1,,"left","randomdissolve(duration=0.5);Shadow(color='#ffffff', Direction=135, Strength=5)",0,,,,,,,,,,,
,"FAQ db","examples/db_faq/index.html target=main",,"An Excellent FAQ db example.",1
,"Ticket Tracking db","examples/db_tt/index.html",,"Super Performing Ticket Tracking db",1
,"Sales Calls db","examples/db_sc/index.html",,"Never Forget or Lose A Sale Again",1
])
===============================================
Using Frames, submenu link description non-functional.
- trytrix
- Super Advanced
- Posts: 92
- Joined: Thu Sep 26, 2002 9:46 pm
- Location: Flanders / Belgium
- Contact:
Hi,
Some things are easier to understand if they can be seen..
Cheers,
Trytrix
Some things are easier to understand if they can be seen..
Cheers,
Trytrix
You're Never Fully Dressed Without A
Smile !
"From
Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be

"From

To be seen ..
A three frame page:
<html>
<head>
<title>A Three Frame Page</title>
<script LANGUAGE="Javascript">
<!--
top.location.target="_top"
if(window.location.target!="_top"){
top.location.href=window.location.href
}
//-->
</script>
</head>
<frameset rows="15%,18%,*" border="0" noresize>
<frame name="head" src="head.html" scrolling=no>
<frame name="nav" src="nav.html" scrolling=no>
<frame name="main" src="main.html" scrolling=auto>
</frameset>
<noframes>using frames</noframes>
</html>
The menu is in the nav frame and the submenu links point to main menu.
"something-or-other.html target=main"
.. or like I posted earlier ...
addmenu(menu=["examples",
,,113,1,"",style1,,"left","randomdissolve(duration=0.5);Shadow(color='#ffffff', Direction=135, Strength=5)",0,,,,,,,,,,,
,"FAQ db","examples/db_faq/index.html target=main",,"Example of a FAQ db",1
,"Ticket Tracking db","examples/db_tt/index.html",,"Example of a Super Power Ticket Tracking db",1
,"Sales Calls db","examples/db_sc/index.html",,"Never Forget or Lose A Sale Again",1
])
if you don't understand .. it's OK .. neither do I.
I'm just following the instruction on the FAQ page regarding targeting frames.
Pest
<html>
<head>
<title>A Three Frame Page</title>
<script LANGUAGE="Javascript">
<!--
top.location.target="_top"
if(window.location.target!="_top"){
top.location.href=window.location.href
}
//-->
</script>
</head>
<frameset rows="15%,18%,*" border="0" noresize>
<frame name="head" src="head.html" scrolling=no>
<frame name="nav" src="nav.html" scrolling=no>
<frame name="main" src="main.html" scrolling=auto>
</frameset>
<noframes>using frames</noframes>
</html>
The menu is in the nav frame and the submenu links point to main menu.
"something-or-other.html target=main"
.. or like I posted earlier ...
addmenu(menu=["examples",
,,113,1,"",style1,,"left","randomdissolve(duration=0.5);Shadow(color='#ffffff', Direction=135, Strength=5)",0,,,,,,,,,,,
,"FAQ db","examples/db_faq/index.html target=main",,"Example of a FAQ db",1
,"Ticket Tracking db","examples/db_tt/index.html",,"Example of a Super Power Ticket Tracking db",1
,"Sales Calls db","examples/db_sc/index.html",,"Never Forget or Lose A Sale Again",1
])
if you don't understand .. it's OK .. neither do I.

Pest
- trytrix
- Super Advanced
- Posts: 92
- Joined: Thu Sep 26, 2002 9:46 pm
- Location: Flanders / Belgium
- Contact:
Hi,
You forgot the "sourceframe=" after the 'target=main;" !
Cheers,
Trytrix
You forgot the "sourceframe=" after the 'target=main;" !
Code: Select all
,"FAQ db","examples/db_faq/index.html target=main;sourceframe=main",,"Example of a FAQ db",1
Trytrix
You're Never Fully Dressed Without A
Smile !
"From
Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be

"From

RE:
Thanks. I appreciate it. We'll see if it works.
On another note, the frame targeting example in the FAQ pages here on this website doesn't show a [;sourceframe=the_target+frame.html] anywhere. A tremendous pile of agrivation could have been avoided if the frame targeting instructions in the distribution and the FAQ section of this website held that information. Golly, I could have had a working demo for myself yesterday. Out of frustration I used a different, plain old html, setup. Now I'm going to have to start over. If it works .. I pay money for the license. If not .. then I guess I'll just keep seaching ... down that long lonesome trail ...
Once again thank you very much.
pest
On another note, the frame targeting example in the FAQ pages here on this website doesn't show a [;sourceframe=the_target+frame.html] anywhere. A tremendous pile of agrivation could have been avoided if the frame targeting instructions in the distribution and the FAQ section of this website held that information. Golly, I could have had a working demo for myself yesterday. Out of frustration I used a different, plain old html, setup. Now I'm going to have to start over. If it works .. I pay money for the license. If not .. then I guess I'll just keep seaching ... down that long lonesome trail ...
Once again thank you very much.

pest
If I may be so bold as to add a few things:pest wrote:...the frame targeting example in the FAQ pages here on this website doesn't show a [;sourceframe=the_target+frame.html] anywhere. A tremendous pile of agrivation could have been avoided...
First, just to be sure anyone who is interested is clear on the use of the target and sourceframe settings... The syntax from the above quote, ";sourceframe=the_target+frame.html", implies that sourceframe indicates the name of an html document to load. Not so. The sourceframe is the name of a frame, not a document. Here's how I think of it... sourceframe specifies the name of the frame containing the document where the menu you want to open is defined; target specifies the name of the frame where you want the called menu to appear. Like so:
Code: Select all
,"Languages","show-menu=languages target=main;sourceframe=main",,"#",1
Second, in defense of the excellent examples on the milonic.com site, the frames example does, in fact, illustrate the use of both target and sourceframe; it has for quite some time (at least since I used it to figure out how to use the menus with frames). These illustrations appear in the example code that you can download from the example page, as well as in the .js files that define both the header menu and the side menu used on the example page itself. The snippet of code that you see above was copied directly from the examples you can download from the frames page. Not trying to stir something up... just wanting to make sure the facts are clear.

Two last points, specifically for pest... (1) You mentioned that you were using v3.3.19. That was one of the earliest frames versions, from April, 2002. There have been several additions or bug fixes specific to frames since then. If you want, you can get the latest version here. (2) You might also want to check out the Frames_Top_Offset and Frames_Left_Offset values that you'll see at the top of the variuos xxx_array.js files used in the frames examples. These may be necessary to offset the position of your submenus, to make sure they line up properly with the main menu's calling item.
Regards,
Kevin