Thanks for visiting! This is where you can post class questions or ask other students for input or set up collaborations for projects.
Comments (14)
Please wait...
Sorry, the comment you entered is too long. Please shorten it.
You didn't enter anything. Please try again.
Sorry, we can't add your comment right now. Please try again later.
To add a comment, you need permission from your parent. Ask for permission
Your parent has turned off comments.
Sorry, we can't delete your comment right now. Please try again later.
You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
Complete the security check below to finish leaving your comment.
The characters you type in the security check must match the characters in the picture or audio.
To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in
Would it be best and/or possible to store "tops" as both an integer (say, 0 for "short sleeved" and 1 for "long-sleeved") and
still have a text field for some text info about that top (i.e.
"red/white striped button-up"? Or does that mean I should just make
another table for "tops" too?
(One for "type of top" (1 or 2), and one for "description VARCHAR(30)
In other words, one field in one table can only hold one type of info, correct?
It's hard to know what's possible and best at the same time.
Also, this question was just as difficult to word as its subject matter was confusing. I get meta-terrible points.
Thanks.
EDIT: Actually, I wouldn't necessarily have to make the "tops" field a
binary int, as that could make my search one step deeper (i.e. I'd have
to specify somewhere that "0" is "short-sleeved" and "1" is
"long-sleeved"), right?
I could just have a
Code:
CREATE TABLE tops ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, sleeve VARCHAR(2), );
"Sleeve" would be either "s" or "l" for short or long.
Or would it be easier/more-efficient to search on "short" or
"long"?
Thanks for the response, transparent CSS that's cool! But i think if i can just dynamically alter the style sheet on the page load based on the browser and/or OS it'd be more implement-able (that a word?)...i could just brighten/darken specific areas/images according to whatever client is viewing...
question re the HLINK method(?) we went over on thursday... I have a client i'm setting up the splash page for..she uses a mac(safari/firefox), so the color gamut is very different (lighter, more washed out depending on how the image is created or the user's color settings) so she's not happy with color on a mac, but digs it on a pc... can i server side evaluate what browser/OS is being used and then HLINK to a different style sheet based on that? the HLINK thing seems pretty simple, i just can't figure out the browser evaluation on pageload....
Hi Jim, without looking at your code I would have to quess that you are actually poiniting to two different files. There is no html reason why those two browsers would didplay animage differently. What could be happening though is caching. One or the other could be looking at a different file although it has the same url. I would flush your browser cache and try again. Also don;t forget to check your path to the images. Also you can try browsing directly to the images rmemeber a web page will open an image just like any other resource.