PDA

View Full Version : Need Help On A Menu Script


Michael_Cy
10-21-2000, 07:04 PM
I Wonder If Anyone Could Help Me With Telling Me How I Make Links On Menu Scripts Open In A New Window Or Another Frame. To Be Exact, I Am Using The Hierarchical Menu Script.

Thanks.

Ian
10-31-2000, 01:48 AM
Hi,
Um, I'm not sure about this as I have not tried it, but in the List.js file contained with the script you will find (near the bottom).

function ListRedirect() {
location.href = this.value

try changing this to:
function ListRedirect() {
parent.YOURFRAMENAME.location.href = this.value

where YOURFRAMENAME = the name of your frame.

that should work for frames, but as I say, I have not set up an example to try it. (yet)
Hope this helps.

------------------
Ian

Web Development - BIG Resources Inc
Head Guide - 123Webmaster.com (http://www.123webmaster.com/)
ian@123webmaster.com
BIG Resources.com (http://www.bigresources.com)
ICQ: 25828668