Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default sub categories pop up java display

    Currently I have my subcategories on display all the time because a mod was installed, we've decided this looks too messy and would like it so that when you hover over a main cat, it's sub cat menu pops up I believe this would innvolve java script? I'm a beginner to all of this so if someone could shed some light I would be most grateful and if anyone knows if and how easily it can be done that would be very helpful. Maybe there's a categories mod?

    Many thanks

  2. #2
    Join Date
    Feb 2010
    Location
    Arizona
    Posts
    50
    Plugin Contributions
    0

    Default Re: sub categories pop up java display

    You could maybe just use html, if the category is providing a hyperlink when moused over, you could just add a mouseover tip; screen tip. Just have to find out where that html is being generated, and maybe update the link, to look like below, title is the text you want to display on mouseover.

    <a href="thelink.htm" title="mouse over screen tip">
    Text the link shows as in web page</a></p>

    I'm not sure as I said, how it's actually working, because I just started, but I'll give it a shot

  3. #3
    Join Date
    Feb 2010
    Location
    Arizona
    Posts
    50
    Plugin Contributions
    0

    Default Re: sub categories pop up java display

    popup window, pop-up window, pop up window
    javascript

    <SCRIPT language=JavaScript>
    var footnote;

    function popWin(href) {
    if (footnote == null || footnote.closed) {
    footnote = window.open(href, "footnote", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resiz able=yes,width=350,height=300")
    } else {
    if (navigator.appName.substring(0.8) == "Netscape") {
    footnote.location.href = href;
    footnote.focus();
    } else {
    footnote = window.open(href, "footnote", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resiz able=yes,width=350,height=300")
    }
    }
    footnote.focus();
    }

    function footOver(which) {
    top.defaultStatus= "Displaying footnote";
    popWin( which + ".htm");
    }
    </SCRIPT>

    <body>
    <A onmouseover=footOver(4584);
    href="4584.htm" name=foothtm><IMG
    alt=[Footnote] align=absBottom
    src="foot.gif" width=15
    height=15></A>
    </body>

    Modify as needed

  4. #4
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: sub categories pop up java display

    ah thats great thanks for your help I really appreciate it, do I need to copy and paste this code into my stylesheet?

    Many thanks

  5. #5
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: sub categories pop up java display

    this might help with no Javascript ..

    http://www.zen-cart.com/index.php?ma...products_id=75

 

 

Similar Threads

  1. display subcategories, and sub,sub categories
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Jan 2011, 11:34 PM
  2. Categories pop out to display sub categories?
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Aug 2010, 10:27 PM
  3. Pop-up in java
    By blackbad88 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Nov 2007, 09:55 PM
  4. Java Pop-Up Window
    By jacque427 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Nov 2007, 12:12 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