Curtis Thompson
Forum Replies Created
-
hello…
i did a script like this for my niece – here’s a stripped out version of mine with a test function:
note that the test doesn’t validate input, as the script would have a realistic date hard-coded into the variables…
hope that helps!
sitruc
-
hello…
well – technically safari users can use your cart, but i agree that is not desirable. i would provide the instructions as they have them on your cart page if their user agent says safari, and then also perhaps consider an alternative shopping cart going forward…
sitruc
-
hello…
ahh – ya. that’ll work too. sorry. sorta spaced the mime type addition in htaccess… :-/
you might not be able to override that on godaddy, though – apache can control pretty strictly what you can and can’t override in that htaccess file, and so they might not let you add mime types, meaning that your example would never work…
(so if that works then cool – otherwise, that’s a heads up as to a potential culprit)
sitruc
-
hello…
yup – that’s working as advertised. not sure what i should say?
(w/o seeing your example, it’s hard to offer anything else, unfortunately)
sitruc
-
hello…
nope – not related to htaccess. i’d guess that your browser knows what that type of content is, so it opens it by itself instead of prompting you as to what you want to do with it.
you can add a note to users to right-click and save, or you can add a php or other type of script wrapper that forces a download. the latter would require a bit of scripting knowledge, however…
sitruc
-
hello…
[Donna Arbogast] “1 – how did you find the css? “
the link to the file is in the source of the page…
here’s a simple example that i made which uses all his css and his image:
https://sitruc.com/cow/img_scale/
all the css needed is in the page so if you view the source you’ll see it there…
hope that helps!
sitruc
-
hello…
ahh – ok. well – the beauty of the web is you have access to all his source code and you have a working example there…if you inspect that element, you’ll see:
<div class=”centerimg”><img src=”images/home/billdan2.jpg” alt=”Balancing Rocks at Crissy Field July 5, 2003″ /></div>
and then you can see the related css bits in the style sheet:
https://www.rock-on-rock-on.com/styles/index1style.css
i’d try a real basic page using that html/css combo and you’ll probably get it…
hope that helps!
sitruc
-
hello…
hmm – sorry. i’m not seeing what you’re trying to do there. what on that page is the thing that you are trying to replicate?
sitruc
-
hello…
w/o the context of the page it’ll be tough to offer a solution – do you have an example?
sitruc
-
hello…
that is a non-standard tag that you shouldn’t probably use – microsoft invented it years ago, and other browsers support it to be nice…
https://en.wikipedia.org/wiki/Marquee_tag
there is a proposed css spec for it, but for now you should use a javascript equivalent or the likes, i think…
(especially if you want valid html, as it won’t ever pass those tests as it’s not a valid tag)
sitruc