Click to See Complete Forum and Search --> : iframes question
Joseph Witchard
09-18-2008, 10:08 PM
Okay, so I found a text scroller that I want to use until I'm able enough to build my own. However, it uses the <iframe> tag. I have always completely avoided coding with frames, mainly because I've always heard that search engines hate frames so much. Does anyone have some insight on what would be the best option? Should I just go with the program, or try something else because of the frame issue?
tracknut
09-18-2008, 10:45 PM
Iframes don't have many of the issues that frames do, as regards search engine and user interface quirks. I don't avoid iframes where they make sense for the application.
Dave
Joseph Witchard
09-19-2008, 12:32 AM
What issues should I be aware of, if there are any?
tracknut
09-19-2008, 10:31 AM
iframes don't validate under HTML/XHTML Strict, only Transitional. So there's some other options that may work, but if you're using a canned tool that needs iframes, you of course would need to re-write that. I doubt iframes are going away anytime soon...
Then from a search perspective I suppose Google isn't going to index the text inside this iframe as if it was part of the surrounding page.
Dave
beakerboo
09-19-2008, 12:36 PM
Well An Iframe for a simple scroller is a bit over kill. The pro's and con's have already been said so if you have the time to learn do learn.
When you say text scroller, is it input by you or can user's input it themselves? If it is by yourself use a simple Marquee. There are plenty of tutorials around which can explain it. And you can always ask someone here to give you an example.
Joseph Witchard
09-22-2008, 08:36 PM
If you're talking about the HTML <marquee> tag, I'm already using that. However, I'm trying to move my site into a more standards-compliant code layout, so that's why I'm attempting to learn how to do it with JavaScript.