Results 1 to 3 of 3

Thread: Chrome CSS - Need Help / Willing to Pay

  1. #1
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Chrome CSS - Need Help / Willing to Pay

    1) Script Title: Chrome CSS Drop Down Menu (v2.5)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem:

    I am trying to implement the CSS drop down menu, but i keep getting an error in IE and the FF Console Error Log:

    http://clients.eyenovation.com/openh...menu_test.html

    It's something to do with the chrome.js and the error I get is "target is null." Supposedly it's on line 165 - but when I look at the line of code, it has nothing to do with referencing a target.

    Anyone that can help me here would be a hero. We're willing to pay if need be for an expedient solution. My guess is it's something to do with this:

    Code:
    addEvent:function(target, functionref, tasktype){
    	if (target.addEventListener)
    		target.addEventListener(tasktype, functionref, false);
    	else if (target.attachEvent)
    		target.attachEvent('on'+tasktype, function(){return functionref.call(target, window.event)});
    },
    But I could use some serious help.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You have (in your HTML):

    Code:
    <li><a href="contact.html" rel="dropmenu7">Contact Us</a></li>
    But there is no:

    Code:
    <div id="dropmenu7" class="dropmenudiv" . . .
    Get rid of the rel="dropmenu7" from your link.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, that was my problem. I totally blew it on that one. Simple mistake.

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
  •