Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Image rotation.
- From: trojani2000 at hotmail.com (Troy III Ajnej)
- Subject: [Javascript] Image rotation.
- Date: Tue Feb 14 16:54:03 2006
>Forms? Because most of what I do is for an application which may actually
>have a form to submit, it keeps the HTML and JavaScript compatible with
>whatever my friend decides to do with it, and it's never a bad idea to use
>a complete framework for a page, I think.
I Agree.
>I disagree with stretching the images, though.
Yes, but that was only in casse you'd like to illustrate how the page would
look if the images were all the same size.
>I think that they're horribly ugly if they're out of proportion.
I totally agree.
>However, if I know that all are the same proportion (800x600, 1024x768,
>etc...) then I'd be glad to do it. The right answer, I think, is to have
>copies of your photos which are the right size for the use.
If you have a mixed source of picture sizes, than you allways default to the
lowest resolution 800x600. Because resizing the 800x600 picture into
1024x768 is a waste and you get distinctive (same low) quality of pictures.
The problematic case is portrait aspect ratio 600x800 or 768x1024, in this
casse the best thing to do is to add a black background or other suitable
color for the layout to the picture and make them all 800x800 - they'll be
looking great esspeciully win black background pixels added.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troy III
progressive art enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>From: Shawn Milochik <Shawn@xxxxxxxxxxxx>
>Reply-To: "\[JavaScript List\]" <javascript@xxxxxxxxxx>
>To: "\[JavaScript List\]" <javascript@xxxxxxxxxx>
>Subject: Re: [Javascript] Image rotation.
>Date: Tue, 14 Feb 2006 17:14:59 -0500
>
>
>On Feb 14, 2006, at 5:11 PM, Troy III Ajnej wrote:
>
>>You can start with:
>> theTimer=window.setTimeout('startRotation()', numSecs * 1000);
>>and stop it with:
>> window.clearTimeout('theTimer')
>>
>>sugestions:
>>Try to make all the thumbs same size, (strech them if you have to). This
>>goes for other full resolution pictures too. (The page might look
>>better).
>>
>>Never understood why do you use forms.
>>
>>
>>
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Troy III
>>progressive art enterprise
>
>Troy,
>
>Thanks for the timer info. I disagree with stretching the images, though.
>I think that they're horribly ugly if they're out of proportion. However,
>if I know that all are the same proportion (800x600, 1024x768, etc...)
>then I'd be glad to do it. The right answer, I think, is to have copies of
>your photos which are the right size for the use.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
- References:
- [Javascript] Image rotation.
- From: Shawn Milochik
- [Javascript] Image rotation.
- Prev by Date: [Javascript] Image rotation.
- Next by Date: [Javascript] Image rotation.
- Previous by thread: [Javascript] Image rotation.
- Next by thread: [Javascript] Image rotation.
- Index(es):