Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

scroller vs inline frame

Posted on 2004-04-01
7
Medium Priority
?
229 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
[Video] Create a Disruption-Free Workspace

Open offices have their challenges. And Sometimes, it's even hard to work at work. It's time to reclaim your office and create a disruption-free workspace. With the MB 660, you can:

-Increase Concentration
-Improve well-being
-Boost Productivity

 

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 1000 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

Sign your company up to try the MB 660 headset now

Take control and stay focused in noisy open office environments with the MB 660. By reducing background noise, you can revitalize your office and improve concentration.

Question has a verified solution.

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

Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
We aren’t perfect, just like everyone else.  Check out the email errors our community caught and learn the top errors every email marketer should avoid.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

885 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