Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Stop a header or non-background image from scrolling?
Old 07-06-2004, 09:37 AM Stop a header or non-background image from scrolling?
Average Talker

Posts: 28
Trades: 0
Hi guys!

I *know* this can be done because I did it a few weeks ago and now, for the life of me, can't recall or figure out how I did it (I don't have the original code anymore).

On my site there is a wizard (currently an emporer placeholder graphic) and a logo (currently a lousy one) on the left side in a table cell. Since they have a black background, I want to *stop* the logo and wizard from scrolling with the rest of the table. Reason: On long pages (like my links page) I end up with an empty black sidebar for a long period of scrolling. I'd like the wizard and logo to sit in that bar while the person scrolls the page. This will create the illusion of frames even though there are no frames.

Tincture Adept

Any input on how to do this? I remember it was a real simple bit of code, but now I can't find it online anymore.

Best Regards

Jarrett
Tincture is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-07-2004, 03:54 AM
Average Talker

Posts: 19
Trades: 0
i dont really understand what u want, but heres some ideas, for a background to not scroll u would use :
HTML Code:
<body background ="backgroundimage" 
bgproperties="fixed"> 
also for a individual section you could use css and do something like

HTML Code:
<style type="text/css"><!--
.place {
           background url(ur_image_here)
           no-repeat fixed;
         }
-->
</style>
Hope it helps
marcusami is offline
Reply With Quote
View Public Profile
 
Old 07-08-2004, 01:33 PM
tammyhart's Avatar
Extreme Talker

Posts: 212
Location: Birmingham, AL
Trades: 0
yes, what he said is how you can stop the background from scrolling. I love this feature, I use it myself. But for your logo, the only thing I can think to suggest would be to make a fixed sideFrame. This is a sinch with dreamweaver, or other programs. If you don't know how to do it, I would be happy to help you out, or I'm sure aomeone else could.

You could make it where your frame ends on the right with the black, and then on your mainFrame area, create the homepage with no left margin, and start out with the contacnt on a table with a black column and then go over to that gold bar you have.

You could also use a floating layer javascript so that as you scroll down the page, the image "floats in the black bar. I sue one that found on www.javascript-FW.com. It's easy to use, just replce his menu with a larger layer and spacer image, and put your image on the layer. This would probably be the easiest thing to do, since you could use the page you already have and just add the script.

Hope this helps or at least points you in the direction you want to go.
__________________
Tammy Hart

Please login or register to view this content. Registration is FREE

Last edited by tammyhart; 07-08-2004 at 01:38 PM..
tammyhart is offline
Reply With Quote
View Public Profile Visit tammyhart's homepage!
 
Old 07-08-2004, 01:35 PM
Average Talker

Posts: 28
Trades: 0
Good ideas folks! It's frustrating a bit because I did this little trick with just a tiny bit of code. Basically the whole page except that one graphic would scroll. Almost like it was on its own layer.

But in any case, I have discovered (since, like, yesterday) the joy of designing in PS7 using slicing etc and am going to completely re-think the site

Jarrett
Tincture is offline
Reply With Quote
View Public Profile
 
Old 07-08-2004, 01:39 PM
tammyhart's Avatar
Extreme Talker

Posts: 212
Location: Birmingham, AL
Trades: 0
Thank goodness for image slicing! And for PSP, My favorite program.
__________________
Tammy Hart

Please login or register to view this content. Registration is FREE
tammyhart is offline
Reply With Quote
View Public Profile Visit tammyhart's homepage!
 
Reply     « Reply to Stop a header or non-background image from scrolling?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18915 seconds with 11 queries