| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Mar 2004 Location: Seattle
Posts: 16
![]() | Scrolling Within a Cell of a Table Im bran spankin new to java script, and only know the basics of html. I just started getting into jscript two nights ago. HTML Ive been playing with off and on for a long time. Im having lots of fun learning it- but I'm stuck I need some help. So heres the situation: I have a table with two columns and thats it. Thumbails in the left column, and when you click on the thumbnail a larger image of the thumb appears on the right. A friend wrote the java for me and i intentionaly broke it so i could learn how it worked, and i fixed it all on my own(that felt great ;-] ) So now Ive come to the point where I have the foundation of the code laid out and I would like to start adding tons of thumbnails to the left column. Well I cant figure out how to make the cell scrollable. I would prefer a button at the top and bottom because it would look cleaner. But if an actual scroll bar at the side is required then so be it, no worries. ????: NamePros.com http://www.namepros.com/programming/49829-scrolling-within-a-cell-of-table.html Hopefully that makes sense. Can somebody supply some type of code for me to use and learn with? I dont care if its java, html, css, ..etc. But obviously try not to get to complex- im a fast learner but not THAT fast haha. Thank you so much! I appreciate it!
__________________ :confused: |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Sep 2004 Location: Poland
Posts: 245
![]() | I guess the easiest thing for you would be to put the contents of the cell into a separate HTML file and put it inside the cell using <IFRAME> tag. You will be able to define a fixed size for the IFRAME, and the ocntents will be scrolled within it. Note that since your left column will be on a different page, you will need to modify yout JavaScript slightly.
__________________ Dropcatcher.de - .de domain dropcatching! |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |