View Full Version : Block of Text (looks like a Vertical Menu appears when loading / reloading a page)

03-26-2012, 10:22 PM
1) Script Title: Smooth Navigational Menu

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

3) Describe problem: Block of Text (looks like an extra Vertical Menu appears when loading / reloading a page)

Please see http://www.debtmanagementplans.uk.com (Wordpress / Thesis Theme site)

New to this, so would appreciate any advice. I have searched the forum for answers but can't seem to locate the correct solution. Thanks!

To see the Block of Text I was referring to - see this page : http://www.debtmanagementplans.uk.com/debt-advice/test-post.html (it shows the Block of Text). This page has an issue as well where it does not actually show the Horizontal Nav Menu, but it's probably more to do with Wordpress / Thesis / Single Post rather than the issue I'm reporting here.

03-30-2012, 10:18 PM
If by block of text you simply mean the menu contents showing up briefly as an unstyled list of menu links, this is because the external files associated with the menu are currently not loaded in the HEAD section of your page as they should be:

<link rel="stylesheet" type="text/css" href="ddsmoothmenu.css" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript" src="ddsmoothmenu.js">

* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code


You need to find a way in Wordpress to load the above code snippet in the HEAD section of your page. If you view source on your current page, you'll see it appears midway in the BODY section instead.

03-31-2012, 06:19 AM
Thank you DD Admin! That fixed the issue. I followed instructions from a Blog I came across with, which gave instructions as to where to place the DD-related code in WP / Thesis. I will go back and make a comment there, in case other people encounter this issue, too.

I'm only left with one problem where on individual posts (see http://www.debtmanagementplans.uk.com/debt-help/test-post.html) - it only shows the unstyled list of menu links.

When I view the source code for that page and compare it with the main page's source code, for example, all the ddsmoothmenu-related items are there now. Any ideas why this is? I just want to check with you first, before I go into a WP/Thesis Forum, just in case, I've missed something again with regards to the script.

Really appreciate the help, as this is the first time I've used the DD scripts (and WP and Thesis, for that matter).

04-01-2012, 03:05 AM
Hi DD Admin, I have now fixed the 2nd issue where an unstyled list of menus appear on Single Posts. Basically, there are different ways in WP/Thesis to add the scripts to the Head section - via custom_functions.php, via Thesis Hooks or via Thesis Site Options/Additional scripts. The last one works sitewide, so that fixed all issues now.

Thanks once again for your help!