OZONE Asylum
Forums
DHTML/Javascript
Includes with JS?
This page's ID:
28599
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Sure you can have an array of objects with the title, description, price, reference, image, ... of each of the ~40 pieces of equipment and use i.e. a parameter sent in GET ( location.search ) to know which one to display. You could even have a default object so if a property is not set for the desired piece, say the title, you could fallback on the properties of the default object. One detail though, since all the content will be injected in JavaScript, the pages won't be indexed properly by the search engines. I know they are not interrested in having a DB or shopping cart but they might interrested in having some visitors on their site, or in having an accessible website. Considering the fairly small amount of items, making a fully static site is not impossible at all. Note that any text/html editor worth its name have templates, macros, search/replace in multiple files, ... which makes it easy to maintain those ~40 pages. [url=http://www.p01.org/][sigrotate][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love_small.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_charly.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_dk.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_reason.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_galaxy.gif[/img][/sigrotate][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »