@xav0989, that is normally how i would do it too, but the question was about "Returning javascript with php", so that's what i showed them how to do. but, yes, i would agree.
misson's method would work. you could also do it something like this...
this is the code i use when i need to do ajax:
// initialize the ajax request object
ajax = new Object();
ajax.response = null;
/******************************************************************************
*
* Ajax...
This only works in Python 3.0+ (due to relying on the use of the __new__ class method), but it allows you to use "static" class attributes in python. It can also be used to pass variables to a function by reference, another feature left out of python. If anyone makes improvements on this, please...
yes, i know, that is a temporary bug. it isn't setting the style automatically on page load for some reason. it had been working just fine a couple days ago, then i started making some changes and now the style switcher doesn't work :\
I wrote a PHP class that allows you to use your PHP variables in your CSS.
Since I wrote it, I've used it on every site I've made and it's very helpful, so I decided to post it up here so that if anyone else wants to use it they can.
Enjoy :)
you have a typo...
at the bottom, your "valid xhtml and css" says "valid xhml and css".
other than that, it looks great. i especially like the menu links, how they fade in instead of just changing colors.
overall, i give it 9/10.
as everyone else has said, it looks very plain. i also agree that it needs some sort of graphical navigation.
i would be happy to help you make your site if you would like the help. feel free to pm me. ;)
i'm currently working on a design and have most of the "design" parts done. there isn't any content (... at all...) but i would like some feedback on the design.
http://design.kbjrweb.com
thanks :]
thank you misson, i will work on this some more and if i have problems or don't understand something in your post, i'll post back.
edit:
I just wanted to mention that i did get the windows working. now i get to actually make it into a game...
anyway, thanks for the help, misson. here is my...
i am teaching myself C++ and as a project to get used to the language i am making a simple dice game using ncurses. i got everything to work up to the point where i tried to put the individual dice in their own windows. there is no error occurring, but the window isn't showing up. please help...
I've always been annoyed with having to go and get definitions for all of the main HTTP status codes (like 404 and 500) every time I make a website. It's not exactly difficult, but it gets old after a while. So, I decided to make a document that would contain them all for later use. It's just a...
well, i'm going to continue tinkering with it and see if i can figure it out.
thanks for all the help up till this point, and if you think of anything, please tell me.
gillwill has got it. you really have 3 options:
make your pages sized absolutely and just make them smaller.
make everything sized relatively (using % and em).
or make multiple pages and change which page is viewed based on the user's resolution (generally not a good idea as it would require...