-
iPad compatibility? iFrame being cut off.
That's exceedingly handy. Thanks! Hm, however, on further investigation, the layout is not glitched on the ipad peek, whilst it was, last time I checked, in real life...
-
iPad compatibility? iFrame being cut off.
Thanks. Unfortunately I rarely have an iPad handy, so its hard for me to test it...
-
iPad compatibility? iFrame being cut off.
I don't think the screen resolution is a problem. The layout fits fine and isn't stretched or squished out of its normal dimension. Iframe and PHP include debate aside, does anyone have any knowledge of this problem occurring before? Or have any knowledge of the differences between iPad safari and regular safari? Anything potentially helpful?
-
iPad compatibility? iFrame being cut off.
Because using PHP includes would require changing all the pages from .html to .php, which would totally mess up all the tech-unsavvy people that update the site...I've already looked into other options, and this is the best thing that fits their needs. I just can't switch from iframes, regardless of how deplorable they may be.
-
how did you learn graphic design?
I'm self taught. Classes are helpful though. I had a tough time with Adobe Illustrator until I took a class that included that. I think for the most part, you can get along quite well without lessons, but you might encounter a few things you need more help learning, and that's where they'd come in useful. If you want to learn graphic design on your own, perhaps read up on some articles online and just keep an eye out on the world around you. Examine what works and what doesn't, and try to figure out why. The best way to improve is to probably try your hand at it. The more you practice, the better you'll get.
-
iPad compatibility? iFrame being cut off.
Hello! I made a layout, and it looks fine on all the regular browsers, but I discovered that it's got a little glitch on the iPad. I don't have any experience with iPad compatibility, so if any of you do, that'd be quite helpful. You can see the layout here: http://ipswichschools.org/ Basically, on the iPad, the lower half of the middle nav is missing. It is an iframe, and changing that fact is not really an option. All help is appreciated! Thanks. ^^
-
What real designers drink? :)
The best designers drink nothing at all. Not even water.
-
-
Help with iframes in IE7!
Awesome, thanks!
-
Help with iframes in IE7!
I recoded part of this website: http://ipswichschools.org with iframes, and it apparently doesn't work in IE7. The oldest version of IE I can get is IE8, so I can't see what's going wrong. The new version of the site uses iframes and I think that's the problem. Does anyone here have experience with iframes and IE7? All help is appreciated! This website has a good bit of traffic, so I need to fix it as soon as possible.
-
-
Iframes not updating & possible cache problem. Help!
Ah, cool. I didn't know that could be done. Thanks!
-
Iframes not updating & possible cache problem. Help!
I recoded my school's website, and part of what I did was putting the sidebar links in iframes, so the people who update the site only have to change one file to update all the sidebars. The problem is that when people view a page with a newly edited iframe embedded in it, it does not update, at least right away. I've had to right click on the iframe, open it in a new tab, and refresh that separately to get the sidebar to update. As the website is going to be used by a bunch of un-tech-savvy laymen, I really the iframes to update right away. Is there anything that can be done? I originally wanted to use php includes, but all the files have to remain .html. ALSO. I switched out the old files with the new, but I think a lot of people have old versions of the site cache, so when they go from the homepage they're having trouble with broken links. I would rather not tell the hundreds of people who use the site to empty their cache. What can I do? Thanks.
-
-
-
PNG Resampling Program not working.
Thanks, this should help a lot. (:
-
PNG Resampling Program not working.
This program is supposed to take large pngs and resize them so their widths and heights are no larger than 700px. I wrote the same program for jpegs, and a similar one for pngs, but for some reason this particular program doesn't want to work. When I put in a large png (width and height are both over 700px), it'll output "The width is 3072 and the height is 2048," something like that, but it doesn't create or display the smaller image it's supposed to make. <?php $filename = '1.png'; $sizearray = getimagesize($filename); $width = $sizearray[0]; $height = $sizearray[1]; echo "The width is $width and the height is $height. "; if ($width > $height && $width > 700) { $new_height = ($height * 700)/$width; $new_width = 700; } elseif ($width < $height && $height > 700) { $new_width = ($width * 700)/$height; $new_height = 700; } elseif ($width == $height && $width > 700) { $new_height = 700; $new_width = 700; } else{ echo "No resizing needed"; } $image_p = imagecreatetruecolor($new_width, $new_height); $image = imagecreatefrompng($filename); imagecopyresampled($image_p, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height); imagepng($image_p, "s4.png", 3); echo "<img src='s4.png'>"; ?>
-
Help storing pattern-match in variable?
I've got it working. Thanks!
-
Help storing pattern-match in variable?
I have a pattern, a string I'd like to search through, and I want the matching section of the string to be stored in a variable. Pattern: [0-9]*(?=\.gif$) String: http://figmint.zzl.org/photos/3.gif I tested this in a regex tester and it highlighted the "3", which is what I want. I've never done this before though, so I don't know what function I should be using for this, or how to go about it. Also, I was trying to test this on my own with an if/else, and it always outputs "no match" for some reason: <?php if (preg_match("[0-9]*(?=\.gif$)", "http://figmint.zzl.org/photos/3.gif")) { echo "it matched"; } else { echo "no match"; } ?>