Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Easy Date   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-22-2007, 10:19 AM   #1 (permalink)
Inactive
 
Join Date: 08-20-07
Location: London, Ontario
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

OhCaN is liked by many
Floating Table

Hey, I was trying to figure out how to get a table to float on the left side of my page since I can't use framesets to lock the left side.

I have a few buttons that I made that I want to put into my webpage to float while the viewer scrolls down the page.

I'm using DW CS3.
OhCaN is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-22-2007, 02:10 PM   #2 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
take a look here http://www.dynamicdrive.com/dynamici...staticmenu.htm
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-22-2007, 08:33 PM   #3 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,788
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
Hmmm...you might want to think about doing that. I hate those floating buttons. The tend to bounce in a really irritating way to me. It depends on the content and your demographic but I'm not a fan of them. Just my
__________________
Experimenting
Taltos is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 09:41 AM   #4 (permalink)
Inactive
 
Join Date: 08-20-07
Location: London, Ontario
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

OhCaN is liked by many
Quote:
Originally Posted by Taltos View Post
Hmmm...you might want to think about doing that. I hate those floating buttons. The tend to bounce in a really irritating way to me. It depends on the content and your demographic but I'm not a fan of them. Just my
Hey, just wanted to know how I could lock the left side without using a frameset. I don't really care about floating menus I just wanted it to stay on the page all the time instead of people scrolling back to the top of the page.

I'd like another

Thanks
OhCaN is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 09:44 AM   #5 (permalink)
Inactive
 
Join Date: 08-20-07
Location: London, Ontario
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

OhCaN is liked by many
Quote:
Originally Posted by Capo64 View Post
Hey, I tried this but I don't float on my page but it does float on other webpages when i'm surfing. That's a bit annoying. People don't want my floater to be on their pages when surfing sports of something like that.

I just want a menu to stay stuck on the left side of my page to make it easier for people to move around without having to scroll back to the top of the page to go to the next page.

Thanks
OhCaN is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 11:54 AM   #6 (permalink)
Inactive
 
Join Date: 08-20-07
Location: London, Ontario
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

OhCaN is liked by many
Hey don't worry about the floating menu's it's a bit dumb.
I do however want to know the code for placing a
"Back to Top" link at the bottom of my pages.

That will help instead of floating tables.

Thanks
OhCaN is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 11:57 AM   #7 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 18,003
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Right after your <body> tag, put in the following.

Code:
<a name="top"></a>
Then when you want a back to top.

Code:
<a href="#top">Back to top</a>
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 12:00 PM   #8 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
I think I know what you mean. You can do this with <div>'s.

Give a <div> a fixed height and add the css as overflow: auto;

then Put the content that you want in it.

Edit: i guess not lol I just saw your last post. I'm gunna experiment with <div>'s and see if I can make what I was talking about
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 12:01 PM   #9 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,788
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
OK, next

Can you use a left menu div and then a main content div with overflow? Or is that too close to framesets?
__________________
Experimenting
Taltos is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 12:03 PM   #10 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
I'm sure you can. It'll look exactly like a frame but it'll be div's instead
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 01:01 PM   #11 (permalink)
Inactive
 
Join Date: 08-20-07
Location: London, Ontario
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

OhCaN is liked by many
That would be cool, If you could test this and put the code your next post that would be great. I'm going to go with the "back to top' for now until i get it going with <div>

Thanks and please let me know how the div's work.

Thanks
OhCaN is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 01:05 PM   #12 (permalink)
Inactive
 
Join Date: 08-20-07
Location: London, Ontario
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

OhCaN is liked by many
Quote:
Originally Posted by chicgeek View Post
Right after your <body> tag, put in the following.

Code:
<a name="top"></a>
Then when you want a back to top.

Code:
<a href="#top">Back to top</a>
Great thanks so much, I got it working 1st shot.
This was a learning day!!!!

Thanks again
OhCaN is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-23-2007, 03:31 PM   #13 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 18,003
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Quote:
Originally Posted by OhCaN View Post
Great thanks so much, I got it working 1st shot.
This was a learning day!!!!

Thanks again
Glad to help, eh?
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-24-2007, 12:42 PM   #14 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,788
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
I'm certain the general concept of 2 div's (left and main) would work. I just didn't know why framesets were not an option for you. Not good for SEO among other things but didn't know if there was some other reason.

Code:
<div id="leftmenu"> *** html for menu goes in here *** </div> <div id="maincontent"> *** html for main content goes in here *** </div>
Then the basics of the CSS for these div's looks like:
Code:
#leftmenu { float: left; width: 150px; } #maincontent { float:left; overflow:auto; }
That will make the "leftmenu" div sit on the left 150px of the page. Obviously you can change the width to whatever you need to make it fit right. The "maincontent" div will sit immediately to the left of the menu. The "overflow:auto" means that if you create enough content in that div that it would make the page stretch down below the viewport or down below the menu, then a scrollbar will appear and allow users to scroll down to see it. The menu will stay put.

There are a few caveats to this that get too complex to get into right now without a lot more info from you. This should get you started if you choose to try to go this route.

Good Luck
__________________
Experimenting
Taltos is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing data from a table based on infos from another table! anarchoi Coding Forum 0 06-16-2007 04:58 PM
Floating Image sixty6 Coding Forum 4 06-29-2006 01:05 AM
Javascript for a floating star tuzaj Web Design Lobby 3 06-30-2005 03:17 PM
Help with floating... spl1nter Coding Forum 3 09-12-2004 10:07 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:43 AM.
© Copyright 2008 V7 Inc