Skip to main content

another site check! 77 Responses

Last post: 9 years, 11 months ago | Thread started: Jul 16, 03, 3:33 a.m.

RespondNew TopicDisable Images

  • stewart

    have a look at this:

    http://www.vahk.nl/client/nedap/…

    i know it works on mac IE5, but with pc IE the horizontal scroll function on clicking the text under the logo doesnt work the way i want...

    those textlinks are put in an iframe under the logo, with this action:
    onClick="parent.scroll(1740,0)"

    anyone with a solution?

    Jul 16, 03, 3:33 a.m. – Permalink
  • jevad

    where's your jscript function foolio!!

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 16, 03, 3:36 a.m. – Permalink
  • stewart

    damn, i'm a dummy.

    do you have a suggestion, jevad?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 16, 03, 3:37 a.m. – Permalink
  • jevad

    var x = 0;
    var dest = 0;
    var distance = 0;
    var step = 0;
    var destination = 0;

    function scrollit(destination) {

    step = 5;

    dest = destination;

    if (x<dest) {

    while (x dest) {

    while (x>dest) {

    step += (step / 2000);

    if(x >= (0+step))
    {
    x -= step;
    scroll(x,0);
    }
    else { break; }
    }

    if(dest >= 0) { scroll(dest,0); }

    x = dest;

    }

    if (x<1) {x=1}

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 16, 03, 3:50 a.m. – Permalink
  • stewart

    thanks jevad, but this looks a bit 2advanced. do you know a link to a tutorial page or online example?

    do you write those scripts yourself? i'm so jealous.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 16, 03, 4:12 a.m. – Permalink
  • jevad

    hahah - I hacked that from the QBN certified window! Right-click - view source...It's pretty easy to modify...

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 16, 03, 4:13 a.m. – Permalink
  • stewart

    anyone else?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 16, 03, 5:43 a.m. – Permalink
  • stewart

    hey jevad! thanks, and i've made some changes:

    http://www.vahk.nl/client/nedap/…

    BUT: press a button on the left and the window scrolls to the right, and after that use the scrollbar to scroll back to the left.

    and NOW: on pressing another button, the position of the first scroll is added to the second one!

    aaah!

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 16, 03, 6:21 a.m. – Permalink

Login or Register to respond to this

Skip to main content