Results 1 to 3 of 3

Thread: DDSmoothmenu Height

  1. #1
    Join Date
    Sep 2013
    Thanked 0 Times in 0 Posts

    Default DDSmoothmenu Height

    DDSmoothmenu overrides the height method when the browser is IE9. I have another plugin that calls the jquery height method. When this other plugin and ddsmoothmenu are on the same page, any calls to height by the other plugin calls ddsmoothmenu height method. Any ideas on how to correct this so that the jquery height method gets called instead of the ddsmoothmenu height?

  2. #2
    Join Date
    Jul 2008
    Derbyshire, UK
    Thanked 599 Times in 575 Posts
    Blog Entries


    Its hard to offer any advice without the page link to the DD script and a link to the page in your website. We may also need a link to the jQuery script that is causing conflicts too.

    Please provide those and then we will be better able to help you.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Sep 2013
    Thanked 0 Times in 0 Posts


    I don't have a live website so I can't give you a link to that.

    However, if you look at the ddsmoothmenu code you will find this code.

    $.extend($.fn, {
    			height: function(){
    				var obj = this.get(0);
    				if(this.size() < 1 || arguments.length || obj === window || obj === document){
    					return jqheight.apply(this, arguments);
    				return parseFloat(document.defaultView.getComputedStyle(obj, null).getPropertyValue('height'));

    say you make a jquery call like this

    var element = $('#sometable');
    var height = $('thead tr:first', element).height();
    that call does not return the correct height because the jquery height method does not get called.
    Last edited by james438; 09-16-2013 at 08:38 PM.

Similar Threads

  1. ddsmoothmenu not "over-lapping" another ddsmoothmenu
    By embryo1 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 12-02-2009, 09:09 PM
  2. Replies: 0
    Last Post: 08-11-2009, 06:19 AM
  3. Replies: 2
    Last Post: 11-04-2007, 06:21 PM
  4. Replies: 0
    Last Post: 08-06-2007, 06:12 AM
  5. Setting a division's height based on Screen Height.
    By xstayxstrongx in forum JavaScript
    Replies: 1
    Last Post: 01-27-2006, 04:15 AM


Posting Permissions

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