Current location: Hot Scripts Forums » General Web Coding » JavaScript » Is it possible to put dynamic data display in a scrolling watermark?


Is it possible to put dynamic data display in a scrolling watermark?

Reply
  #1 (permalink)  
Old 03-28-04, 11:11 PM
Whipsmack Whipsmack is offline
Newbie Coder
 
Join Date: Mar 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Is it possible to put dynamic data display in a scrolling watermark?

Not sure if i'm making any sense. Right now I have a drop down web form that adds and subtracts data, and the results are posted somewhere on the page. The thing is, my form is so big that you have to scroll down so much that you will not see the data total at all times.

Well I want to have that data total located as a watermark so that if I scroll down, the data goes down with me so that it is always in sight.


This is the numeric display value that needs to be put in a scrolling watermark

<div id="dynamic_price" name="dynamic_price"><font class="price">$0.00</font></p></div>

<div id="dynamic_ship_price" name="dynamic_ship_price"><font class="price">$30.00</font</p></div>


Is this process possible? Is it simple?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 03-29-04, 08:22 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Yes it is possible.

I don't remember the exact commands but you can use something like document.onscroll="total_box.style.top=window.scro llHeight"

Note: the line above is not real code but it's something similar...
I can look it up if you want to but you should be able to find the correct objects and properties in a good javascript-reference.
Reply With Quote
Reply

Bookmarks


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem getting data from DataGrid on update petersza ASP.NET 5 10-19-04 11:37 PM
Print data by date perleo PHP 2 08-09-03 09:35 AM
display data sasi ASP 6 08-06-03 05:52 PM
cannot display the complete data najmun PHP 2 07-04-03 02:52 PM


All times are GMT -5. The time now is 02:14 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.