Jump to content

Strife25

Active Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by Strife25

  1. XmlHttpRequest objects function the same exact way as any normal HTTP request does. Your problem is not with the difference between XHR and HTTP Requests, it relates to the actual request itself. The problem you are hitting is how exactly does data get passed in GET Request to a server as opposed to a POST. There is a big difference between the two: GET Requests: -request parameters are sent inside of the request URI as a key-value pair after the query symbol (?), e.g. /resource?foo=bar POST Requests: -request parameters are sent in the body of the HTTP request (which the OP learned how to do in VB). In Java (the language I am most familiar with), the "request body" is sent in an HTTP Request as an "Entity" object, most often a StringEntity.
  2. Hi r4v37t, I can definitely help you with your problem, but I am really confused as to what exactly you are trying to do with your page. Saying "I want to use ajax when a user clicks on a link" can mean a TON of different events occurring. Looking at your steps, it seems like a really difficult problem (i.e. i am unsure if a browser allows this) being able to travel from page #3 directly back to page #1. The only way i can think this can work from a user experience perspective is by controlling the entire UI every step of the way. By controlling the UI, you can provide a link in the page for the user to click to jump back to page #1 no matter where they are in the site. If you do not control the UI of page #3, then you are out of luck. If this is not how i should have interpreted your steps, please clarify a bit more as to what you are trying to do?
  3. Here is a list of 15 great projects when learning a new programming language: http://www.jobsnake.com/seek/articles/inde...rticle&8533
  4. np! Two great resources for CSS development are www.alistapart.com and www.css-tricks.com Also, when you are making the site, first develop it for Firefox and/or webkit/safari/firefox, THEN make it compatible with IE7 and Opera. This way, you will make a standards-compliant site that will handle future versions of IE. Some tools that will help you along the way: -Firebug and Web Developer Toolbar (FF extensions) -DebugBar (IE Extension) -IETester (have multiple versions of IE installed) -Stylizer (live CSS editing for IE)
  5. Honestly, I would recommend you redesign the site to not use framesets, not only will you most likely solve the issue you have, but you will learn some great and necessary skills for creating a CSS layout. a great article explaining why ou should NOT use framesets: http://developers.evrsoft.com/articles/why...se_frames.shtml Also, if you search around the internet, you can find pre-defined CSS layout templates that are cross-browser compatible and will help the transition.
  6. their javascript reference is not that bad if you need to reference the DOM api, but you should be using a JS library to do your work anyways (jquery and dojo are my top recommendations). If you want to really understand javascript, this is one of the best reference sites I have found: http://www.hunlock.com/blogs/Mastering_Javascript_Arrays
  7. you need to do this: <a href="http://192.168.1.100:88/"> or <a href="http://localhost:88/"> I was getting the same error the other day in the midst of development on large scale web app and was baffled by the same error when trying to link to an external website, but just being rerouted to localhost/www.google.com
  8. read the w3c tutorials on javascript, create a web page with javascript functionality. Here are some links: http://www.hunlock.com/blogs/Essential_Jav...script_Tutorial http://www.w3schools.com/JS/default.asp Must watch videos: http://video.google.com/videoplay?docid=-7...mp;q=john+resig http://video.google.com/videosearch?q=alex...0dojo&emb=0 Once you understand the standard functionality of how to use javascript, start to learn a framework if you are most interested in web development. With so many cross-browser problems, the frameworks help simplify development exponentially. For example, creating an AJAX call is normally ~20-30 lines of code just to grab a line of text from the server. With a framework, the AJAX changes into one method call to place the data into an object. Some of the most popular ones are: dojo jquery srip.tac.u.lous prototype Hope this helps.
  9. You generall should not ever give the same value to "id" and "name" attributes because the IE interpreter will also look at the name attributes when one calls getElementById http://www.456bereastreet.com/archive/2008...ernet_explorer/
  10. There is also Townkymedia, which is super simple to use and works instantly. It does not encode on the fly though: http://www.twonkyvision.com/Download/TwonkyMedia/index.html
  11. nice, i am going to be in the area around that time, definitely will check it out
  12. gcc should already be installed on your computer. To start out, make a file in your text editor of choice and save it as "yourChoiceOfName.cpp". Now go to the command line, go to the directory of the file you creates. Now type: gcc yourChoiceOfName.cpp then run the file that was created in that file with ./fileName Hope that helps you get started. Basically gcc is a compiler to convert your code into machine language. You need this for c/c++ development. If you are interested in using an IDE for development, there is an Eclipse IDE package that is used for C++ development, as well as other choices like Kdevelop. I personally like eclipse though
  13. If you are stuck on ideas for first projects, look at screen scraping a site. For example, if you want to be able to quickly grab your bank balance from the command line, you can create a screen scraping to log you into the stie then parse through the html to find the html node that contains your bank balance. http://www.perl.com/pub/a/2003/01/22/mechanize.html Just for note though, there are definitely security concerns with this type of script, so be aware of what you would be getting into making a script that logs you into a banking website.
  14. Gentoo this past year for me, definitely an awesome learning experience and knowing that the only things on my computer were only there because I personally put them there.
  15. I have not found much software on the linux side for a table much beyond getting the pen to work as a mouse. :-/
  16. good luck on your future endeavors Wess, you were a great asset to show when you were here!
  17. Eclipse is also good for java development and is plug in based, so it allows you to download plugins that allow you to develop and have an IDE for other languages, like PHP, J2EE, or C++. Although the php IDE is ok imo, and the C++ one requires cygwin.
  18. Desktop: 1200x1024 Latop: 1280x720 Work Laptop: 1600x1200
  19. thanks snakey, that's an AWESOME link for people at any level of programming
  20. It would be cool to integrate this hack with the Emergency Party button: http://www.plasma2002.com/epb/
  21. That looping is actually called recursion, which is basically when you have a function call itself within the function definition. Here is the wikipedia link, about halfway down are some pretty good examples of where recursion can be implemented: http://en.wikipedia.org/wiki/Recursion
  22. Hi Everyone, I thought that this might be a fun little rank to play on your developer friends who use the Eclipse IDE. Basically, we want to start the application in mirror mode from the user's normal shortcut on their desktop. This can only be done is the user has set up a GUI shortcut for the application and does not normally boot it from the console. So when you start eclipse with the following argument: Windows: eclipse.exe -dir rtl Linux: ./eclipse -dir rtl It will start eclipse in right-to-left mode to let users who use Arabic or Hebrew for their language to be readable. But using it this way just flips the GUI the other way with english still as the language. If you set up the user's normal GUI shortcut with the -dir rtl argument, eclipse will always boot up in mirror mode. A simple prank, but confusing people tends to always bring some sort of fun. :)
  23. http://forums.hak5.org/index.php/topic,913.0.html
  24. @DarkBlueBox: mmmmmmmm...Ubuntu Sandwich.....
×
×
  • Create New...