another site check!
- Started
- Last post
- 7 Responses
- 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?
- jevad0
where's your jscript function foolio!!
- stewart0
damn, i'm a dummy.
do you have a suggestion, jevad?
- jevad0
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}
- stewart0
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.
- jevad0
hahah - I hacked that from the QBN certified window! Right-click - view source...It's pretty easy to modify...
- stewart0
anyone else?
- stewart0
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!