Need help with terminology...objects, widgets, components?
I am new to HTML, JS but have an extensive background using Flash (sorry for my luck, right? ;-)
Anyway, I am accustomed to developing "symbols" (Flash terminology for custom movie clips) which are then added to the project library and instantiated within a main movie. I am wondering if there is a similar concept in the HTML/JS world and what it might be termed?
For instance, I may want to have several boxes on a page, each with text, radio buttons, combo boxes, etc. but I do not want to have to retype all the code and JS. I want to create a stand alone "component" (maybe that is not the right term) that I can instantiate every time I need the custom "box" I have created. A library would contain the custom box and I would only need change in one place to affect all instantiations.
Does that make sense? If so, what is the terminology?
Look up Server Side Includes (SSI) or PHP Includes. Both are processed server-side before being "included" on the page sent to the user. Either should do what I think you're wanting.
Still pondering....it will come to me, I just need to keep digging.
build the custom form with Flash ))
signature under construction
Good one, Padonak! I am starting to really appreciate (and miss) Flash. Darn that Steve Jobs anyway! ;-)
Originally Posted by Padonak
You should avoid flash where possible, it is not user friendly to screen readers (many people who visit sites now use screen readers, not just the visually impaired but normally sighted people who want their web pages read to them)
With the release of HTML5, the market share of audio and video has been taken away from Flash by implementing in built support for audio and video.
HTML5 realizes other potentials as well that need to be considered.
If you use a combination of PHP to output your boiler plate code with modification to avoid replication of elements that have to be unique, it would be possible to re-use code that you write.
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)