[Javascript] Image Change

Information - Abyss Info at Abyss.ws
Mon Jul 16 17:54:19 CDT 2007


Dear Terry,

Thank you for yoru reply, someone has given me a solution with AJAX

Thank you for your time anyway.

Regards
Abyss.

----- Original Message ----- 
From: "Terry Riegel" <riegel at clearimageonline.com>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Tuesday, July 17, 2007 4:50 AM
Subject: Re: [Javascript] Image Change


> Actually as I read your question it did seem like you are asking  
> about the nature of the implementation. As such I can understand why  
> Paul would comment on that aspect of the site. Perhaps it could be  
> improved by providing alternate behavior when js is detected (like  
> waiting for the images to all load).
> 
> As far as how to do it. Is there a more specific question. Your  
> original inquiry seems a little broad.
> 
> 
> Terry
> 
> 
> On Jul 16, 2007, at 5:23 AM, Information - Abyss wrote:
> 
>> Dear Paul,
>>
>> Thank you for the reply, I appreciate it, but my question was not  
>> if it is a good implementation or not - the question was "how do i?"
>>
>> Regards
>> Abyss
>>
>>
>> ----- Original Message ----- From: "Paul Novitski"  
>> <paul at juniperwebcraft.com>
>> To: <javascript at LaTech.edu>
>> Sent: Monday, July 16, 2007 1:36 PM
>> Subject: Re: [Javascript] Image Change
>>
>>
>>> At 7/15/2007 06:09 PM, you wrote:
>>>> If i wanted to do something similar to this
>>>>
>>>> <http://triggsmitharchitects.com/project.php?id=5>http:// 
>>>> triggsmitharchitects.com/project.php?id=5
>>>>
>>>> see the smaller thumbs? and then when you click on them the  
>>>> larger image loads - how would i do that with javascript? they  
>>>> seem to be reloading the entire page - which I would think is a  
>>>> "bad implementation" when you can use client side to fix it.
>>>
>>>
>>>
>>> Actually, I think the page you've pointed us to is designed fairly  
>>> well. When JavaScript is absent (disabled or not yet loaded),  
>>> clicking on a thumbnail reloads the page with the requested image  
>>> showing.  After the page finishes loading and JavaScript launches,  
>>> the images are indeed swapped immediately.
>>>
>>> The problem with the implementation that you discovered but didn't  
>>> understand is that JavaScript doesn't kick in until everything on  
>>> the page has downloaded, including those several large pre-loaded  
>>> images.  So if you're quick to click on a thumbnail you'll catch  
>>> it before it has time to shift from server-side to client-side  
>>> functionality.
>>>
>>> Regards,
>>>
>>> Paul
>>> __________________________
>>>
>>> Paul Novitski
>>> Juniper Webcraft Ltd.
>>> http://juniperwebcraft.com
>>> _______________________________________________
>>> Javascript mailing list
>>> Javascript at LaTech.edu
>>> https://lists.LaTech.edu/mailman/listinfo/javascript
>>
>>
>> _______________________________________________
>> Javascript mailing list
>> Javascript at LaTech.edu
>> https://lists.LaTech.edu/mailman/listinfo/javascript
>>
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list