-
New Template
Normally, I just lurk. But I have to say that I love this. I love the big writing. I love the different colors. This website isn't for everyone, but it hits my nail right on the head. Good job.
-
My little website
I don't do anything and I don't have any information to present. I'll make the image thumbnails though.
-
My little website
Here is my little website: http://commabunny.org/home What do you guys think of the single column design?
-
Just finished my website
Why?
-
Any Gamers Here?
I've been playing Resistance 2 on my PS3 the last few days. Loving it.
-
jumping about
Yeah look here: http://www.w3.org/TR/REC-html40/struct/links.html
-
The Future of the Internet
I see things moving to more mobile embedded systems; like the iPhone and Android G1 phone, especially the netbooks that have gained popularity over the last year. I also see more computing done server side than client side as networks become faster and faster. Imagine running Crysis on a single core 555 Mhz cpu embedded in your cell phone at 60 frames per second. All the calculations for physics and graphics and input will be done server side at light speed and it will be displayed on the phone. That's how I see things anyways.
-
Facebook Pages
Yeah this pretty much sums it all up. The theatre I work at does facebook stuff and we often give out promotions through facebook. But I couldn't see using facebook to promote webdesign. Just seems a little odd to me.
-
if(browser =='IE6') echo "[STATEMENT]";
Do a regex match. <?php if(preg_match("/MSIE 6.0/i", $_SERVER['HTTP_USER_AGENT'])) { echo "You are using IE6, Please upgrade to Firefox 3.0"; } ?>
-
if(browser =='IE6') echo "[STATEMENT]";
Use $_SERVER['HTTP_USER_AGENT'] and do a regex match for "MSIE 6.0".
-
Javasript, CSS, SWF, HELP PLEASE!
I'm not very familiar with jQuery, but this is how I would do it: <!--this is where the large images appear--> <div id="large"> <img id="largeImg" src="images/_portfolio/_unionGas/ugSite.jpg" /> </div> <!--this is where the thumb nails go--> <p class="thumbs"> <a href="#" onclick="r_content(2, 'images/_portfolio/_unionGas/ugSite.jpg')" title="Website"><img src="images/_portfolio/_unionGas/ugSite_sml.jpg" /></a> You could make a function, r_content(n, c). If n ==1 it would be video and c would consist of the video ID (like, say a youtube ID that you can easily call back and render). Elseif n == 2 and c would be the link to the image. You could use jQuerys empty() and append operations to minipulate the ID "large". Have a look here: http://docs.jquery.com/DOM/Manipulation That's how I would do it, but I'm sure there are more efficient ways.
-
Javasript, CSS, SWF, HELP PLEASE!
Put the image into a div with an ID and then have it change the content of the div depending on what they click. Like clicking on an image thumbnail would clear the DIV and put the image in and clicking on a video thumbnail would clear the DIV and embed the video. Shouldn't be too hard.
-
About PHP future!
PHP would be great if it allowed me to specify variable types and allowed function overloading. So until it does that I'll be waiting for a better alternative.
-
Database design
The downside to the second method mentioned above would be having to create a new table for each new job. I'd go with the third solution.
-
Input Sanitizing
This is how I do it: function vald ($stuff) { if (get_magic_quotes_gpc()) $stuff = stripslashes($stuff); $stuff = htmlspecialchars($stuff, ENT_QUOTES, 'UTF-8'); return $stuff; } There are probably better ways, but it works good enough for me. You might have to change the UTF-8 at the end to fit your needs.