Solved

scroller vs inline frame

Posted on 2004-04-01
7
210 Views
Last Modified: 2010-04-27
Hi everyone!

I really *dislike intensely* frames.  I've got a situation of a very long list to place on a page, the contents of which are important to be searched.  Instead of dragging this list out for miles and miles on a page, I'm trying to find useful alternative solutions to reserve space.

One alternative is an inline frame.  

Another, is a javascript scroller, which seems to be working great.  It has an up and down arrow, is not a separate file, and aside from viewers not having a conventional scroll bar (I bet I could make these up down buttons a whole lot bigger), it has the same end effect.

In terms of being properly indexed, which do you think is best?    

In addition, I can take all the code this scroller produces from the head and place it into an external .js file.  Still needs to be loaded, but it's not in the important file.
0
Comment
Question by:linque
  • 4
  • 3
7 Comments
 
LVL 29

Expert Comment

by:coreybryant
ID: 10736248
Well a third option is also CSS (div).  That is what I have used in the past.  It is my understanding that most SE do not read the iframes & most are unable to parse the javascript so anything that you have in there will not be read.  

But using a div in CSS - that should alleviate both of your problems.

-Corey
0
 

Author Comment

by:linque
ID: 10736531
Hi Corey

but can a div have scrolling functionality?  If so, I think I am not sure how to do that..
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 10736647
Yes - take a look @ www.rockctech.com - that scroll is a div actually.  I used a cell to expand everything & then used:
#main
{
width:100%;
height:100%;
overflow:auto;
}

-Corey
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:linque
ID: 10736675
that's very kewl, and will probably work for me as well.  what about browser compatability?  should I be worried about that in this case?
0
 
LVL 29

Accepted Solution

by:
coreybryant earned 250 total points
ID: 10736936
:)  Had to do a little research on this.  I usually program it & that is it.

For the oveflow, width, height: http://www.westciv.com/style_master/academy/browser_support/page_layout.html

Most of the main & up to date browsers seem to support it.

-Corey


0
 

Author Comment

by:linque
ID: 10738124
thank you Corey for your time, effort, clarity and "EXPERT-ise"  :)

linque
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 10738152
Anytime.   Good luck with the site!  There are some fantastic CSS experts in that topic when you get ready to tackle that :)

-Corey
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question