[Phpgedview-talk] JavaScript Usage
Brought to you by:
canajun2eh,
yalnifj
From: Nathan S. H. <nat...@uk...> - 2007-10-04 10:12:24
|
Another message from me! May I ask why there is such heavy use of JavaScript throughout the site? Some of the stuff seems like it could be done with simple HTML and CSS. I always seem to find JavaScript hard to follow and clutters a lot of the HTML, making it difficult to follow - so I may be biased! :) OK, I suppose you can use the JavaScript to remove window decorations, but it seems to make things quite convoluted - I couldn't seem to find where the help text was coming from. Any pointers on this front? Couldn't something like a simple HTML link to a standard help.php file suffice? You could simply pass an argument(s) to indicate which help should be displayed. e.g. <a target="pgv_help" href="/help.php?which=DBTYPR_help> You could even store all your help text in an XML file and get help.php to simply pull out and display whichever help text you wish. Just some thoughts, as I try to get my head around the code. Nath |