Help with programming.

liunx

Guest
Scoutt,anyone, what does this mean? <br />
<br />
<map name="nt_bar"> <area shape="rect" coords="2,2,42,18" href=http://www.htmlforums.com/archive/index.php/"index.phtml?week=81" alt="Main Page"><br />
<area shape="rect" coords="48,3,143,18" href=http://www.htmlforums.com/archive/index.php/"index.phtml?week=81&section=stories" alt="Go to Short Stories"><br />
<area shape="rect" coords="148,3,207,18" href=http://www.htmlforums.com/archive/index.php/"index.phtml?week=81&section=articles" alt="Go back to Articles"><br />
<area shape="rect" coords="212,3,265,18" href=http://www.htmlforums.com/archive/index.php/"index.phtml?week=81&section=comics" alt="Go to Comics"><br />
<area shape="rect" coords="274,3,361,17" href=http://www.htmlforums.com/archive/index.php/"index.phtml?week=81&section=cont" alt="Go to Continued Series"><br />
<area shape="rect" coords="368,3,431,17" href=http://www.htmlforums.com/archive/index.php/"index.phtml?week=81&section=editorial" alt="Go to Editorial"><br />
<area shape="rect" coords="436,4,515,18" href=http://www.htmlforums.com/archive/index.php/"index.phtml?week=81&section=series" alt="Go to New Series"><br />
</map><br />
<br />
<br />
What does the <map>code</map> do?<!--content-->Well that is not so much programming... It's just HTML. the MAP element is a so called image map. Basically, it's an image, with several different links in it. the AREA elements specify a rectangle's coordinates within the image, and makes that rectangle a link to the URL specified in the AREA element's href attribute. Image maps aren't very common anymore.. At least I don't see many of them ;)<!--content-->They're horrific things to try an expand if you were to add more sections to your site. I used to use them myself starting out, until I realised that any addition to the site meant adding a new part to the image, calculating its co-ordinates and then sticking them into the <map> code. I'm just too lazy to be doing all that!<br />
<br />
~ishnid<!--content-->Was written in PHP?!?! i looked at the code and it has nothing to do with PHP it only deals alot with Javascript!<!--content-->Originally posted by Bigbear <br />
Was written in PHP?!?! i looked at the code and it has nothing to do with PHP it only deals alot with Javascript! <br />
<br />
It is written in PHP. Note the ".phtml" extensions on the site, rather than the conventional ".html".<br />
<br />
It looks like regular HTML because you're seeing the generated (is that the correct term?) code, not the actual PHP code.<!--content-->no way neopets could be written in a lang like javascript.<br />
something that advanced requires PHP or something like that. one of those advanced langs.<br />
a trend that seems to be catching on is actually using C++ and VB6, etc to create online stuff. not exactly sure how its done, but thats cool!<!--content-->yes Jeff it was written in PHP. don't get upset as you can't see it. the extension says it all, .phtml<br />
<br />
that is php no ifs, ands, or buts.<br />
<br />
wha tyou see in the generated code is all html, you can't see the php side of things.<br />
<br />
Morrowasted, I am not going to tell you again. DO NOT post anything if you don't know what you are talking about.<br />
<br />
you cannot use VB6 to do online stuff (make a html page that is). C++ is more difficult but it is possible. And it is not a trend, C actully was in the early 90's but has gotten away from. so don't think it is a trend as it is not. the closest you will get to VB6 for online stuff is ActiveX and ASP, ASP.net. so don't post unless you are sure of yourself.<!--content-->??? I think their money system is in a database i cant find there code.<!--content-->I'm new to this everlasting discussion, but yeah, it seems what people have told you 51 times is true, the neopets.com "fake money system" is in fact written in PHP. The money values are probably hidden in a database, yes, and the system, the code, is parsed by the web server, and replaced by HTML, so it's also hidden from you.<br />
Maybe my cute avatar can make you remember this now through association? :)<br />
<br />
Hmm, how did this topic morph into that money system thing again? It's remarkably incoherent... <br />
<br />
:banana:<!--content-->Originally posted by Bigbear <br />
??? I think their money system is in a database i cant find there code. <br />
yes Jeff you can't see or find their php code. that is why I said "you can't see the php side of things."<br />
<br />
who told you you can see it???<!--content-->what i meant is that people are using VB6 to implement activex controls (i know you can do it w/o them), etc. PLUS, you CAN put your VB App on the net. in fact, i haved put my tic-tac-toe game up from an example in my Black Book. i know what im talking about, im not stupid. you CAN ese FTP stuff, etc for VB.<br />
ever heard of winsock?<br />
that deals with internet stuff. i used winsock to create a chat program. i guess what im trying to say is i know what im talking about.<!--content-->but that has nothing to do with this conversation. yes you can put VB APPS on the net but you can't make a webpage from VB, Yes you can use winsock to GET to the net but that doesn't make your webpage. yes you can make ActiveX controls (but why as IE is the only browser that reads them and the host has to be M$.)<br />
<br />
so, no, you don't know what you are talking about. this thread has nothing to do with using VB or C++, man he doesn't even know serverside language. VB and C++ have nothign to do with making a html website.<!--content-->well (slightly off topic) VB6 DOES come with a DHTML editor, which actually isnt too bad. this is really what i have been talking about, although i never mentioned it. it still has ther same drag and drop capabilities for ActiveX that you would have in a regular APP. and no, unfortunately i dont know any server side langs for the net (a tiny bit of PHP...)<!--content-->ok, VB6 is a far cry from the net. I don't know anybody that uses VB6 to make dhtml pages. yes I know it comes with one but who in the right mind is going to pay #300 just for a dhtml editor when there are free ones out there. <br />
<br />
so lets get this thread back on topic please. :)<!--content-->Y dont the web borad people just make a couple of langues?? y do there have to be so many??<!--content-->If the people here would create a couple of programming languages, wouldn't that just add to the number of languages?<!--content-->there are so many programming langs becuase of the evolution of computers. Visual basic wouldnt work on a computer from the early 80's, and fortran wouldnt be a good choice for a computer now. thats just how it is. i like having so many. lets you choose according to your style.<br />
PS-TO Rydberg_DJ:<br />
i think there was a hint of sarcasm in his post. I believe he is being fecicious (did i use that right?)<!--content-->why won't VB work on computers from the 80's???<br />
<br />
where do you get your information???<br />
<br />
VB started in dos in win3.1, hmm tha tis from the 80's and the only reaosn it wasn't popular in the 80's is becaseu it was new. today it won't run on a 386 or lower because there was no math-coproccessor on some and ther eis not enough room on the HD for the program. but the dos version would run no problem.<!--content-->VISUAL Basic WILL NOT run on the old DOS computers. QBasic, ec. will, but im talking about Visual Basic. they didnt support stuff that advanced. heck, they didnt even have all the API and crap for it lol. i mean the 80's before windows... real windows<!--content-->of course not VB6, but VB1. how do you think it started??? <br />
you are to much, I give up....<!--content-->
 
Back
Top