Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 2nd, 2006, 10:52 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default scrolling

On this page

http://www.jacintotrading.com/about

the text in the middle is in a iframe. This enables the scroll just for the text and not the whole page.

I want to do something similar to this but all in the same page, is this possible, if so any ideas?
  #2 (permalink)  
Old November 2nd, 2006, 10:58 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I dont understand what you mean; if you are talking about making the iframe the size of the page that is as simple as changing its width and height properties.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
  #3 (permalink)  
Old November 2nd, 2006, 11:00 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no..

i want to make it just one page, without an iframe

but have the same functionality

  #4 (permalink)  
Old November 2nd, 2006, 11:08 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Uhhh. You might be able to set up your page layout as a fixed background so that when the user scrolls the page only the text moves but that will look horrid because the text fill flow over top of your site design. If memory serves me, you can scroll a DIV tag through CSS using the OVERFLOW attribute but you will have to do some checking on that.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
  #5 (permalink)  
Old November 2nd, 2006, 12:28 PM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

overflow div did the trick

cheers

  #6 (permalink)  
Old November 2nd, 2006, 12:35 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Glad it worked out for you.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrolling into TextBox adyrotaru .NET Framework 1.x 2 January 28th, 2006 08:39 AM
scrolling carro123 Javascript How-To 0 June 6th, 2005 12:29 PM
Scrolling Textbox interrupt Javascript How-To 6 January 11th, 2005 10:29 AM
scrolling smn2 Classic ASP Professional 1 August 28th, 2003 06:57 AM
Scrolling smn2 Classic ASP Basics 0 August 28th, 2003 05:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.