Nicely done! I think the top-left logo can be in a bit higher resolution. It looks pixelated on my LCD. As far as the green "bars", can it be in a less bright green? White background + bright green for some reason doesn't go well IMHO.
thanks for the ideas so far guys.Vtec44 said:For the navigational links, I highly suggest you use php include function or javascript include function. That way, you just edit one file to update your links instead of edit each HTML page. Of course, I'm assuming that these are static HTML pages.
This is not what javascript is for..Jon, the idea is to run the scripts from outside of the html pages as James mentioned. How should i do this ? ...I would like to change prices Site-Wide without editing each and every page (a few hundred pages) one at the time.
<script language="JavaScript"
src="http://yourdomain.com/folder/navigation.js"></script>
<script language="JavaScript">
document.write(links);
document.close;
</script>
var links="<a href='http://www.yourdomain.com/yourlink.html'>link</a>"
great James, i see what you are doing. You are writting the links into the HTML page from an outside navigation.js file.Vtec44 said:In your HTML pages, it should be something like this
then in /folder create navigation.js using a text editorCode:<script language="JavaScript" src="http://yourdomain.com/folder/navigation.js"></script> <script language="JavaScript"> document.write(links); document.close; </script>
If you look closely, I use single quotes to quote the URL. That's because double quotes are being used in the javascript include file to indicate a string value. Okay, please don't mistaken me for a javascript expert or anything, that's all I know LOL If you do it correctly, then you only need to modify navigation.js file to change the navigational links in all pages. This has a draw back: will not work if the person doesn't have Java installed. So, the best way to include an external file is still by using php include function.Code:var links="<a href='http://www.yourdomain.com/yourlink.html'>link</a>"
You could inplement a database through php. That would be a more sofisticated way of doing it. Or you could just use the include function in php. The include function would do exactly the same thing that you are doing with the javascript currently.i also have another version of the site that im playing around with using PHP and OZcommerce cart. May be i will go back and re-thing it, Java or PHP database or both ?
and just an FYI for both of you, java is totally different than javascript.Do most people have Java disable ?
This is what I would suggest. A simple PHP include to manage the header/footer/navigation/etc.Or you could just use the include function in php. The include function would do exactly the same thing that you are doing with the javascript currently.
<?php yourphpcode ?>