Results 1 to 4 of 4

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

  1. #1
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Block of Text (looks like a Vertical Menu appears when loading / reloading a page)

    1) Script Title: Smooth Navigational Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...smoothmenu.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.co...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.
    Last edited by gen_a; 03-26-2012 at 11:26 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,138
    Thanks
    3
    Thanked 1,007 Times in 992 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    <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
    ***********************************************/
    
    </script>
    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.
    DD Admin

  3. #3
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.co...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).

  4. #4
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •