Jump to content

houssam_ballout

Members
  • Posts

    199
  • Joined

  • Last visited

Posts posted by houssam_ballout

  1. Hello allam creating a table that is called throughout a function in php, and this will generate a table: that table wil have a lot of rows,my question is that: I need to have 2 colors, and for example: row 1 has color 1, row 2 has color 2, row 3 has color 1, row 4 has color 2, ......just to differentiate themThanks

  2. hello all, as I am new to JavaScript, I'd some small pages to finish, I want some script that will display the number of seconds down till 0 according to the number of second that I can give it via text boxthanks

  3. hello all, I am doing an interface for linux distribution to be used as the webinterface, I have information on xml file, the info. will be revealed when the user press on some icon (to know more information about it), on some alert box, so how could i do that?take the xml information from the xml filethanks

  4. Hello all, can some body explain, how this code works/ (more on var x)thanks<script type="text/javascript">var xvar mycars = new Array()mycars[0] = "Saab"mycars[1] = "Volvo"mycars[2] = "BMW"for (x in mycars){document.write(mycars[x] + "<br />")}</script>

  5. Hello allI have created a page that takes and display some data from an xml file, it works fine on internet explorer, but when I tried to run it on the Mozilla FireFox there was no dataany help??

  6. a.whitelink:link { color: white; }<a href="fasfasd.html" class="whitelnk">asdfsa</a>
    ok thanks that helpon more think, I want to include other than the color of the link, for example the color of the visited link, hover,,,,,,thanskss
  7. Hello all I am creating a css file, I want to change the color of a hyper link, so I used a:link color: white , but I want to include this inside a css classany help thanks

    Mail

    Hello all,Please can anybody help with the mail function, I have 2 text fields, and when the user press the submit button, an email is send to the email that I have previously defined..thanks

  8. Hello all, please can u tell me what is the problem with my code?Also, please can some one explain for me the implemented function (that code is from the w3schools)?thanks.<html><body><script language="javascript"> function change() { document.bgColor=document.list.colors.options[document.list.colors.selectedIndex].value; }</script> <p>My first background changer:<form name="list"> <select name="colors"> <option value="red">Red <option value="blue">Blue <option value="green">Green <option value="orange">Orange <option value="white">White </select> <input type="button" value="Change Background color!" name="myButton" onClick="change()" /></form></p></body></html>

  9. Hi Iam using WAMP on winxp .Ive tried several sample scripts that handle uploading...but all of them give me the following error:Warning: move_uploaded_file(/uploads/1%20(171).png) [function.move-uploaded-file]: failed to open stream: No such file or directory in c:\wamp\www\getfile.php on line 10Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'c:/wamp/tmp\php1612.tmp' to '/uploads/1%20(171).png' in c:\wamp\www\getfile.php on line 10Actually I think that the error is in the "'c:/wamp/tmp\php1612.tmp'" part there is a conflict between the slashes..but I dont know how to solve it and Ive googled for it...Any suggestions please!!!

  10. hello all,well I am doing a project on VB, and I want to create a login window that would give the admin (with special username and password) more privilege than the normal user (other username and password)?Also,for that purpose, Do I need to create multiple forms, in which when entering admin user name I will access the admin form, or what????anybody for help and suggestions.thanks

  11. ###### al,please could anybody tell me if the following properties for the new laptop is good or not:256 DD RAM (upgradable to 2GB)Intel Centrino 1.680 ATA HDLinux OSweight 3 KGand other info about processoralso, could I install WIn XP on it , (I could it by partioning, but could I format the HD and install only XP)_thanks

  12. helo all, I have a site that I could visit it daily without any problems, but yesterday I can't view most of the pages, and the explorer tell me that there is: Http 404 so how could I resolve it?thanks

  13. Unfortunatly Client Side Scripting Languages are not supported by all browsers, especially text based browsers like lynx. This means that people using these browsers wont be able to use the Javascript. If you want your site to use javascript, use it. But make sure that if Javascript was swicd off that your site ca still function, or provide a link to a text based version of the site.As for Basic HTML, its an old technology. Building a site with HTML is like building a wooden house. It will never be as strong as a brick house i.e. as XHTML. XHTML has the advantage of being structured so you can be asured your site will be interpretted the same by different browsers.Chaos

    mmm, It is nice that I have know about XHTML, since I want something more powerful than the basic HTML, but what do u mean that lynx can't interpret javascript? is that lynx or linux!!
  14. Hey EveryoneHere is an Article I wrote a few months ago on Accessibility. Hope you find it useful.WAI or Web Accessibility Initiative was set up by the W3C in order to provide guidelines and techniques for making webpages accessible to people with disabilites.The WAI guidelines are made up of three priorities. If you want your site to be available to everyone then it is important you at least comply with priority one.This article aims to provide basic techniques and checkpoints so you can start making your site accessible. I will write a longer and more indepth article at some point in the future which will provide an indepth look into how to make an accessible site.Basic PracticesIn order to comply with Priority 1 the following checkpoints must be checked. Most of these are common sense and you will find most sites only fall short on one or two points.    * Always use the Alt attribute when using the IMG tags    * Dont use Marquee or Blinking text    * Make sure the document can still be read, and understood, without a style sheet    * Provide text links when using image maps    * Dont use tables for layout - only use them to convey data in a table format    * Title each frame to facilitate frame identification and navigation.    * Ensure that pages are still usable if all applets/scripts etc are turned offThese are the basic guidelines your site should follow if you wish it to be accessible to the majoirty of uses.Onto Priority TwoPriority two focuses on the interoperability of the web page(How well it can be transfered from one browser to another) The majoiry of the guidlines involve good web programming practices. If you already markup your sites the the XHTML 1.1, you will find your site complies with most guidlines.    * Labels must be used to designate form fields.    * Ensure background and Foreground colours contrast - this is for obvious reasons.Onto Priority ThreePriority three expands on priority two, most of the things covered in Priority three tend to be for older and less complex text readers.    * You must identify the natural language of the document    * Adjacent Links must be seperated by something more than whitespace, seperating with break or paragraph tags will not work    * Place holders must be used in otherwise empty input boxes.Rounding offOk, that completes my introduction to the WAI this should be enough to get you started.ValidatingIt is always important to use a validator to check the main points of your markup. Remember to also check things validators cant such as colour contrasts.Bobbyhttp://bobby.watchfire.com  -  A great validator to check your sites. Also gives a list of things for users to check independantly.If, after best efforts, you cannot create an accessible page, provide a link to an alternative page that uses W3C technologies, is accessible, has equivalent information (or functionality), and is updated as often as the inaccessible page. This will ensure your content is available to anyone who wants it.Hope this helps, if you have any questions please feel free to askChaos

    that post was great a lot, u have described all the important features that one need to know about,and http://webxact.watchfire.com/ is really great. but also u need to mention how to create a site with a scripting langauge like: JavaScript, and the basic HTML langauge
  15. Hey all,I have read all the tutorial relating to XML in the w3schools site, but still I need to know how XML could be related to ex. web services, programming languages, so how could it be used?thanks 4 caring

  16. once you start using it to communicate with database, you will notice that there really is no better way. its basically as you say it.SELECT ALL FROM USERS WHERE USERNAME = PUNKSTARtranslates in sql to..SELECT * from `users` WHERE `username` = 'punkstar'easy :)SQL is simple compared to PHP because PHP is a progamming language, and SQL is just a standard way to communicate with any (good) databases out there :)*shines*

    yeah , u r right, sql is very easy and it is powerful alot, it has alot of features that makes it wide-use by most programmer, and u also use it especially when u want to create a database for ur site,
  17. hello!i need to place a simple poll on my website. can anyone describe the process in several simple steps? can i have a MS access database? how simple can it be (what should it contain in order to collect data from polls?)i have already made the skeleton of the poll in HTML (form with radio buttons).i'd also want the results of the poll to be displayed (on the same place where the poll is) in percents after the submit button is clicked.i hope i made my problem clear enough. if not, let me know..Thanksp.s. for those who really find it difficult to picture what i really want to do,visit http://w3schools.invisionzone.com/index.ph...pic=153&hl=polland you'll see the exact poll that i would like to have

    So u want to create a poll: u have first to enter the choices for ur question. Then, u have to create a table for the options u have, so when a user select a choice and then click ok, the answer must be saved in the database. I don't think that u should have more info, except the IP address (using javaScript) to disable voting more than once ,, also this could be solved by creating a cookie.
×
×
  • Create New...