Solved

scroller vs inline frame

Posted on 2004-04-01
7
201 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Parked Domain Names, Why? 11 83
Ads like this 8 75
seo optimization 5 64
PayPal India troubles 2 47
Many times, I come across people who own various domains in addition to their primary domain and are simply redirecting them to their primary domain.  These people often consider building a microsite (http://en.wikipedia.org/wiki/Microsite) on those…
Panda2.5's Release Date The latest Google Panda algorithm update was released late on Tuesday, September 27th, and was noticed to have started affecting website traffic on Wednesday, September 28th.  Google did not proactively announce this update,…
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:
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now