osCmax v2.5 User Manual
Results 1 to 6 of 6

Product description tabs flash on page load... what was that trick?

This is a discussion on Product description tabs flash on page load... what was that trick? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I think I saw somewhere in the bugtracker a fix to stop the product tabs from flashing on page load, ...

      
  1. #1
    Member Luxoria's Avatar
    Join Date
    Sep 2010
    Location
    VA, USA
    Posts
    58
    Rep Power
    26


    Default Product description tabs flash on page load... what was that trick?

    I think I saw somewhere in the bugtracker a fix to stop the product tabs from flashing on page load, am I wrong about that?

    My trick to stop the tabs from flashing is to add

    PHP Code:
    displaynone
    in the stylesheet in .panel{}

    This works, but with javascript turned off, well, the tabs don't show. =(

    So is there a trick to stop them flashing on page load and also have them show when javascript is disabled?

    tyty

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Product description tabs flash on page load... what was that trick?

    I'm just wondering how many people run around with javascript turned off in the browser these days?
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Post Re: Product description tabs flash on page load... what was that trick?

    With NoScript in use (always ), it is necessary to explicitly allow javascript to run on any given site. Causes confusion at times but much better to have some control over the crap that is dished out on some sites. Vive Flashblock, Adblock+ et al.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    Member Luxoria's Avatar
    Join Date
    Sep 2010
    Location
    VA, USA
    Posts
    58
    Rep Power
    26


    1 out of 1 members found this post helpful.

    Default Re: Product description tabs flash on page load... what was that trick?

    Quote Originally Posted by met00 View Post
    I'm just wondering how many people run around with javascript turned off in the browser these days?
    According to Browser Statistics in 2008 5% of browsers had JS disabled, in 2011 I would guestimate <4%. Then as ridexbuilder stated you have those with blocking addons and such.

    Is it worth being lazy at the risk of loosing sales? Certainly not.

    Along with the code in my first post I added the following to main_page.tpl

    PHP Code:
    <noscript>
    <
    style type="text/css">
    .
    panel {
        
    display:inline;
    }
    </
    style>
    </
    noscript
    Now all the product description tabs don't all show/flash while waiting for JS to load and if JS is disabled instead of all being hidden they all still show in a single column.

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Product description tabs flash on page load... what was that trick?

    Luxoria,

    Would you mind submitted a bug report so we can merge this into the source code.

    Thanks,
    pgmarshall
    _______________________________

  6. #6
    Member Luxoria's Avatar
    Join Date
    Sep 2010
    Location
    VA, USA
    Posts
    58
    Rep Power
    26


    Default Re: Product description tabs flash on page load... what was that trick?

    Sure thing, I would of but I thought there was a fix that I missed.

    Edit** there is also a few more fix options to choose from I added to the report.
    Last edited by Luxoria; 02-10-2011 at 03:58 AM.

Similar Threads

  1. Replies: 0
    Last Post: 10-03-2009, 03:51 AM
  2. Replies: 0
    Last Post: 09-19-2009, 02:55 AM
  3. Replies: 0
    Last Post: 09-18-2009, 01:12 AM
  4. Replies: 0
    Last Post: 09-17-2009, 07:00 AM
  5. flash.swf in header only want to load once?
    By badadz in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 10-17-2005, 11:09 PM

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
  •