Jump to content

Search the Community

Showing results for tags 'w3.js'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 3 results

  1. Is there any way to display complex objects with w3.displayObject("id01", myObject) w3.js function ? <!DOCTYPE html> <html> <title>W3.JS</title> <meta charset="utf-8"> <script src="https://www.w3schools.com/lib/w3.js"></script> <script> var myObject= {"customers":[ {"CustomerName" : "Alfreds Futterkiste", "Address": {"City" : "Berlin","Country" : "Germany"}}, {"CustomerName" : "Berglunds snabbköp", "Address": {"City" : "Luleå","Country" : "Sweden"}}, {"CustomerName" : "Centro comercial Moctezuma", "Address": {"City" : "México D.F.","Country" : "Mexico"}}, {"CustomerName" : "Ernst Handel", "Address": {"City" : "Graz","Country" : "Austria"}}, {"CustomerName" : "FISSA Fabrica Inter. Salchichas S.A.", "Address": {"City" : "Madrid","Country" : "Spain"}} ]}; </script> <body> <h2>Testing W3.JS in HTML</h2> <table id="id01"> <tr> <th>Customer</th> <th>City</th> <th>Country</th> </tr> <tr w3-repeat="customers"> <td>{{CustomerName}}</td> <td>{{Address.City}}</td> <td>{{Address.Country}}</td> </tr> </table> <script> w3.displayObject("id01", myObject); </script> </body> </html> Result: Customer City Country Alfreds Futterkiste {{Address.City}} {{Address.Country}} Berglunds snabbköp {{Address.City}} {{Address.Country}} Centro comercial Moctezuma {{Address.City}} {{Address.Country}} Ernst Handel {{Address.City}} {{Address.Country}} FISSA Fabrica Inter. Salchichas S.A. {{Address.City}} {{Address.Country}} Thanks !
  2. Is there any complete W3.JS solution for Tabs, Accordions, SlideShows etc?
  3. I use w3-include-html to bring in certain portions of a website. I noticed on our footer page that has javascript within the html snippet does not work. Is there a way to get it to work using this library? Is there a work around? Thanks in advance!
×
×
  • Create New...