Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Squeeze_me_macaroni

Members
  • Joined

  • Last visited

  1. Hi everyone! I'm new to Javascript and I just can't figure how to make it work. it look ok for me but First homework that make me want to smash my head on my keyboard. It's in the fonction monChoix(). It don't seem to recognize the conditions use with the value of the table disponible[noSiege]. The error console of firefox see nothing at all. sorry for my lame english XD. <script type="text/javascript"> //déclaration des variables globales var qualite; var disponible; function depart() { qualite = [3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3]; disponible = [true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true, true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]; document.getElementById("lblTotal").innerHTML = qualite.length; document.getElementById("lblDispo").innerHTML = qualite.length; } //fin depart function afficherSalle() { var i; for(i=0;i<36; i++){ if(disponible == true){ disponible = "D"; } else{ disponible = "V"; } } alert("État des ventes: " + disponible.join(" ")); } //fin afficherSalle function meilleur() { } //fin meilleur function monChoix() { var noSiege = parseInt(document.getElementById("txtNoSiegeLu")).value; if(disponible[noSiege] == true){ document.getElementById("lblNoSiegeAchat").innerHTML = noSiege; } else{ if(disponible[noSiege] == false){ document.getElementById("errtxtNoSiegeLu").innerHTML = "Malheureusement, ce siege n'est pas disponible"; } else if(disponible[noSiege] == isNaN){ document.getElementById("errtxtNoSiegeLu").innerHTML = "Vous devez specifier un nombre"; } else if(disponible[noSiege] == ""){ document.getElementById("errtxtNoSiegeLu").innerHTML = "Vous devez specifier le numero du siege"; } else{ document.getElementById("errtxtNoSiegeLu").innerHTML = "Numero de siege inexistant"; } } } //fin monChoix
  2. Hi guys! I'm a newcomer here and I Just want to say hello to everyone! I'm more like an experienced 3D artist than a web designer but I just started a new journey to discover the possibilities of the web. CAUTION: (Maybe sometime I'll talk like a retard. Sorry 'bout that but it's because I'm still learning english -Frank-
  3. It turn like a car conversation lol. I'm not from London, neither from europe. Maybe you guys can guide our friend better than me. (and i'm not talking to myself on forum. In real life it's an other thing XD.)
  4. I don't think you have to be an expert in all area to find something good. It is also true that the line between the type of work will be divide more clearly in a big web company. You have a strong background and experience, just show up what you really good at. I think that nobody know everything and it's when you got the job that you start learning big. Just don't be closed to learn what you'r less good or less experienced at. and you mark a big point about the importance of the design. I step back on my words. (I don't know if I can say that expression in english. Not so good at it. )
  5. How can you expect a job in web design if you don't know about HTML and CSS? Maybe look for some graphism job that not require coding knowledges. Web design is not just about making some photoshop template.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.