PDA

View Full Version : Hvmenu, Nortree and ask jeeves issue


skinnybloke
09-Dec-2003, 03:39 PM
Hi - I am not sure which section this should be in (if any) but here goes.

On one of my sites I use the HVMENU javascript routine found at www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm.

I am also aware that Norman Rouxel uses this routine as the base for NORTREE - see http://www.rouxel.cwc.net/nortree/index.html

If you go to Ask Jeeves at www.ask.co.uk and search for sites, it displays the search results within a frame. If you click on a link the resultant page is also displayed within a frame. If that page uses the HVMENU routine, the HVMENU options are not displayed.

There is an option on the top right of the Ask Jeeves screen that allows you to remove the frame to see the screen as it should be.

For example, search on "cyan teak garden furniture" and click what is about the 4th option down "from cyan-uk.co.uk" to see the missing options, and then click on the remove frame option to see the options.

This also happens with the Nortree examples on Norman's page mentioned above.

Does anyone know why this happens?

skinnybloke
09-Dec-2003, 03:59 PM
Hi - I've just found a forum site for dynamicdrive from which HVMENU comes from. So for those that may be interested I have posted the same question there at this URL:

http://codingforums.com/showthread.php?s=&threadid=29959

skinnybloke
10-Dec-2003, 10:51 AM
For anyone who is interested I was given this reply on codingforums which works:

Set these variables in the HVMENU parameter file menuvar.js:

var FirstLineFrame="";
var SecLineFrame="";
var DocTargetFrame="";

NormanRouxel
10-Dec-2003, 11:58 AM
Set these variables in the HVMENU parameter file menuvar.js:

var FirstLineFrame="";
var SecLineFrame="";
var DocTargetFrame="";

Hmmm... NorTree sets these to "self" rather than null. That's as per the HV_Menu documentation.

If you want to change these in Nortree they're on the Framed Pages tab.

If someone is able to test this please let me know if it works Ok.


Norman