Profil von CharlesCharlie's PlaceFotosBlogListenGästebuch Extras Hilfe
Thanks for visiting! This is where you can post class questions or ask other students for input or set up collaborations for projects.

Kommentare (14)

Bitte warten...
Der eingegebene Kommentar ist zu lang. Bitte kürzen Sie ihn.
Sie haben keine Angabe gemacht. Bitte versuchen Sie es erneut.
Ihr Kommentar kann im Moment leider nicht hinzugefügt werden. Bitte versuchen Sie es später erneut.
Zum Hinzufügen eines Kommentars ist die Erlaubnis von einem Elternteil erforderlich. Erlaubnis einholen
Der Elternteil hat die Kommentarfunktion deaktiviert.
Ihr Kommentar kann im Moment leider nicht gelöscht werden. Bitte versuchen Sie es später erneut.
Sie haben die maximale Anzahl an Kommentaren, die pro Tag zugelassen sind, überschritten. Versuchen Sie es in 24 Stunden erneut.
Kommentare wurden in Ihrem Konto deaktiviert, da in unseren Systemen angegeben wird, dass Sie anderen Benutzern möglicherweise unerwünschte E-Mails versenden. Wenn Sie der Meinung sind, dass es sich beim Deaktivieren Ihres Kontos um einen Fehler handelt, wenden Sie sich an Windows Live Support.
Schließen Sie die Sicherheitsüberprüfung unten ab, damit Sie ein Kommentar hinterlassen können.
Die bei der Sicherheitsüberprüfung eingegebenen Zeichen müssen den Zeichen im Bild oder in der Audiodatei entsprechen.

Melden Sie sich zum Hinzufügen eines Kommentars mit Ihrer Windows Live ID an (wenn Sie Hotmail, Messenger oder Xbox LIVE verwenden, besitzen Sie eine Windows Live ID). Anmelden


Sie haben noch keine Windows Live ID? Registrieren

Aaronschrieb:
Wow.  I've gotta research those "intermediate quiz" questions above.  Good stuff!

So, I've got one for you.  (I've posted it on the sitepoint forums but it's always good to go to a trusted source ;-)

Here it is.  Start thinking "database"............

----------------------------------------------------------

If I were making a database called "clothing".

And inside this table there are fields for :

-tops
-bottoms

Yet there were 2 kinds of "tops" too, such as:

-short sleeved
-long sleeved

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"?

Ugh. (brain fizzles)

---------------------------------------------------------------------

I think I should have signed it "confused".

Thanks, Charlie!

-Aaron
25 März
BRAD HAASschrieb:
Hi Kay,
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...
15 März
Kay Chinnschrieb:
Hi Brad,

I found this link which may be useful to you.

http://www.domedia.org/oveklykken/css-transparency.php

Kay Chinn
14 März
BRAD HAASschrieb:
hi charlie,
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....
14 März
Charles Smithschrieb:
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.
10 März