Jump to content

xcandiottix

Members
  • Posts

    330
  • Joined

  • Last visited

    Never

Everything posted by xcandiottix

  1. I don't love the color scheme ... it's a little too contrasty from me. The layout of the items looks pretty good though, so i think i you adjusted your colors it would come together better.
  2. The page design is simple and clean... i think it looks pretty good.
  3. The images are cut out poorly .. it seems like you put a transparent background on some gifs and it looks bad on what would otherwise be some pretty decent images. I don't see why I would go to this site instead of just going to google but the design is nice and clean aside from the images.
  4. I like this site. It's not great but it's pretty damn close. I like the effects you have... sometimes they work a little clunky (viewing with FF) but overall... if I came to this site as someone looking to hire a designer, your page would have caught my attention and engaged me to interact with it. Good job.
  5. It's okay..... it really "pops" when the site loads.... but then it's bland after that. Add some images that fade and change to other ones or something to keep the site engaging. It's simple.... and right now it's just ok.. but if you add a little to it i think it will get your message out nicely.
  6. Aside from images loading very slow (i'm on 6mbps comcast) this site is very nice and looks just like any other government page i've been to. Very 'expected' design... which in this case is a good thing.
  7. It looks okay..... i view with 1600 x 1200 so the site looks awfully small to me...... nothing on your site works tho and the message about what it does is not clear. From a design standpoint it seems you are on the right track.
  8. The paintbrush gif looks really bad because it was created with a white background and youre placing it on a black background so the dithering is fading to white. So defineatly do something about that. Those scrolling button things are annoying. Look... you're not designing a portfolio to impress your friends with.. you're trying to make a site that someone is going to come to looking for a company that can decorate. You need a simple, clean design... white or light colored background... easy to read text and LOTS of pictures of the work that this company does. Scrap your current idea and start over ... don't put what you want to see... put what a 30 - 60 year old person would want to see if they were looking for a great decorating company.
  9. I don't know where to turn to help for this one. I have installed slimbox on my site which is a lighter weight version of lightbox. I have a file structure as follows: user_page.php --include editpage.php --include place.php --include appinformation.php appinformation.php: <script type="text/javascript" src="/includes/scripts/mootools.js"></script> <script type="text/javascript" src="/includes/scripts/slimbox.js"></script> <link rel="stylesheet" href="/generalcss/slimbox.css" type="text/css" media="screen" /> <a href="http://www.site.com/graphics/default/member_banner.gif" rel="lightbox" title="my caption">image 1</a> Now, if i go to url site.com/includes/appinformation.php the slimbox works perfectly. I click the "image 1" link and the slimbox operates fine. If I goto userpage.php where appinformation.php is an include and click on "image 1" i am redirected to http://www.site.com/graphics/default/member_banner.gif instead of the slimbox operating. Any ideas why this is happening or a work around? Thanks!
  10. I have a tough problem here. Currently, I have a page that runs a little ajax. It calls out to an XML file and returns a text string. I need to replace the test string with the location of a .php file. When the page loads, I need the .php file to be loaded in place of the text string. function selection(selected){ var y=xmlDoc.getElementsByTagName("Name"); for (j=0;j<y.length;j++){ if(selected == y[j].getAttribute("N")){ //sets titles title1=y[j].getElementsByTagName("Cell")[0].getElementsByTagName("title")[0].childNodes[0].nodeValue; document.getElementById("tit1").innerHTML=title1; title2=y[j].getElementsByTagName("Cell")[1].getElementsByTagName("title")[0].childNodes[0].nodeValue; document.getElementById("tit2").innerHTML=title2; title3=y[j].getElementsByTagName("Cell")[2].getElementsByTagName("title")[0].childNodes[0].nodeValue; document.getElementById("tit3").innerHTML=title3; //sets applications application1=y[j].getElementsByTagName("Cell")[0].getElementsByTagName("Application")[0].childNodes[0].nodeValue; document.getElementById("app1").innerHTML=application1; application2=y[j].getElementsByTagName("Cell")[1].getElementsByTagName("Application")[0].childNodes[0].nodeValue; document.getElementById("app2").innerHTML=application2; application3=y[j].getElementsByTagName("Cell")[2].getElementsByTagName("Application")[0].childNodes[0].nodeValue; document.getElementById("app3").innerHTML=application3; } } //end } Above, I am checking the XML page to get the title and application text strings. They are printed out on the screen like so: Title 1 Title 2 Title3 App 1 App 2 App 3 What I need to happen is: Title 1 Title 2 the actual app1.php file to be loaded here etc.. How can I do this?
  11. Thanks for understanding my mumbo jumbo... that's EXACTLY what I needed... thanks!
  12. I want to check my database's "Category" row, then use that information to create a drop down of every category with in that row. I don't want to same category to appear twice tho. I think this could be a lengthy answer for anyone to give so does anyone know a good "how to" already on this subject? <form action=""> <select name="category" onchange="showCategory(this.value)"> <option value="">Select a category:</option> <?php $con = mysql_connect(".com","UN","PW"); mysql_select_db("DB", $con); $data = mysql_query("SELECT * FROM application_directory") or die(mysql_error()); while($info = mysql_fetch_array($data)){ echo '<option value="'.$info["db_Appcategory"].'">'.$info["db_Appcategory"].'</option>'; } ?> </select> </form> I have this so far to test, and it works but obviously it will just create one item in the drop down. Any help is greatly appreciated =) *edit- I've added the while loop so that way it will create a new item for each row
  13. It's not clear to me what you are asking. but if i had the string \'on\' i would: $string = \'on\'; $fixstring = str_replace("\", "",$string); $fixstring should = 'on' or am I missing what youre saying?
  14. The only thing that is going to be tricky is that if you set the DIV to appear at say 20 pixels ... lets look how letters might be chopped: .................... <- "20 pixels" WWWWWWW aaaaaaaaaa QQQQQQQQQ LLLLLLLLLLLL The very left part of the 7th W might still be visible. a and Q should be hidden nicely ... the last L might have part of it's leg cut off. But again, this will vary WIDELY from browser to browser. I would try it out and if it leaves parts of letters or cuts letters you might just have to accept it as on my browser it may look fine. But atleast you'll have an exact pixel cut off for each string.
  15. If(String length < 10 characters){ do no create ... div layer.} else{ create div layer} Now it's only there if it needs to be.
  16. Why dont you make 2 div boxes.. One is the text string Two is ... Then put the Z-index of the ... string above the text string So your Div / cell would look like= I went to six flags today and it was a fun time then place your ... at a certain location .. say right 100 pixels and place that on top of your text string div so now it will be I went to six flags t[... ] and following lines would look the same I went to six flags t[... WWWWWWWWWV[... aaaaaaaaaaaaaaa[... except perfectly aligned since you are placing the ... div X amount of pixles from the left or right. The rest of the ... div would be the same color as your background so you couldnt tell it was actually a layer hovering over the text.
  17. $TNQ = 19; for ($i = 1; $i<=$TNQ; $i++){ if($i < 10){ $cell = 'A00'.$i; $cellpost = $_POST[$cell]; if($cellpost){ echo $cellpost; } } } This results in echoing the data from the DB at A001 which is the only field that has a value at current
  18. Well, I need to leave the input fields there incase the user need to comeback later and fill one out. I actutally just figure it out tho, i'll post solved answer below.
  19. You modified your post, but before you did I saw line 1 was <? instead of <?php ... which some servers don't like.. it was just the first thing that jumped at me.
  20. Without the single quotes I get a PHP error saying unexpected ]. Currently this code will echo: $_POST[A001], $_POST[A002'] ..etc etc NOT the values... just the plain text. I can check if($cellpost) as it is and it will detect it but it's not a good way to do it because $cellpost will always have data since i am setting it equal to '$_POST['.$cell.']';. If I use if($_POST['A001'] that will work and only echo that A001 if it has a value. (!empty or (isset isn't necessary.
  21. Is using a cookie an option? Or a session? I would think you could write a line of code at the beginning of each page that saves the time and page title. Then every time a page loads up the code checks to see if this page has been viewed before and if so when. If there's a time difference then you'd know they are re-viewing it. If it's with in say... 5 minutes you can bet it's a refresh or reload.
  22. My DB has data called A001, A002, A003 etc. I want to echo this data inside of an input form if a value already exists and if not the input field is blank. On pressing submit I want to store any changes, refresh, and then show those changed values in the input fields. The problem I have is: Once the fields have been filled out I want to check everything using an array. So if I filled out input fields with: A001 Hello A002 World and press submit, I want the array to check if $_POST['A001'] has data, if so store it. Same for A002. But I don't know how to make the $_POST value increment. Here's my idea so far but it doesn't work: //total number of questions $TNQ = 19; for ($i = 1; $i<=$TNQ; $i++){ if($i < 10){ $cell = 'A'. 00 . $i; $cellpost = '$_POST['.$cell.']'; if($cellpost){ echo $cellpost; } }else if($i < 100){ $cell = 'A'. 0 . $i; $cellpost = '$_POST['.$cell.']'; if($cellpost){ echo $cellpost; } } } edit== For testing, I am just trying to echo the $_POST data right now. After it works I can save to DB. Any ideas? Or do i need to attack this a whole new way?
  23. Very good, I'm going to give that a shot. If it doesn't work I think I might just encode the XML file as php and validate the user before echoing out the XML data. That way if the user asking for the file isn't the same user who the file belongs to I can deny them access with an IF statement. Plus log the ip ;p Thanks! i'll report back.
  24. Yes this is the direction I want to go... i noticed for some of my scripts I have to use an absolute link to access the XML and i was trying to figure out what i can do. I'm not sure I can get out side of the public directory but my host does let me have good permission control, so hopefully i can figure out something. Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.