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.

JavaScript Forum


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



Reply
Javascript / CSS / table (floating image?)
Old 08-15-2006, 04:58 AM Javascript / CSS / table (floating image?)
JA1
JA1's Avatar
Novice Talker

Posts: 6
Name: Jane Alford
Location: Meath, Ireland
Trades: 0
I'm sure that I've found something before that allows an image to be floated in view when a page is scrolled up and down.

Does this ring a bell with anyone, do you have an example?

Thanks,

JA1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-15-2006, 08:57 AM Re: Javascript / CSS / table (floating image?)
Oneway's Avatar
Skilled Talker

Posts: 71
Trades: 0
You can achieve this via CSS by giving the image a CSS attribute: position:fixed;
or in the tag itself:
Code:
<img src="path/to/img.jpg" width="40" height="40" style="position:fixed;">
Unfortunately, while this is part of the WC3 standards, IE5 and IE6 don't support this. So that unless your developing specifically for a browser that does support it, you'll have to find an alternative with the help of javascript.

Googling for 'javascript scroll' should get you some results.
Oneway is offline
Reply With Quote
View Public Profile
 
Old 08-25-2006, 10:05 AM Re: Javascript / CSS / table (floating image?)
JA1
JA1's Avatar
Novice Talker

Posts: 6
Name: Jane Alford
Location: Meath, Ireland
Trades: 0
Thanks for that, I'll try it.
JA1 is offline
Reply With Quote
View Public Profile
 
Old 08-25-2006, 10:41 AM Re: Javascript / CSS / table (floating image?)
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Microsoft Vs Rest of the World
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 08-25-2006, 07:13 PM Re: Javascript / CSS / table (floating image?)
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
or you can go to the OLD school geocities kind menu there are tons of samples out there google maybe for it? let me know if you need help looking for it I can try to look
__________________

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

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

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Reply     « Reply to Javascript / CSS / table (floating image?)
 

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.69423 seconds with 12 queries