Jump to content

alphanumetrix

Members
  • Posts

    167
  • Joined

  • Last visited

Everything posted by alphanumetrix

  1. have you tried this: <?php $file = $_GET['file']; $user = $_GET['user']; header('Content-disposition: attachment; filename=Deserted.mp3'); header('Content-type: audio/mpeg'); readfile('netdog/music/Deserted.mp3', false); ?> this will force both headers. (i didn't read anything you wrote - this is just a common mistake people make with headers - so please excuse me if I'm completely off topic)
  2. Oh. I see it now. Please post your code here, so I may look at it. I can't help you, because I don't know what your codes are.
  3. an alternative is always just doing this, especially seeing how small your CSS is: <?php echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">'; echo 'body { background-color: #330000; } body, td, th { color: #FFCC99; } h1 { color: #FF6666; } h2 { color: #FF99CC; } h3, h4 { color: #CC9999; } h5, h6 { color: #FFCCCC; } a { color: #FF0033; } form { background-color: #990000; }'; echo '</style></head><body>'; require( "config.php" ); $Quote = new CQuote; if( $Quote->Get( $strQuote ) == 0 ) echo $strQuote; echo '</body></html>'; ?> there's no reason why that code above won't work. however, that code doesn't have any of what's defined in your CSS; unless you're providing it in your config.php (which doesn't make sense anyway). what does your config.php consist of?
  4. it's working fine on mine. that's really cool, btw. i've never seen that before.
  5. That code above will work, but I recommend using this one: <?php echo '<head>'; echo ' <link rel="stylesheet" href="/styles.css" type="text/css">'; echo '</head>'; require( "config.php" ); $Quote = new CQuote; if( $Quote->Get( $strQuote ) == 0 ) echo $strQuote; ?>
  6. I actually build my sites around Safari, then bridge them for FF and IE. That way, it works the same in all browsers. The animation is on motion tween. There shouldn't be any choppiness at all. I like the different size fonts, and did that diliberately. If I wanted consistency, I would have added a scroll function. My computer crashed; that portfolio is all I had left (it was some of my oldest work). About the bashing part. I read your post real quickly while I was out; I did it all from my phone in about five seconds. I didn't really take the time to look at your justifications. Time is an object for me. I have almost none, and it's definitely one of my biggest issues (especially with designing). edit: oh, and what's wrong with the shadow? i admittedly suck at shadowing, especially in drawing. I never tried validating my CSS or HTML. I didn't realize there were so many errors. However, from what I can see, there's nothing major. It's primarily xhtml, just some errors. I'm not missing brackets or anything. I do use a debugger to check my sites for major javascript and html errors, and according to that, there is none. I did what you suggested; I looked at some templates. You're right about a redesign; however, unless I decide otherwise while making it, I'm going to keep the flash version. I am just not fond of the HTML version. About the FF logos, please see what I wrote above. I actually was just searching for a quick internet-representing, popular logo when I did that. I literally spent no longer than 10 minutes on that splash page.
  7. I'd help, but that site didn't render at all for me. Did you remove the CSS?
  8. While I can agree with a lot of what you said, I'm going to have to side with Haku. Although I said not to worry about IE6, I still am sure to fix the problems in it if I have the resources (time, etc.).
  9. lol... *someone's not a fan. We're redesigning the gallery; that's why I emphasized it only took about 30 mins. I'll agree with you that there are too many images, and that's one of the reasons I came on here - to see if others agree. About the flash being terrible, you don't put up a good argument for that. All you really did was bash it. This goes a little past constructive criticism, I'd say... Anyone else have anything to say?
  10. yeah. the big thing I thought was wrong with the HTML-ver. was it was too flashy. i was also weary of the hover-sensitive flash... about the design site... it was supposed to give a change in scenery is all. as i said though, it's still a WIP. Could you put a rating on the overall design though? I'm still contemplating changing it.
  11. That all can be done, but submit buttons can only be changed to a degree. You can make it transparent, but you can't change its shape or anything. (i've tried) forms are quite simple actually, the storage and transfer of data, however, is what takes some nack.
  12. lol... it's not so complicated, man. Here's an example of how to load a variable from PHP to flash: AS loadVariablesNum("vars.php",1); if ( _level1.testVar == "itsavar" ) { // execute } PHP: <?php $MyVar = 'itsavar'; echo 'testVar=', $MyVar,''; ?> From there, you change $MyVar based on what your script needs. I didn't bother to read your code, but the thing most people have trouble with when loading variables from PHP to flash is they don't realize that they're based on levels. The variable I pulled from that file is one level 1, and therefore, I had to define that. To do the opposite (flash to PHP), you just have to execute $_POST, just as you would in PHP. You should be able to figure that much out.
  13. that's really cool. The large pages seem to be scrolling when I use it? Sorry I can't be of more assistance. It's hard to visualize in flash without actually seeing the FLA.
  14. so sorry. i didn't mean anything by that. umm... I don't think I'm thinking as clearly as I usually do, so this might not be the best method of going at it: If the heights of the elements above it are defined, then add them up. After which, move the position of your DIV to wrap around all of your other elements. Then set its height to 100%. After which, create a new DIV, give it a class, be sure you give it no background, and no height. Make the width of the new one, the same width of your previous (if you have a width). Then make its position absolute, and define "top:" in CSS as the total height of your above elements in pixels. Then use that new one as your content space. As I said, it may not be the "best" way, but that way will definitely work. With no offense to you, here is an example of it'd be set up: HTML Before Changes: <html> <head> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div height=5></div> <div height=5></div> <div id="content"></div> </body> </html> HTML After Changes: <html> <head> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="content"> <div height=5px></div> <div height=5px></div> <div id="newcontent"></div> </div> </body> </html> New CSS: div#content { height:100%; width:500px; background:whatever; } div#newcontent { /* remember, don't define the height for this */ width:500px; position:absolute; top:10px; /* because the elements above it add up to this */ overflow:auto; } That should do exactly what you're looking for. The only problem is, I'm not sure if the overflow function will work in that scenario. You're going to have to test it, I guess. Again, I could be thinking less clearly. If I think of something better, by chance, I'll let you know.
  15. simplistic and nice. nicely done.
  16. very well done site. it seems familiar though. i seen a chinese wholesale site just like it before. good work though.
  17. the background image is too big. it takes a long time to load. other than that, your layout seems to be done well. the elements seem positioned nicely. one thing i'd probably do though; the links you have to hover, i'd make them the same size as when you hover. the large size is kind'of obnoxious (figuratively speaking). just change the color. in my experience, the key to designing a nice site is simplicity. make it complicted, then simplify it.
  18. Didn't bother to read any of the other posts, so if it's solved already, ignore what I'm about to write: you may need to create a PNG fix, using JavaScript. I'd show you an example, but I can't remember how to write it off the top of my head. sorry...
  19. Try CSS: #bar { position: absolute; bottom: 0px; width: 100%; height:25px; } HTML <div id="bar">Content</div> IT should work ;-) No. You're wrong about the absolute position. That will keep it in one place when you scroll. It has to be defined as fixed. Actuall, this will work: CSS: #bar { position: fixed; width: 100%; float:bottom; height:25px; } HTML <div id="bar">Content</div>
  20. Oh. I miss-read that. :/ I was thinking more of like a CMS.
  21. I'd have to see your code (and your site maybe), but you should be able to just set the height to what you want and set the overflow function to auto with CSS for that DIV tag. That will give you the whole size of the screen, and if the content exceeds that, it'll give you a scrollbar without increasing its size. Using PHP sounds a little crazy to me. Given you resorted to that, I'm assuming you don't know CSS, or at least, you're not very familiar with it. Here's a little run down of how you'd set it up: First, you create a file and name it style.css. Then you link it to your index: <html> <head> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div></div> </body> </html> Then you define an ID for your DIV tag: <div id="content"></div> Then you open your CSS file, and put the following code into it: div#content { /*notice the hash in front of "content" - this defines the class in CSS */ height:100px; /* this is where you put the height of your DIV area */ overflow:auto; /* tells the browser not to expand when the space is exceeded, but rather create a scrollbar */ } That should do it though, given what I've read. You really should give examples in the future though; it makes it easier. Although, I do like the puzzle.
  22. Here it is: http://akatsukidesigns.com Please see the flash version and the regular version. *Also, please note this site is still incomplete. Also note, that is definitely not my portfolio. My team and I have tons of really cool graphics and stuff we made. That was just thrown together in about 30 mins.
  23. Just make your image(s) a movie clip. But be sure you have the registry set to the top middle one. (you'll see this when it asks you to name the keyframe. After which, double click on the images; you'll see a new scene. create a keyframe on about the seventh frame. this go to the frames before that, right click, and choose, "create motion tween". After which, play your movie (or flash site).
  24. Yeah, the guy above me is right, but since you're on a forum, it won't be as easy as putting a simple HTML link: <a href="#">whatever link</a> You'll have to use PHP, too. Try putting this in there: echo '<a href="LINK">Link Name</a>';
×
×
  • 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.