Jump to content

MrAdam

Members
  • Posts

    489
  • Joined

  • Last visited

Posts posted by MrAdam

  1. ah right .. i dont know the rules around it .. im not diggin at you or owt.. i was thinking more for myself .. always seem to struggle with that kind of thing ..

  2. ah right, and yeah i meant that one. I didnt notice there was another version on your portfolio with a planet on till just a minute ago..Is it perfectly legal to take images from deviant art then?

  3. vchris do you create the graphics for your websites? .. namely the "deep coding" portfolio? I was just wondering because it's bloody good .. thought perhaps you might know a website offering free graphics or something?

  4. You'll also need to change the extension from ".html" to ".php" .. you can do that in explorer by right clicking on the file and going to rename (provided you have "view known file extensions" ticked in explorer options) or when in notepad (or something) when you save, put quotes around the filename; e.g. - "file.php".Then just follow what the others have said about running the PHP file.

  5. i can't see anything missing in the code, but perhaps one small thing has gotten corrupt or something... try this:

    <object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="170" height="150" codebase="http://www.apple.com/qtactivex/qtplugin.cab"><param name="src" value="<?php print $_GET['id']; ?>"><param name="autoplay" value="true"><param name="controller" value="true"><embed src="<?php print $_GET['id']; ?>" width="170" height="150" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/"></embed></object>

    I'm assuming $_GET['id'] will include the file extension ?

  6. Well if you were to create a folder, then from that folder have your sub folders (ie. "images")... you could use:

    <img src="images/img_name.jpg" />

    and then to go down a folder, for instance if you were in "website/extra/" and wanted to get an image from the image folder, you could use:

    <img src="../images/img_name.jpg" />

  7. No one's actually told him what a cookie is, or how t ouse them...To set 'cookies' in PHP: http://www.w3schools.com/php/php_cookies.asp-----As boen_robot said, that prompt box with the username + password fields have to be set up on the server, read the link he sent.To determine if someone's logged in on your website, after they supply there username and password (in what ever method) and your PHP script has recieved these values, if through whatever security checks you impose, they are successful - you could set a cookie to store a piece of data, so that you can later check for this data as a means of checking if they are logged in.Sounds kinda confusing put like that ..you'll need to know PHP and possibilly MySQL if you are thinking of using a database to store their user data?http://www.w3schools.com/phphttp://www.w3schools.com/php/php_mysql_intro.asp

  8. What do you mean? I have some YouTube videos on myspace, but you can click on them and stuff and it doesn't link to YouTube?If somehow they are for you, you probably cannot stop it because it will programmed into the flash player.

  9. maybe I could design graphics for your personal website or maybe you could even outsource your graphics work to me for your web design jobs? I wouldn't be able to do that for free, but I would probably accept whatever you pay me - one web designer to another Maybe you could take some money you get from a client and use it to pay me for graphics?
    Me and my friend from college do that ! Works well - i too am one of the developers and not designers.As for http://www.kenetix.net/ - I'm not really a fan of that kind of website, too cluttered in my opinion.and vhchris' idea of the sharp, brown, accoustic guitar in the corner, i really like the sound of ! think it would look perfect !(UPDATE) i can see it sort of like this: http://www.csszengarden.com/?cssfile=/195/195.css&page=0
  10. I assume you mean some kind of website where people go to play games, maybe pay or something. Well...It's possible using just HTML/CSS, but it would be basic. I'd reccomend learning PHP & MySQL .. as there will probably be a lot of pages (for example details of the game) which you'd have to replicate over and over. PHP & MySQL would allow you to create dynamic webpages .. for example, if you create a table in a database for all the details, and assigned each record a unique id.. when it came to creating the details page for every game, you could just have something like:details.php?game_id=23"In details.php you would have a script to retrieve the 'game_id' and use it to look-up the details in the database, and then print them out.you could also use PHP to create a search engine, user system, etc.

  11. I'd use JavaScript for something like that .. that way you can have it update instantly.You'd be best having seperate images for the thumbnails (so that when they're reduced in size they don't look really bad quality) and then on each thumbnail image, have an 'onclick' event to load a given url into the big, main image.I assume when you say values you mean some sort of caption, so you'll be best creating an array to store them in.

    <script type="text/javascript">var captions = new Array();  caption[0] = 'Caption 1';  caption[1] = 'Caption 2';  caption[2] = 'Caption 3';image_url = new Array();  image_url[0] = 'gallery/image1.gif';  image_url[1] = 'gallery/image2.gif';  image_url[2] = 'gallery/image3.gif';</script>

    Basically, that sets an array full of captions, and an array full of image URLs. You'll need to change the URLs of the images, change the captions, add more, etc. Then once you have finished, each image with it's matching caption should have the same array index (eg. "Caption 1" and "gallery/image1.gif" both have "0")So when you write out the small thumbnail images, use something like:

    <img src="gallery/image1_thumb.gif" onclick="loadBig('0');" />

    Place this function in the <head>:

    <script type="text/javascript">function viewBig(i) {  document.getElementById('main_image').src = image_url[i];  document.getElementById('caption_div').src = caption[i];}</script>

    You'll need to create the main image and give it an id of "main_image", then create a div, place it where ever you'd want the captions to be and give i an id of "caption_div".--------It's fairly basic .. you can download much more advanced ones, just google "javascript gallery".

  12. Divs .. i think if it's to be the next best thing, it would be more successful if it's coded more professionally.And what about something like .. imdead.net / imdead-boards.com / imdead-forums.com ?

  13. php.net isn't working at all - they must be having some server problems or something. You can try googling "php file upload errors" and your error code to try and fine an explanation.

×
×
  • Create New...