NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Scrolling Within a Cell of a Table

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 09-30-2004, 10:11 PM THREAD STARTER               #1 (permalink)
New Member
 
smashin's Avatar
Join Date: Mar 2004
Location: Seattle
Posts: 16
smashin is an unknown quantity at this point
 



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:
smashin is offline  
Old 10-01-2004, 09:42 AM   #2 (permalink)
NamePros Regular
Join Date: Sep 2004
Location: Poland
Posts: 245
Michau is on a distinguished road
 



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.
Michau is offline  
Old 10-01-2004, 01:02 PM THREAD STARTER               #3 (permalink)
New Member
 
smashin's Avatar
Join Date: Mar 2004
Location: Seattle
Posts: 16
smashin is an unknown quantity at this point
 



So the IFRAME tag would go inside the table\cell tags? I looked this tag up online, i think this is going to work. thank you!
__________________
:confused:
smashin is offline  
Old 10-01-2004, 01:34 PM   #4 (permalink)
Senior Member
Join Date: Dec 2003
Location: Chicago
Posts: 1,578
The Equivocate has a spectacular aura aboutThe Equivocate has a spectacular aura about
 



Just beware that IFRAMEs won't work exactly right in many browsers and are generally a pain to work with, but it works with what you need to do.
__________________
The Equivocate is offline  
Old 10-01-2004, 03:08 PM THREAD STARTER               #5 (permalink)
New Member
 
smashin's Avatar
Join Date: Mar 2004
Location: Seattle
Posts: 16
smashin is an unknown quantity at this point
 



What would you suggest equiv?
__________________
:confused:
smashin is offline  
Old 10-02-2004, 02:11 PM THREAD STARTER               #6 (permalink)
New Member
 
smashin's Avatar
Join Date: Mar 2004
Location: Seattle
Posts: 16
smashin is an unknown quantity at this point
 



thanks for the suggestion to use the iframe tag! I figured it out on my own ;-]
__________________
:confused:
smashin is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:27 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger