Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8729545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:51:10+00:00 2026-06-13T08:51:10+00:00

The web page I need help with is at http://djdavid98.zymichost.com/.bio/ My problem is, as

  • 0

The web page I need help with is at http://djdavid98.zymichost.com/.bio/

My problem is, as you will be able to see in the source code, I have 2 divs on my page:
(Note the “hu” and “en” attrrubutes, they’re used by JS)

<div hu>
    - content -
    <table>
        <tr><td>- stuff -</td></tr>
    </table>
</div>

<div style="display:none;" en>
    - content -
    <table>
        <tr><td>- stuff -</td></tr>
    </table>
</div>

Here is the JS I use inc. jQuery:

//readCookie() is a different function for reading a cookie that was set before. 

if (readCookie('lang') == "en"){
    $('*[hu]').hide()
    $('*[en]').show()
}

Accordingly, if the lang cookie is set with the value of en, it will hide anything that has the hu attribute, and will show anything that has the en attribute.

The problem comes in when I check how Google Chrome loads the page content:
(The second div gets appended to the first one, and when the first one gets hidden, the second won’t show either)

<div style="display:none;" hu>
    - content -
    <table>
        <tr><td>- stuff -</td></tr>
    </table>

    <div en>
        - content -
        <table>
            <tr><td>- stuff -</td></tr>
        </table>
    </div>
</div>

I tried changing the first div to span, same with the second, but neither solved the merging issue. I’m guessing this has to do something with the tables since other parts of the page is not affected by this problem.

So, how can I fix this?

Note: On the page, you can use the JS console to set cookies, just use createCookie(‘lang’,[‘en’|’hu’],2)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:51:11+00:00Added an answer on June 13, 2026 at 8:51 am

    You have not closed the table-tags in your HTML source – but you have posted it above without errors. Next time please paste the code from your page into a question…

    view-source:http://djdavid98.zymichost.com/.bio/

    <table>
        <!-- … ->
    <table>
    <div id="contact">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some help: http://www.stansellelectric.com If you go to any page on this website
Finally, I find some article in http://code.google.com/intl/en/web/ajaxcrawling/docs/getting-started.html msnbc use this method. Thanks for all
I have read through the Web Services site at http://developer.rallydev.com/help/ The basic issue I
I need help with positioning two images on a web page. I want both
In a web page button click event we need to export 2,00,000 to 5,00,000
I need to setup a web page that listens for XML document via an
I am new to Web page design and creation - but I need to
I have a web page written in ASP.NET and I need to retrieve the
I need to get some values of HTML web page. I want only the
I need to extract pure text form a random web page at runtime, on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.