Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Re: Spliced image links replace header..

    Fixed it :) well kind of....

    Code:
    if( mmOpenMenus ) {
    		for(var i in mmOpenMenus) {
    			var m = document.getElementById(mmOpenMenus[i]);
    			m.style.visibility = "hidden";			
    		}
    		mmOpenMenus = null;
    	}
    }
    to
    Code:
    if( mmOpenMenus ) {
    		for(var i in mmOpenMenus) {
    			var m = document.getElementById(mmOpenMenus[i]);
    			m.style.visibility = "hidden";			
    		mmOpenMenus = null;
                     }
    	}
    }
    this fixed it however it's really buggy at the product page kinda have to go in, and out of the links to get them to show up.

    anyone thats a javascript guru know a better way of fixing this? It says missing proprerties in firefox javascript errors.

    You can get my the entire js file in here: http://jailhousedistro.com/jscript_mm_css_menu.zip

    the menu is fine till it comes to product pages like: http://jailhousedistro.com/index.php...&products_id=1

    I have it fixed thanks for the help, but it's kinda buggy so if anyone knows a better way to fix it i'd love to know :)

    EDIT!: my hack works in firefox, but not IE so guess it is more then just buggy.

  2. #12
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Spliced image links replace header..

    Please do not post additional threads to point to old threads.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #13
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Spliced image links replace header..

    I have visited your site again. (my time: 6:00: am GMT +8)

    You added things doubled,
    the stylesheet: bob.css, stylesheet_bob.css
    the javascript: jscript_mm_css_menu.js, mm_css_menu.js
    onload javascript: in the page source line #36, #130

    And from html validation show the errors (also doubled).
    line 68 column 1 - Warning: discarding unexpected <!DOCTYPE>
    line 71 column 1 - Warning: discarding unexpected <html>
    line 72 column 1 - Warning: discarding unexpected <head>
    line 44 column 1 - Warning: <title> isn't allowed in <div> elements
    line 44 column 1 - Warning: <meta> isn't allowed in <div> elements
    line 44 column 1 - Warning: <style> isn't allowed in <div> elements
    line 130 column 1 - Warning: discarding unexpected <body>

    I will look again after the morning.
    A New Starter again

  4. #14
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Re: Spliced image links replace header..

    Yup been fooling with it just put things back how it was at the start.

    Is this a javascript error or whats going on..? I'm confused tired everything so far hasn't lead anywhere.

    It says something about missing objects in IE or something I have a feeling something has to removed/added to the drop down menu javascript to get it working right. Or I have to add some code the the zen-cart files to notice it... i'm not sure hehe.

    Says missing properties in firefox Javascript errors...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 27
    Last Post: 7 Dec 2011, 11:09 AM
  2. Replace Header Image With Flash
    By igendreau in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 4 Apr 2010, 01:46 AM
  3. Replace EZpages Header links with images?
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2010, 06:19 PM
  4. Images to replace links in ezpage header
    By ForPhoneUnlock in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Mar 2009, 03:08 AM
  5. Looking to replace #navmainwrapper with image links and searchbar
    By dvasdekis in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 7 Jul 2007, 12:09 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR