Jump to content

elementis0

Members
  • Content Count

    29
  • Joined

  • Last visited

Community Reputation

0 Neutral

About elementis0

  • Rank
    Newbie
  • Birthday 04/20/1991

Previous Fields

  • Languages
    HTML, CSS, PHP/MYSQL learning AJAX

Contact Methods

  • Website URL
    http://
  • ICQ
    0
  1. Thank you for the feedback Jerry! I will check that a later, that seems like a nice suggestion. The button shape is actually just an indicator of what page you are on. For example if you clicked portfolio, the shape would go from highlighting the home link to the portfolio link. Im sorry but I think I may be reading this suggestion wrong, can you elaborate a bit more on what you mean by this? Yeah, theres a little semantics error I guess you could say, i'll change the styles to make my h2 mark-up turn to h1 instead. I believe I only use the align attribute for the flash player. Although, since the code is validated I don't think that is anything to worry about.
  2. I do like this page, very simple but effective.The only problem to me is the navigation scheme. It is a bit too light and is not obvious to just be navigation at first glance. I suggest making it darker and easier to spot. Now I will say I had no problem looking at it but I have a feeling that a minority of people might not notice it right away.
  3. Hello everybody, I am making this thread because id like some critiques on my websites re-design before I launch it. I am a new and aspiring web designer/developer(mostly developer) who is looking to get into the website creation market.My current portfolio website looked tacky and I disliked it so a created a new layout with new contents.I am still currently writing up content for the homepage and about page and have not even start programming any of the functionality of the client center yet. (that part will take me a few months).Im pretty much done with the portfolio, contact, pricing and services page.This is not yet really a full fledged company, just one in the making. I am still working on finding a good designer, technical writer etc...but id like the people on these forums to critique everything about the website from the layout to the content. functionality cant really be critiqued yet since I have not started it yet.I also know the markup isnt validated yet, I can easily fix that and it is currently a small issue and low on my priority list. here's the URL to my redesignhttp://www.ocustruct.com/Id really love to hear what you guys have to say!EDIT: Okay all forms and functionality are done and I have every page validated. So now you guys can critique EVERY aspect of the website.
  4. Nevermind I was able to make it work.
  5. ok well ive been looking up the AJAX tutorials at w3schools. and I was wondering how I can make the httprequest code display a loading message while the requested content is being retrieved. heres the code: <html><head><script type="text/javascript">var xmlhttp;function loadXMLDoc(url){xmlhttp=null;if (window.XMLHttpRequest) {// code for IE7, Firefox, Opera, etc. xmlhttp=new XMLHttpRequest(); }else if (window.ActiveXObject) {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }if (xmlhttp!=null) { xmlhttp.onreadystatechange=state_Change; xmlhttp.open("GET",url,true); xmlhttp.send(null); }else { alert("Your browser does not support XMLHTTP."); }}function state_Change(){if (xmlhttp.readyState==4) {// 4 = "loaded" if (xmlhttp.status==200) {// 200 = "OK" document.getElementById('A1').innerHTML=xmlhttp.status; document.getElementById('A2').innerHTML=xmlhttp.statusText; document.getElementById('A3').innerHTML=xmlhttp.responseText; } else { alert("Problem retrieving XML data:" + xmlhttp.statusText); } }}</script></head><body><h2>Using the HttpRequest Object</h2><p><b>Status:</b><span id="A1"></span></p><p><b>Status text:</b><span id="A2"></span></p><p><b>Response:</b><br /><span id="A3"></span></p><button onclick="loadXMLDoc('note.xml')">Get XML</button></body></html> how can I make that script show a loading message on the button click while the server is getting the wanted xml data.
  6. Ok then.well i looked up some AJAX and now i got the site working perfectly with the httprequest stuff i just learned =Pthank you very much guys! heres a link to what im doing:http://www.ocustruct.com/george/none of you have to do this but if anybody wants to look at the scripts feel free to tell me what you guys think would help it to make it more optimal for the user.right now my gallery is really slow.im working on trying to optimize its performance right now.thanks for the help!
  7. Thank you very much, I will go learn some AJAX more in depth.but how exactly would I go about getting my flash cached by the browser?
  8. Ok well I am making a flash portfolio site and I need help with two aspects of it.On the top is the header stuff and flash stuff and the bottom half is the html content and navigation part of the page.what I wanna do is be able to change the html content with the navigation at the bottom of the page without having to reload the flash gallery at the top. I was thinking of using frames to achieve this but then i ran into a problem because I could not figure out how to put two frames under one scrollbar.Is there a way with html/css to be able to change the bottom content of the page without changing the top?If theres no html/css way, i could also do a PHP fix, or javascript but id like to avoid javascript.here is the code for the webpage <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><!-- gallery needs to go fullscreen in IE --><title>Photos George</title><style type="text/css">body{background-color:#272727;padding:0px;margin:0px;}#swirl{background-image:url('images/swirltop.jpg');padding:0px;margin:auto;background-repeat:no-repeat;width:967px;height:183px;}#containerone{margin:auto;width:796px;height:701px;border-left: 2px solid black;border-right: 2px solid black;background-color:#454343;padding:0px;}#gallery{background-image:url('images/headgradbottom.jpg');background-repeat: repeat-x;padding:0px;margin:0px;color:#ffffff;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:14px;}#footer{border-left: 2px solid black;border-right: 2px solid black;background-color:#e8c605;width:796px;height:25px;margin:auto;border-top: 1px solid black;border-bottom: 2px solid black;text-align:center;font-family:verdana;font-size:12px;padding-top:4px;}#logo{margin:0px;padding:0px;background-image:url('images/georgehead.jpg');background-repeat:no-repeat;width:510px;height:112px;margin-left:10px;margin-right:0px;padding:0px;}#header{width:100%;background-image:url('images/headgradtop.jpg');background-repeat: repeat-x;margin:0px;padding:0px;}#flowers{width:796px;height:121px;background-image:url(images/blackflower.jpg);background-repeat:no-repeat;margin:auto;padding:0px;position:absolute;top:580px;}a{color:#1d40a3;text-decoration:none;}a:hover{color:#000000;text-decoration:underline;}/* Start bottom part of layout */#containertwo{color:white;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:13px;background-color:#000000;width:800px;margin:auto;padding:0px;}#nav{width:100%;background-image:url('images/navline.jpg');background-repeat:repeat-x;height:27px;margin:0px;padding:0px;}#content{width:100%;margin:0px;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:14px;color:white;white-space: normal;}</style></head><body> <div id="swirl"><!-- start first container --> <div id="containerone"><div id="header"><div id="logo"></div></div> <div id="gallery" align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="657" height="552" id="photogallery" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="photogallery.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><embed src="photogallery.swf" allowFullScreen="true" quality="high" bgcolor="#ffffff" width="657" height="552" name="photogallery" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> </div> <div id="flowers"> </div> </div><!-- end first container --><div id="containertwo"> <div id="nav"> <div id="navmid"> </div> </div> <div id="content"> asdasdasaskldasjda'jda'slkjda'jas'kjdl;kfjds;ldfjsdlfjksd;lfjks;dlfjsdfasdjkashdasd;asljdaskl;jdakl;sjdaqweqweiqwyeqweklqwheqwlkjheqweklhqweklqwhjeqwkehqwekqwhelkhqwelkhqwelkqwjheqwlkheqwklheqwkheqwlkheqwelkheqlwkhjeqwhwelkwshgdasjklhdaskljhdassfgsfhdasjklfhsdf<br /></div> </div> <div id="footer">Site Made and Maintained by <a href="http://www.ocustruct.com/" target="_blank"> ocustruct.com</a> </div> </div></body></html>
  9. elementis0

    Offline PHP

    What you need is WAMP. which is a webserver you can use offline.http://www.wampserver.com/en/EDIT: nevermind, I did not read your post thoroughly enough. since people can http connect to this...
  10. Ok heres my problem,I have an application form that users fill out online. part of this form deals with them having to upload images.my problem is that I have 4 different pages the user goes through in the application process. The users upload his picture on the first page,What I want is for the pictures the user has uploaded in the form to only stay saved once they finish the applicationI though a $_SESSION would keep the pictures safe until they were uploaded them on the last page, but i was wrong. So what do I need to do to tell PHP to keep the images uploaded temporarily through multiple pages and not upload them into a permanent folder until the application process is finished? basically all im looking for is something equivalent to a $_SESSION that can hold the actual image.
  11. Ok well heres my problem. I have two mysql tables.one table holds all information datathe other table holds all picture datawhen quering the tables i want to associate them by idmeaning I would like my images table id always equal the id of the information its associated with. heres my id setup:the id of the information table is set to auto incrementthe id of my images table is set to int.how can I use mysql/php to take the id that is being entered into the information table and insert that same id number for the pictures being associated with that information table? i wasnt sure whether to put this in the php or mysql forum, but seeing as php will probably be used to solve this i chose this forum.
  12. yes this is very 2.0ish but i would suggest adding padding on the bottom of your content so it doesn't cut off the text and go right to the bg. and theres space between the navigation button and the dropdown navigation. id suggest taking out the whitespace in the dropdown.this can be done by giving the nav images a display:block; style i believe.
  13. well i just finished the website layout(i think)and would like some critiquing of this layout before i go further with this.so please critique as harsh as ya want i dont mind :)its for a web design competition im going to enter so i need the layout to look really good.i know the code isnt completely valid yet so dont say anything about that i will get it validated without having to change the layout. but it works all the way back to IE 5.0 so im not complaining.heres the url:http://www.freewebs.com/flowerfestival
  14. ok heres my problem I downloaded a script called filethingie and what it does is lets users register accounts to login and manage their files. the only problem with the script that I need to change is that in the script you have to manually add the users editing a little pre-made script they give you. But I dont want to manually add each user, I want to query the users from an already made database instead. I kind of have a rough idea of how to do it but I keep running into major problems.the original code to add users was this: # in order to Additional users use this#/*$users['REPLACE_WITH_USERNAME']['password'] = "REPLACE_WITH_PASSWORD";$users['REPLACE_WITH_USERNAME']['dir'] = "REPLACE_WITH_CUSTOM_DIRECTORY";*/#example of additional users added$users['Awakened']['password'] = "5f4dcc3b5aa765d61d8327deb882cf99";$users['Awakened']['dir'] = "users/Awakened";$users['basketball4life']['password'] = "051496ed1891991abe3126b5260de7f9";$users['basketball4life']['dir'] = "users/basketball4life"; except I dont wanna manually handle users with php, i just wanna use the database system so i tried to tweak the code to where it gets each user name with an array in a while loop. but its not working since when the variables go outside the while loop its not an array going through each member anymore which renders the code useless when other parts of the script try to read it.here was how i tried to fix it: $con = mysql_connect(DB_SERVER,DB_USER,DB_PASS);mysql_select_db(DB_NAME,$con);$userinfo = mysql_query("SELECT * FROM wp_users");while($row = mysql_fetch_array($userinfo)){global $username, $password, $users;$username = $row['user_login'];$password = $row['user_pass'];$users[$username]['password'] = $password;$users[$username]['dir'] = "users/".$username;} but this code doesnt help since the other parts of the script dont read it right. what can I do to make it so the users already in the database can just log in, so i dont have to manually add them.the whole filethingie script can be found here:http://www.solitude.dk/filethingie/download.php
  15. Ok well im doing my first upload system for a website and im structuring a table that will get user information necessary to do what i want with it in later pages and im having trouble with one part first heres the code: $tutorialcontent = "CREATE TABLE tutorial_content(page_id AUTO_INCREMENT;author varchar(75);date datetime NOT NULL default '0000-00-00 00:00:00'; tutorial_title tinytext NOT NULL;category varchar(75) NOT NULL;description tinytext NOT NULL;keywords tinytext NOT NULL;content longtext NOT NULL; )";$tutorialimage = "CREATE TABLE tutorial_image(page_id [what do i put here];tutorial_title tinytext NOT NULL;author varchar(75);image_type varchar(50) NOT NULL default '', image longblob NOT NULL, image_size bigint(20) NOT NULL default '0', image_name varchar(255) NOT NULL default '', image_date datetime NOT NULL default '0000-00-00 00:00:00', )"; for the page_id of the sql how do i make it so the page id of the tutorial_content table is ALWAYS that same is the sql for the page id of the tutorial_image table.is this possible to do with sql? if not, how would i go about achieving it in php?
×
×
  • Create New...