function softscroll that doesn't work with ie/mac

From: lallu (lallu_at_discussions.microsoft.com)
Date: 12/09/04

  • Next message: redbaron: "IE Crashing on certian web page, Spinning Wheel, Force quit"
    Date: Thu, 9 Dec 2004 02:33:08 -0800
    
    

    Hello,
    navigation system that I would like to use, uses function softscroll that
    works just fine on pc+ie, mozilla and linux but not at all with mac (ie or
    netscape).

    Is there anyone who might have an idea where the problem comes ?
    Thank you in advance.

    <SCRIPT language="JavaScript cyberversion="N1.2">

    memory_x = 0;
    memory_y = 0;
    scroll(0,0)
    function softscroll(x,y)
    {
    pas = 100;
    temp_mem_x = x;
    temp_mem_y = y;
    temp_x = memory_x;
    temp_y = memory_y;
    delta_x = (x - memory_x)/pas;
    delta_y = (y - memory_y)/pas;
    for(counter = 0; counter < pas; counter++)
    {
    scroll(temp_x,temp_y);
    temp_x += delta_x;
    temp_y += delta_y;
    }
    scroll(temp_mem_x,temp_mem_y);
    memory_x = temp_mem_x;
    memory_y = temp_mem_y;
    }
    </SCRIPT>

    and the links :

    a href="javascript:;" onClick=softscroll(2250,0 (link to page 4)
    a href="javascript:;" onClick=softscroll(1500,0) (link to page 3)
    a href="javascript:;" onClick=softscroll(3000,0) (link to page 5)


  • Next message: redbaron: "IE Crashing on certian web page, Spinning Wheel, Force quit"

    Relevant Pages

    • Linux UI vs Mac?
      ... idea of using Linux for it. ... Mac at work. ... Saving the attachment from Mozilla opens up the dreaded file/directory ...
      (alt.os.linux)
    • Re: Map of RFCers
      ... >>>with Mac is Safari so you might even have luck with that. ... > Probably did but Mozilla has other versions that will work on other Mac ... I'm not sure about Safari but it might not be a bad idea to check ... * Netscape 7.1+ (Windows, Mac, Linux) ...
      (rec.food.cooking)
    • Re: Ma gang de maudit vous autres
      ... et aucun n'a un Mac. ... Pour Linux, en tout cas, contrairement à ... son message depuis Mozilla, ...
      (soc.culture.quebec)

  • Quantcast