Page 10 of 12 FirstFirst ... 89101112 LastLast
Results 91 to 100 of 112
  1. #91
    Join Date
    Jan 2004
    Posts
    132
    Plugin Contributions
    0

    Default Re: Tabbed Home Page Modules

    Oh, sorry, I only posted since the module's from Nov 2012, and kitten091182's post is from Feb 2013 that the info'd still be current.

    I think I'm looking for the same solution, though: I'd like the background-color of the currently active tab to change. I've got a.moduleBox:hover working.

    Any ideas or pointers?

    Thanks,

    - Rand

  2. #92
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Tabbed Home Page Modules

    With a link to a site with this mod installed, it should be easy to identify the CSS to use, assuming there is an identifier tag for the active tab.

  3. #93
    Join Date
    Jan 2004
    Posts
    132
    Plugin Contributions
    0

    Default Re: Tabbed Home Page Modules

    OK, work in progress on a dev site, I've turned off maintenance mode for a bit.

    http://151.twomorrows.com

  4. #94
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Tabbed Home Page Modules

    I should have known without even looking... Since the "active" tab is controlled by javascript, not PHP, there is no tag built in to show a stylesheet what style to apply. You are going to need some javascript to modify the currently active tab with a relevant class tag, which can then be styled in the stylesheet. Sorry, but I can't help you with the js.


    I agree that the ability to highlight the tab that applies to the currently visible module would be important. It will not be clear in many cases without that.
    Last edited by gjh42; 29 Jan 2014 at 08:27 PM.

  5. #95
    Join Date
    Jan 2004
    Posts
    132
    Plugin Contributions
    0

    Default Re: Tabbed Home Page Modules

    Thanks, though, Glenn. I appreciate it.

    - Rand
    (Maintenance mode back on)

  6. #96
    Join Date
    Jan 2004
    Posts
    132
    Plugin Contributions
    0

    Default Re: Tabbed Home Page Modules

    OK, I looked at version 1.1 of the module which led me to add these lines to the javascript in tpl_index_default.php:

    // clear out menu styles and apply active
    $('a.moduleBox').css('background', '#eeeeee');
    $('a.moduleBox').css('font-weight', 'normal');
    $(this).css('background', '#bbbbbb');
    $(this).css('font-weight', 'bold');

    Also did some styling in stylesheet_module_tabs.css so the default tab would have background #bbb and font-weight bold initially.

    Appears to work as I'd like it! Any caveats?

    Thanks,

    - Rand

  7. #97
    Join Date
    Jul 2012
    Posts
    347
    Plugin Contributions
    0

    Default Re: Tabbed Home Page Modules

    Hi,
    We have installed Top brands/manufacturers module which shows top brands/manufacturers shows on homepage in separate box than new/featured/special box which have been successful on standard zencart but on with this module Top brands/manufacturers box does not appear on home page. does any one know how to fix. I tried tweaking css which made Top brands/manufacturers but it also show all three new, specials, features products instead of clicking and see ones of them at a time.

    Any idea how to fix this?

  8. #98
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Tabbed Home Page Modules

    If tweaking CSS made the Top Brands box show on the homepage, we need to see your site live to advise on how to make all the boxes behave. If javascript is affecting this, Anne will probably have to be the one who answers it.

  9. #99
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Tabbed Home Page Modules

    Quote Originally Posted by jsarwar View Post
    Hi,
    We have installed Top brands/manufacturers module which shows top brands/manufacturers shows on homepage in separate box than new/featured/special box which have been successful on standard zencart but on with this module Top brands/manufacturers box does not appear on home page. does any one know how to fix. I tried tweaking css which made Top brands/manufacturers but it also show all three new, specials, features products instead of clicking and see ones of them at a time.

    Any idea how to fix this?
    I am pretty sure that this is not a css issue. You need to correctly merge the files from the module with this module files.

    Thanks,

    Anne

  10. #100
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Tabbed Home Page Modules

    Quote Originally Posted by Randolph Hoppe View Post
    OK, I looked at version 1.1 of the module which led me to add these lines to the javascript in tpl_index_default.php:

    // clear out menu styles and apply active
    $('a.moduleBox').css('background', '#eeeeee');
    $('a.moduleBox').css('font-weight', 'normal');
    $(this).css('background', '#bbbbbb');
    $(this).css('font-weight', 'bold');

    Also did some styling in stylesheet_module_tabs.css so the default tab would have background #bbb and font-weight bold initially.

    Appears to work as I'd like it! Any caveats?

    Thanks,

    - Rand

    Good find! I'll make a note to include this in a future module update.

    Thanks,

    Anne

 

 
Page 10 of 12 FirstFirst ... 89101112 LastLast

Similar Threads

  1. Additional tabbed information on product page module
    By avansant in forum General Questions
    Replies: 2
    Last Post: 17 Nov 2015, 03:27 PM
  2. v139h Conflicts between Tabbed Home and Tabbed Products Pro v1.07
    By swdynamic in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 14 Sep 2014, 06:29 PM
  3. v139h Tabbed category listing on index page
    By devyani in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2013, 09:54 AM
  4. advanced question about modules on the home page
    By grasmat in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 12 Dec 2010, 04:08 AM
  5. home page text and footer do not show on home page
    By terrancesmith98 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 27 Oct 2010, 01:45 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