Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ivory-Rose

Members
  • Joined

  • Last visited

Everything posted by Ivory-Rose

  1. Making a few minor changes to the code, such as moving the button outside of the generate div allowed this to work somewhat for this basic generator (before I moved the button, once you pressed it it would disappear and be replaced with text, but now the button remains and the text changes). However, there is often a delay when the button is pressed and sometimes the text doesn't change at all, meaning that it ends up countering what I was trying to do. Another problem is that it won't be able to work with one of the more complex generators, one that uses a form with drop downs and a submit button to change the output of the generator. Trying to use it with the following generator causes it to stop working entirely. <?php $detailed="selected"; $description = $detailed; if (isset($_POST['description'])) { $description = $_POST['description']; } $detailed = 'detailed'; $simple = 'simple'; switch ($description) { case "detailed": $detailed="selected"; $sentence=array("This is a detailed result which contains much more infomation than simple.","This is ANOTHER detailed result which contains much more infomation than simple."); break; case "simple": $simple="selected"; $sentence=array("This is a simple result.","This is ANOTHER simple result."); break; default: $sentence=array("This is a DEFAULT result.","This is ANOTHER DEFAULT result."); break; } echo "<form method=post action=sample.php> Description: <select name=description> <option value=simple selected>Simple</option> <option value=detailed $detailed>Detailed</option> </select> <br/><br/> <input type=submit value=Generate> </form>"; echo $sentence[array_rand($sentence)]; ?> What can be done in this case, and what can be done to solve the issues in the case of the basic generator? Where the html part of the generator is positioned, and whether it's contained inside PHP tags or not determines whether the generator works as it's supposed to or not, if at all. In the above example, as it is now, the result will display under both the form and the button, and whichever option you select from the drop down will remain selected, so that you don't have to keep selecting it each time. If I close the PHP tags then insert the form, then open them again for the last echo part, the generator will work, but the drop down will default back to simple each time you press the button, manually forcing you to reset it. If I do all of the PHP first then insert the table, the sentence will be displayed somewhere on the page where I don't want it to, and if I put the form first, it breaks the generator entirely. In another scenario, depending on what option is selected, the results may be have no style, or be displayed as a table, or an unordered list, and these styles can only be displayed when the corresponding PHP is activated. I've never heard of MVC before, but if it can prevent these issues while improving my practice, then I'm all for it. What do you think?
  2. I'm working on a site which specialises in random generators that use PHP arrays, some being fairly simple and others being pretty complex. I'm looking at ways to decrease the amount of time that it takes to generate new results; instead of refreshing the entire page when the "generate" button is pressed, is there any way to only reload the PHP code within the containing div? I've heard that this may be possible with Ajax, but I'm struggling to find a method that would work in this case that speeds up the process, and works in all major browsers, so any help would be appreciated. Here is an example of very simple unstyled generator: <div id="generator"> <?php $colour=array("red","yellow","blue","orange","green","purple","black","white","grey"); $sentence="The random colour is ".$colour[array_rand($colour)]."."; echo "<form method=post action=untitled.php> <input type=submit value=Generate> </form><br/>"; echo $sentence; ?> </div>
  3. Aah, I see now. I knew it was something simple. Thanks a lot!
  4. I'm trying to get my for loop to display a new random number each time it loops. At the moment, it only displays the first number it generates ten times, instead of displaying ten random numbers once each. Is there a way to get the code to work how I want it to? $num = mt_rand(1,100); for ($i = 0;$i <$amount;$i ++) { echo $num."<br />"; }
  5. Ah, I see, thanks. I've scaled all the sections down now, that one in particular, as well as making a few more tweaks here and there.
  6. Ok. I've made a few changes and redesigned the navigation bar; is it better this way or how it was before? In regards to putting more info about myself at the top, I'm a bit conflicted as to which should go fist; my portfolio (mainly when the rest of the stuff is up), or more info about me, as I've heard cases for both and see why each is good, but I'm not sure which one to go for in my case. ~ Ivory
  7. Thanks for the responses. Guess I've still got more work to do. Just out of curiosity, what do you mean by bored, and in what ways do you think is the usability is bad? Also, why is it a bad thing to use central alignment? The more info I get, the better I can do in fixing the problems. I'm not sure what you mean about scaling the background appropriately...Is it too big or too small? ~ Ivory
  8. I finally got around to upgrading my portfolio site and would like some feedback from you guys and gals. Also, I'm not 100% happy with the header, but am not sure what do do with it; any suggestions for that would be appreciated. http://larosewebdesign.com/ Thanks ~ Ivory
  9. Hi John. Welcome to the forum! You've come to the right place; there are a lot of experts here, and even more threads with real good bits of advice in them, so you'll be on your way up the knowledge ladder in no time. If you have any questions, don't be afraid to ask them. Good luck! ~ Ivory ~
  10. 1) When it comes to designing the layout of the site, some people just work with a pen and paper and sketch the layout. Others use one of the many image editing programs out there anywhere from MS Paint to Photoshop. Some prefer to go straight to HTML and tinker with the layout as they code it. There is no standard program/method for designing the site; just choose the one that works best for you and go from there. 2) Like with 1), there is no standard. Depending on how well you know the coding language you're working with, you can use a simple text editor like Notepad (or better yet, Notepad++), or you can use a What You See Is What You Get (WYSIWYG) program (Dreamweaver, for example) which allows you to see what you're coding right away, though these programs sometimes have limitations. Again, it's up to you on which works best, along with your coding ability. 3)Technically, to be a Designer, the only thing that you need is to be able to understand the principles of design, and how to achieve certain goals through layout, colour, etc. If you can then design the graphics, code the pages, etc yourself, then that will enhance your abilities as a designer. However, if you can't create graphics or code to save your life, but can create well designed layouts (on paper or in an image editing program), that could be enough as you could then pass these on to others who are capable of doing coding/graphic design, either selling the designs, or working with them on the whole project. Hope this helps. Good luck with your portfolio. ~ Ivory ~
  11. I've just bought The Principles of Beautiful Web Design (1st edition). After reading just the preface and the first chapter about layouts, I already felt like I had learned a lot. I've picked up two new practices (the rule of thirds and grid layouts) and am able to look at design slightly differently. I'm just about to begin chapter 3, but so far I'm really digging this book. It's clear and easy to understand, and the author gives a step by step guide for the design process of a website, which you can use to make the website alongside him, or make your own site using the same practices (which is what I'm doing). I'm actually hoping to get the other two books that you mentioned myself at some point, but so far, I could probably do fine with just this one. If I do get hold of the other two or any others, I'll let you know how it goes. In the meantime, I, like others earlier, would recommend The Principles of Beautiful Web Design.
  12. Anyone else want to give their 2 cents on portfolio design?
  13. I agree that some of the writing is a little too big. On the front page, be sure to fix that typo: "our dogs" instead of "ours dogs". Perhaps it would be a good idea to make the slider change the images automatically; I didn't notice that it's a slider until my second visit to the site, and I'm not sure how many visitors would actually manually go though those images. Aside from those I like the simplicity and neatness of the site, though something doesn't quite sit right with me about the background...Maybe there's a bit too much texture in both the page background, and the content wrap..?
  14. @4colourprogress: So how did you decide on that particular layout and colour scheme? Did you come up with that style on your own, or were you inspired by other sites?
  15. I've heard a lot of seasoned veterans speaking about how hard it is to design portfolio websites for themselves even with their skills and experience, so being at the beginning of my Web Design journey, I'm still just trying to get to grips with the starting points. After reading a particular thread here, I realised that I was trying to aim at two separate paths at once; one of a freelancer, and the other of a small business. I've decided to focus and stick to the path of freelancer, so need to design my portfolio accordingly. On that note, I'm curious as to how others decide what sort of style or theme their portfolios should have, especially in the beginning when you're trying to make a name for yourself and need to be able to show what you can do more than being able to rely on reputation and word of mouth. Some portfolios I've seen are amazing, and I wonder where the inspiration comes from, with graphics and layouts that are really eye-catching and memorable. Others are, quite frankly, ridiculous and leave me baffled or offended after looking at it... I wonder, how much is the portfolio supposed to be about you, as a person with your own styles and preferences, and how much should it be about you as a designer, what you can do for others and how well you can do it? Do you showcase yourself and your work equally, or should one be more important than the other? Should a visitor to your site immediately be able to make a connection between your site and the prospect of web design (By the layout and graphics rather than the content and the description of what you do), or is it OK for the design to be whatever you want it to be, regardless of a connection to Web Design or not, leaving it up to the words to make the connection? Would you try and stick a little closer to industry standards for portfolios, or would you consider going wild and being a bit unconventional (though being careful to maintain elements such as clear navigation and accessibility)? So in conclusion, my question is: How do you guys and gals go about designing your own portfolios, and what are your reasons behind it? ~ Ivory ~
  16. Hmm... I was pretty sure that I had read someone else on the forum giving advice somewhere else to avoid pastel colours, but now I'm not so sure if I saw that and where it was (I have been going through loooooads of threads here)....Heh, so either I DID see it somewhere else and remembered that one part, or my mind went a bit insane for a moment, took stijnhommes's suggestion to try non-pastel colours, and ran wild with it...
  17. Just out of curiosity, why are pastel colours a no-no? What do pastel colours say about a website/designer? And on that same note, what do vivid/shocking colours say about a website/designer?
  18. Two reasons: 1) As an object, a rose is supposed to conjure up images of elegance and beauty, so it was intended to suggest that that is what a person will get for their site, though I'm aware the site itself is completely undermining that and needs to be rectified quickly, though I was thinking forward to when I'd be able to reach that standard. 2) As La Rose/The Rose is my middle name, it also refers to me as a freelancer who offers web design which is supposed to have the above traits. Unless I abandon the web space entirely, buy new space and make a new name, which I really don't want to do, I'll have to stick with this one and make it work, which I don't think will be impossible, especially if I keeping looking around. I'd like to think that I can do much better than this old layout now, as it has been some time since this was made. ~ Ivory ~
  19. Lol, MSPaint. Well, it wasn't that, but I hear your advice and shall act on it. The sooner I fix this thing, the better... It's interesting you should say that about the colours as I woke up this morning seemingly totally set on completely changing the colour (I think I was dreaming about it). I had this vision of a site which was white with a rich pink/rose colour at the top and the bottom... I don't know how that would look though. :S From what I've seen so far though, better sites do tend to have bright, bold colours, large visual elements and large text. On that note, I seem to be hearing conflicting opinions of the use of white and the presence of "whitespace". What's the difference between "whitespace" and "the background"?
  20. Thanks guys. Don't worry; that's not harsh. I am prepared to start over but just not quite sure what direction to go in, though I will check out the links so far and see if I can get some ideas. Does anybody know of any good interactive slider/galleries/etc which can be used for showcasing? ~ Ivory ~
  21. Hi guys. I figure it's about time I upgrade my portfolio site, so I'm tentatively bringing it here to get some input. http://www.larosewebdesign.com It was initially designed just to show that I can make small, basic websites with basic features to prospective clients when I was just starting up and doing voluntary work to get experience and start patching together a portfolio. The types of people I was working with were not expecting the highest quality, most professional work, and just wanted quick, cheap sites, so it did what it was supposed to and everyone was happy. Now that my skills have improved and I'm ready to start charging, I want to step it up a bit and make the site look more professional and serious. (I'm kinda embarrassed showing it to you guys, as some of yours sites blow me away...) I want to keep the current colour scheme though the colours don't have to be laid out the same way as they are now. What would you suggest I do to achieve that look? Does it look in any way professional now? ~ Ivory ~
  22. Welcome Ged! I've been here for about 5 minutes (read as: 2 weeks) and am totally swamped in resources, advice and ideas, and feel as though I've made a big leap towards becoming proficient already. I'm sure you'll have no problem finding all the help you need. ~ Ivory ~
  23. Hmm, so far I'm having to overcome a few hurdles regarding ComicPress, and their forums are looking a little old and dusty, so getting help from them may be a little tricky... Things are a bit weird now. For some reason, the page title will only display the id for the first comic in the database, regardless of which one is actually displayed, but the address bar shows the correct id. Also, I've had a stab at doing the next/previous links and while the Next link works, moving forward one comic at a time, the Previous link always jumps right back to the first comic in the database every time, but I'm not sure why. Even if I try limiting it, it doesn't seem to make any difference to how far back it goes. Anyone have any idea why it's doing this? $id = $_GET['id']; $result = mysql_query("SELECT * FROM Series 1 WHERE id='$id'") or die(mysql_error()); $row = mysql_fetch_array( $result ); echo "ID: ".$row['id']." Path: <img src=\"".$row['path']."\"/>"." Title: ".$row['title']." Series: ".$row['series']." "; echo "<br />"; $previous = mysql_query("SELECT id FROM Series 1 WHERE id<'$id'") or die(mysql_error()); $prev = mysql_fetch_array( $previous ); $next = mysql_query("SELECT id FROM Series 1 WHERE id>'$id'") or die(mysql_error()); $next = mysql_fetch_array( $next ); ~ Ivory ~
  24. Coincidentally, I am building the site using WordPress, though I never saw or even heard of ComicPress before. I'll check that out now, but for curiosity's sake, I'd still like to try and find out the hard version. ~ Ivory ~
  25. Thanks for your help. I haven't got the actual files for the comics (I'm using random images instead) so I'm just putting in temporary names for now, but the format is correct. Database: comics Table: test comic 1 Fields: id, path, title, series id: 1 --- path: comics/testComic1/series1/comic 1.jpeg --- title: Comic 1 --- series: Series 1 id: 2 --- path: comics/testComic1/series1/comic 2.jpeg --- title: Comic 2 --- series: Series 1 id: 3 --- path: comics/testComic1/series1/comic 3.jpeg --- title: Comic 3 --- series: Series 1 Also, just for the record, I'm using the following code to display the comic with the highest id on the page: <?php $result = mysql_query("SELECT * FROM testComic1 ORDER BY id DESC LIMIT 1") or die(mysql_error()); while($row = mysql_fetch_array( $result )) { echo "<img src=\"".$row['path']."\"/>"; } ?> Sorry if I've written this down in a crazy way; lemme know if it doesn't make sense. ~ Ivory ~

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.