How to Generate a Widget Script?
Do you know of any tutorials or walkthroughs, or something to read, on how to make a widget script generator? Not even sure that term is correct.
I have a web app idea, and part of it I basically want to read in info, settings, whatever and generate a script based on that. Which could either be copy/pasted into a site, or hotlinked, not sure yet. But I have no idea about how to do the generation.
The twitter follow button creator is a good example of what I am trying to do, it pulls in a base script no matter what, (I think) and it us开发者_如何学编程es data- attributes in the 'a' tag to communicate changes?
Would love any input, thank you!
It is called a Wizard
Creating a javascript widget for other sites
How to embed Javascript widget that depends on jQuery into an unknown environment
精彩评论