![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi! "Robert Wagner" <RobertWagner (AT) alum (DOT) mit.edu> schrieb im Newsbeitrag news:QYWSa.165939$8B.17704 (AT) twister (DOT) nyroc.rr.com... I want to have only the left portion of the right frame's content initially visible. Is this possible? How? I wonder what you plan to do with that. What should be the sense of scrolling between the pictures ? Since not every browser support JavaScript or the user has disabled JavaScript, your scroll function will not work everywhere. So, if these 2 pictures are the only content on the page, i would recommend to make 2 different pages. One page with the first picture, and the other with the second, and then use a simple <a> to jump between both pages. That would be the most compatible way. If you still what to do it using JavaScript, i would recommend to simply change the image-src instead of scrolling ... like : img src="../Robert.jpg" width="113" height="168" onclick="if (this.src=='http://home.gwi.net/~rwagner/Robert.jpg') { this.src='../transport_pgs/ebus.jpg'; this.width='216'; this.height='117'; } else { this.src='../Robert.jpg'; this.width='113'; this.height='168'; }" style="cursor:hand;" alt="" / If that's not what you need, maybe you can expain a bit more what you plan to do. Cu, Jens --- http://www.pixelforge.de http://www.digitalcube.de |
![]() |
| Thread Tools | |
| Display Modes | |
| |