![]() |
frames and scrolling
I am building a a web page that has 3 frames - Logo on top, and the bottom divided into navigation bar on left and mainframe on right. The both the navigation bar and the various contents of the mainframe are long and will need scrolling. I do not want the navigation bar to have its own scrolling but rather I want it to scroll together with the mainframe. How can I implement that both these frames will have one scroll bar at the right of the screen?
|
tes...
whattt just a bout® making your site 'two' frames... aka having the "Logo on top" and the bottom frame being just a tabled® page...aka navigation bar in the 'left cell' n' the mainframe content in one cell on the just a right® ??? just a suggestion® :O))) |
tes...
as per your pm... "quote...Thanks for your reply. However, my point in using frames is so that the content of the mainframe changes depending which button on the navigation bar is clicked. Would that work if if I used a table of two cells instead of frames? If so, how would that be coded? Thank you...endquote" first of all??? tis bestest ifin' things are just a posted® in this forum/thread so thattt alll just a following® it can have their perhaps next question just a nswered® tooo k??? sooo... yes it would still work if you did what /me just a suggested®... sayyy for instance??? you just a clicked® the 'link1'??? thennn the page that would just a load® into your bottom frame would be like... <a href="link1.html" target="bottomframename">link1</a> n'that link1.html??? would have the menu on the left cell n' the information for it in the righthand side cell... nowww from this page??? sayyy the click on the ... link2 link??? thennn the coding would be... <a href="link2.html" target="nameofbottomframe">link2</a> with the menu being the same as in the link1.html however nowww??? the information in the righthandside cell??? would be thattt belonging to link2 :O))) aka youd have just a linkX.html® page for eachhh link...:O))) does that just a help® to explain it??? |
frames and scrolling
To Justame,
Thanks. I'll have to try what you suggested. Are there any links on the web that use this method that you can point me to? |
tes...
in verrry general just a terms® it would be something like this...(/me didnt just a include® all the 'properties' of the frames though ) <html> <frameset rows="200,*"> <frame src="logo.html" name="logo"> <frame src="menucontent.html" name="content"> </frameset> </html> thennn the logo.html would look like this... <html><head><title>my logo html</title></head> <body><img src="logo.jpg" width="" height="" border="0" alt="description"> </body> </html> n' just a thennn® the menucontent.html would look like this... <html><head><title>my menu content html</title></head> <body> <table><tr><td> in here are all your links... <a href="link1.html" target="content">link1</a><br> <a href="link2.html target="content">link2</a><br> <a href="menucontent.html" target="content">HOME</a></td><td>this would be your 'general first showing page information</td></tr></table> </body> </html> n' thennn following just a long®....thisss is what your link1.html would look like... <html><head><title>my link 1 html</title></head> <body> <table><tr><td> in here are all your links... <a href="link1.html" target="content">link1</a><br> <a href="link2.html target="content">link2</a><br> <a href="menucontent.html" target="content">HOME</a></td><td>this would now contain your information relating to link1</td></tr></table> </body> </html> does thattt just a help® ya??? n' as for points on the web???ummm ifin' you did just a search® on frames in general??? /me is sure youll find morrre examples thannn you probably could just a ever® need...:O))) |
Here's a link to a tutorial of sorts regarding frames that might be worth having a look at ;) :
http://www.bravenet.com/reviews/frames/index.php |
frames, tables, and scrollling
Justame,
Thanks. I'll try it out |
| All times are GMT +1. The time now is 06:44 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.