SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Hybrid View

  1. #1
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    Posts
    437
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    what a werid thing,why some of the html text aren't show?

    Code:
    http://www.silkfabricwholesale.com/silk-charmuese/16mm-silk-charmeuse-fabric.html
    i add some html content under the category-products div.

    eg:

    <h1 style="overflow: hidden;clear: both; height: 100px;border:1px solid red;color: red;">test</h1>....
    when i refresh the page, the content show with a blash, then are hidden. why? how to correct it?

    find if you forbid the js,all the content can show.what a werid thing

  2. #2
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,287
    Mentioned
    182 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by runeveryday View Post
    find if you forbid the js,all the content can show.what a werid thing
    Well, then obviously the Javascript on the page is either hiding some elements or modifying the DOM.

    Can you be a bit more specific about "under the category-products div"? Maybe post a snippet from the page source.
    Then, perhaps, someone can help you narrow down the 'offending' piece of js code.
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains

  3. #3
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    Posts
    437
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ParkinT View Post
    Well, then obviously the Javascript on the page is either hiding some elements or modifying the DOM.

    Can you be a bit more specific about "under the category-products div"? Maybe post a snippet from the page source.
    Then, perhaps, someone can help you narrow down the 'offending' piece of js code.
    \

    i add
    <h1>test one</h1>
    <h1 style="clear: both; height: 100px;border:1px solid red;color: red;
    position:absolute;z-index:1111111;">test</h1>
    <div id="ctpage_blog" >
    <ul id="blogtitle">
    <li class="rtab1 rtabactive">Shipping Notice</li>
    <li class="rtab2">Lastest Post</li>
    <li class="rtab3">Silk Knoledge</li>
    <li class="rtab4">Intersting Stories</li>
    </ul>
    but the content not show. if your view the page source code.you will find the above content

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,620
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Yes, as mentioned, it is being hidden by JavaScript. But looking at that long list of scripts you have there, I don't envy your task of looking through them all to find out what bit of code is not letting your content show. Too much JS on that page.

  5. #5
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    Posts
    437
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Yes, as mentioned, it is being hidden by JavaScript. But looking at that long list of scripts you have there, I don't envy your task of looking through them all to find out what bit of code is not letting your content show. Too much JS on that page.
    it's too sad!

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,620
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Quote Originally Posted by runeveryday View Post
    it's too sad!
    One option is to disable one script at a time (comment out the link) to see which one is causing the issue.

  7. #7
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    Posts
    437
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    got it. many thanks


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
  •