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.

smithmr8

Privileged
  • Joined

  • Last visited

Everything posted by smithmr8

  1. Hehe, yeah. Same here. Always coming across new things.
  2. Glad it worked
  3. Hopefully it'll help
  4. smithmr8 replied to PlanetCreate's topic in Hardware
    If I could afford a Mac, I would buy one. Despite the fact they are overpriced style icons. They are the glamour models of the technology world. Not saying they aren't amazing machines, but they are by no means perfect . But would never get rid of my desktop (Windows 7). Yes, you can run it on a mac. But, I couldn't get rid of it. Desktop > Laptop. .
  5. What browser are you using ? Name & Version.
  6. <?php $sql = mysq_query("SELECT * FROM table"); $index = 0; //Defining a variable, called $index, with a value of 0. while($data = mysql_fetch_array($sql)) { //This statement is dividing the value of $index by 2, and returning a value. This value is the remainder of the operation. //If this is equal to 0, then the number is divisible by two. //If this is not equal to 0, then the number is not divisible by two. if(($index % 2) > 0){ $color = "#CCC"; //If the remainder is greater than zero, the value of the variable $color is set to #CCC } else { $color = "#FFF"; //If the remainder is not greater than zero, the value of the variable $color is set to #FFF } $index++; //The value of $index is increased by one each time th while loop, loops. //This means than every other the time it loops, the number is not going to be divisible by two, which will result in the alternate colour being used. ?> <table> <tr> <td style="background:<? echo $color; //Inserting the value of the $color variable ?>"><?php echo $data['title']; ?></td> </tr> </table> <?php } ?>
  7. I've been with them for 3/4 years, and never had any problems with them .
  8. <?php $sql = mysq_query("SELECT * FROM table"); $index = 0; while($data = mysql_fetch_array($sql)) { if(($index % 2) > 0){ $color = "#CCC"; } else { $color = "#FFF"; } $index++; ?> <table> <tr> <td style="background:<? echo $color; ?>"><?php echo $data['title']; ?></td> </tr> </table> <?php } ?> That should do it.
  9. PHP will just show a blank page if the syntax is incorrect. From looking at it, there are a couple of things which don't look right. if ($next) $next = "<a href='news_p.php?id=$next'>next</a>"; if ($prev) $prev = "<a href='news_p.php?id=$prev'>previous</a>"; Should be something like: if (isset($next)) { $next = "<a href='news_p.php?id=$next'>next</a>"; } if (isset($prev)) { $prev = "<a href='news_p.php?id=$prev'>previous</a>"; } Also, not sure whether PHP likes having full-stops in file names. require("./include/bamboo.setup.php");
  10. Anyone able to help ? Is this just one of those problems which can't be fixed ?
  11. I have you to thank for that
  12. How is your config file configured / laid out ? According to that, you're not providing a password that it can read. Should be something like: <?php $dbhost = ""; $dbuname = ""; $dbpass = ""; $dbname = ""; $db_handle = mysql_connect($dbhost, $dbuname, $dbpass); $db_found = mysql_select_db($dbname, $db_handle); ?>
  13. Website Here I'm having trouble with the onFocusOut event in Firefox. When you focus on the text field, it's supposed to clear the initial text out, which it does. Then, when you focusout of it.. if its blank, it's supposed to replace the initial text. In firefox, it clears the text, but the onfocusout doesn't seem to work. However, in IE, it works flawlessly (suppose there's a first for everything ) Any ideas ?
  14. Hopefully have one in a couple of days .
  15. Yeah, pretty much. If you've every heard of FML, I thought it would be a bit like that. But a bit more stylish .
  16. Hi, In the process of a personal project at the moment, and am now working on the front-end. Just wanted to see what people thought ? It's supposed to be simple, and straight forward. The words: type, enter, relax -> Will each have an image-over popup which will in turn explain how to use the site.. even thought for many it would be self explanatory. This is only the top part of the page. Will be a bit more at the bottom, showing the most recent "emotional releases", and the copyright statement. This will be both vertically and horizontally centered in the browser. Thoughts ?
  17. smithmr8 replied to terydinho's topic in General Chat
    Congrats dude !
  18. Again.. It's "On behalf of.."!
  19. The second one, the logo / S image looks better.. But the outside/border looks jagged to me and personally preferred the glow of the first one. If it was smoother out.. it would look the business.
  20. Never had any problems with o2, and their customer service is actually decent.
  21. Didn't think the brushes added much to it, so have removed them. Will have a logo up there once I have one .
  22. Design one looks the best, I think.
  23. I hate sites which have those prompts when you try to exit the page.
  24. Hi, Having a party later, and using my laptop as the "Music Center". Is there a way I can lock it so it only shows e.g.iTunes ? Don't really want people going through my stuff or using it for anything other than iTunes. Cheers.

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.