GithubHelp home page GithubHelp logo

Invalid HTML Markup about wet-boew-php HOT 13 CLOSED

wet-boew avatar wet-boew commented on August 20, 2024
Invalid HTML Markup

from wet-boew-php.

Comments (13)

crochefort avatar crochefort commented on August 20, 2024

One things I notice ... is how the i18n JS is pick-up?

/wet-boew/js/i18n/en.min.js ... This one is for the english Mark-up... But I take it from my french page...

index-fr.php ...

Just wondering...

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

Another things...

I just want to specified this : On my french page I use the class from v3.1 for the carrousel
On my english I'm using the V4 class...

So on my english page this is what i'm seeing

<script src="/wet-boew/js/i18n/en.min.js" type="script" height="0" width="0" onload="function(){k.call(this,q)}"></script>

Why the hell the JS add height and width to a script tag ?

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

The good news is I did get it to work. I copied the HTML from the tabs demo
http://wet-boew.github.io/v4.0-ci/demos/tabs/tabs-carousel-en.html and
pasted your content on to the page. It worked.

I started replacing HTML code with PHP includes for the variant sections. I
got down to the head-nav.php include before it stopped working. I'm on my
way home and will have a look to see if I can spot the difference between
the PHP variant coded in the head-nav.php file and the header code from the
sample tab page. If I have some time this afternoon.

On Wed, Jan 15, 2014 at 11:44 AM, crochefort [email protected]:

Another things...

I just want to specified this : On my french page I use the class from
v3.1 for the carrousel
On my english I'm using the V4 class...

So on my english page this is what i'm seeing

Why the hell the JS add height and width to a script tag ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/73#issuecomment-32372907
.

Regards,
Patrick Upson

Twitter: @PatrickUpson

CIPS NS - Program Committee Director

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

Thanks!

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

I fixed the extra < symbol in the head-nav.php file. I couldn't find reference tobias the /wet-boew/js/i18n/en.min.js file.

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

I fixed the extra < symbol in the head-nav.php file. I couldn't find reference to the /wet-boew/js/i18n/en.min.js file.

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

Sorry on my phone. keep hitting wrong buttons. I'll stop now.

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

Maybe @pjackson28 can explain it to us... I'm pretty sure it's loaded from the wet-boew.js ... But how it pick-up the right language of the page... This something we need to understand to make sure we are ok with the mark-up in the head...

from wet-boew-php.

nschonni avatar nschonni commented on August 20, 2024

The language is determined by the lang attribute on the HTML tag https://github.com/wet-boew/wet-boew/blob/master/demos/index-en.html#L5

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

Thanks Nick.. Was not sure!! It just comfirm that i need to investigate more the strange behaviour i got this morning!

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

@crochefort Well we're using the $SITE['wb_meta_lang'.$_PAGE['lang1']] variable to set the language so as long as you're setting the $_PAGE['lang1'] variable before you call the head-doc.php include it should be setting the lang attribute in the HTML tag to 'fr'

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

Close since The issue in the OP has been fix!

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

The issue with the language is with IE8 as per this issue!

wet-boew/wet-boew#4331

from wet-boew-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.