Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Creating dynamic HTML using JavaScript

Current License: CC BY-SA 3.0

15 events
when toggle format what by license comment
Jun 10, 2016 at 15:49 vote accept David Callanan
Jun 10, 2016 at 15:49 vote accept David Callanan
Jun 10, 2016 at 15:49
Jun 10, 2016 at 15:08 answer added bloodyKnuckles timeline score: 2
Jun 10, 2016 at 14:35 comment added Matt Let us continue this discussion in chat.
Jun 10, 2016 at 14:07 comment added Matt This might help you out? jsfiddle.net/byh3qpn8
Jun 10, 2016 at 13:52 answer added Güven Altuntaş timeline score: 0
Jun 10, 2016 at 13:36 history edited ManoDestra CC BY-SA 3.0
Code formatting
Jun 10, 2016 at 13:31 comment added David Callanan It's not too much, and a lot of it seems very specific to this project. I'm looking it up now.
Jun 10, 2016 at 13:30 comment added Matt It might help, the downside is that there will be a period of time where you have to learn those new technologies, if your requirement is a small one then your homebrew approach might be just fine (if it works then who is to say it's wrong afterall), however if this is a large application, you might start to get growing pains fairly quickly without a framework in place
Jun 10, 2016 at 13:26 comment added David Callanan Ok, I will look into it, and see if they are useful.
Jun 10, 2016 at 13:24 comment added Matt I appreciate that I am not answering the question you have specifically asked, but by using MVC and a templating library you can make all of these things into simple components which you can use in exactly the way you have described, it seems like you are reinventing much of the functionality offered by many of these frameworks. In an MV* example you would create a TabbedMenuView and pass it the target element and data
Jun 10, 2016 at 13:20 comment added David Callanan The elements which I would like to create in the future will be custom elements such as hamburger link elements, tabbed menu elements etc. So for the project I'm working on I cannot do it like that because it needs to be simple like: addTabbedMenu(['page1','page2'], etc. etc.)
Jun 10, 2016 at 13:19 history edited Tony Hinkle CC BY-SA 3.0
Grammar
Jun 10, 2016 at 13:17 comment added Matt Have you considered using a templating library? garann.github.io/template-chooser
Jun 10, 2016 at 13:10 history asked David Callanan CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /