We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

scroller vs inline frame

linque
linque asked
on
Medium Priority
243 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.
Comment
Watch Question

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

Author

Commented:
Hi Corey

but can a div have scrolling functionality?  If so, I think I am not sure how to do that..
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

Author

Commented:
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?
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
thank you Corey for your time, effort, clarity and "EXPERT-ise"  :)

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

-Corey
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.