View Full Version : Mouseover Tabs Menu without using an external file

07-04-2010, 04:34 PM
1) Script Title: Mouseover Tabs Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/mouseovertabs.htm

3) Describe problem:
It's great script but I'm having trouble integrating it with wordpress using dynamic elements.

I can't get the submenucontents.php (changed from .htm) to pull records from the database using wordpress functions. Is there anyway I could reference the content which is usually kept in submenucontents.php without needing a separate file?

In other words is it possible to use the text from step 3. of the tutorial in the same file as submenucontents.php?

I'd really appreciate help with this. I've spent the whole day trying workarounds with no success. Thanks.

07-05-2010, 10:39 AM
I've solved it. Not in the way I asked for but by including this at the start to use wordpress funtions on any page. I got stuck for ages because absolute paths weren't working for some reason.
require_once '../../../wp-blog-header.php';