Hi,
Was wondering if anyone knows if it's possible to code so that a scrollbar shows up on the right in an IFRAME instead of the left side of the frame. If so please post code. Thanks.I believe it is possible, but it would take a lot of extra JavaScript, and it would make your site completely crap accessibility-wise. People are used to having the scrollbars on the right, therefor, that is where they should be left. Also, I am sure that you don't need an IFRAME, as they are also bad.Hey thanks for your reply. I'd rather have an IFRAME rather then the alternative: put everything in a series of tables and have the whole page reload just when the user goes to a different section, or learn a whole new type of programming language just to avoid using an IFRAME. Plus, I've used iframes before and have never had any trouble with them, but if you have a relatively easy solution please let me know. Thanks.Basically what I want to do is use a "content window" similiar to what I did here: <!-- w --><a class="postlink" href="http://www.lockandkeyrock.com">www.lockandkeyrock.com</a><!-- w --> and avoid having the whole page to reload everytime someone goes to a different section. If I can avoid using iframe I will but I wouldn't like to use just plain frames either because that becomes a positioning nightmare like my portfolio did: <!-- m --><a class="postlink" href="http://www.existest.org/portfolio">http://www.existest.org/portfolio</a><!-- m --> where it perfectly fine in some browsers then it's not aligned properly at all in others (see IE for mac)Well, I strongly recommend not using tables anymore, unless they are being used to display tabular data. For layout, I suggest looking into CSS/XHTML, it is very simple to learn, and allows you to customize the look and feel of your site a lot easier than HTML tags. Also, it's valid, so your site will be more compatible with future browsers. For tutorials and lessons on these subjects, visit <!-- m --><a class="postlink" href="http://w3schools.org/">http://w3schools.org/</a><!-- m -->. As for repeating the content of your page, why not use server-side includes (<!-- m --><a class="postlink" href="http://www.carleton.ca/~dmcfet/html/ssi.html">http://www.carleton.ca/~dmcfet/html/ssi.html</a><!-- m -->)?
**EDIT**
And for that scrolling window, you can simply use an overflow div, which you should be able to learn about at <!-- m --><a class="postlink" href="http://w3schools.org/.thanks">http://w3schools.org/.thanks</a><!-- m --> again for the info, I'm definetly gonna check it out, as I should learn that stuff anyways. You've been really helpful.No problem, glad I could help!Ok just ran through the XHTML Tut. pretty easy, the CSS one wasn't bad either, but I am still in the dark on how to create a site similiar to the site I mentioned earlier (<!-- w --><a class="postlink" href="http://www.lockandkeyrock.com">www.lockandkeyrock.com</a><!-- w -->) with CSS and SSI. Could you link me up to some sites that don't use tables for arranging graphics so I could look at the code? I tried searching but I couldn't find any. Thanks.Yes, even though the number of Valid, standards-compliant sites is slowly increasing, there are still much more sites out there which were designed without standards in mind. Here a just a few sites that use XHTML/CSS for layout (most or all of them are blog sites, because I visit them regularily, so their URL's come to mind first):
<!-- m --><a class="postlink" href="http://www.alistapart.com/">http://www.alistapart.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.mezzoblue.com/">http://www.mezzoblue.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.zeldman.com/">http://www.zeldman.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.ryanbrill.com/">http://www.ryanbrill.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.hicksdesign.co.uk/">http://www.hicksdesign.co.uk/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.kitta.net/">http://www.kitta.net/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.overcaffienated.net/">http://www.overcaffienated.net/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.littleyellowdifferent.com/">http://www.littleyellowdifferent.com/</a><!-- m -->
-Danwow you really live up to your title "Awsome Dude" thx again No problem, and good luck!couldn't you just do dir: lft or something like that
<!-- w --><a class="postlink" href="http://www.madddidley.comdir">www.madddidley.comdir</a><!-- w -->: lft only works in, reversing the scrollbar, in IE.
Was wondering if anyone knows if it's possible to code so that a scrollbar shows up on the right in an IFRAME instead of the left side of the frame. If so please post code. Thanks.I believe it is possible, but it would take a lot of extra JavaScript, and it would make your site completely crap accessibility-wise. People are used to having the scrollbars on the right, therefor, that is where they should be left. Also, I am sure that you don't need an IFRAME, as they are also bad.Hey thanks for your reply. I'd rather have an IFRAME rather then the alternative: put everything in a series of tables and have the whole page reload just when the user goes to a different section, or learn a whole new type of programming language just to avoid using an IFRAME. Plus, I've used iframes before and have never had any trouble with them, but if you have a relatively easy solution please let me know. Thanks.Basically what I want to do is use a "content window" similiar to what I did here: <!-- w --><a class="postlink" href="http://www.lockandkeyrock.com">www.lockandkeyrock.com</a><!-- w --> and avoid having the whole page to reload everytime someone goes to a different section. If I can avoid using iframe I will but I wouldn't like to use just plain frames either because that becomes a positioning nightmare like my portfolio did: <!-- m --><a class="postlink" href="http://www.existest.org/portfolio">http://www.existest.org/portfolio</a><!-- m --> where it perfectly fine in some browsers then it's not aligned properly at all in others (see IE for mac)Well, I strongly recommend not using tables anymore, unless they are being used to display tabular data. For layout, I suggest looking into CSS/XHTML, it is very simple to learn, and allows you to customize the look and feel of your site a lot easier than HTML tags. Also, it's valid, so your site will be more compatible with future browsers. For tutorials and lessons on these subjects, visit <!-- m --><a class="postlink" href="http://w3schools.org/">http://w3schools.org/</a><!-- m -->. As for repeating the content of your page, why not use server-side includes (<!-- m --><a class="postlink" href="http://www.carleton.ca/~dmcfet/html/ssi.html">http://www.carleton.ca/~dmcfet/html/ssi.html</a><!-- m -->)?
**EDIT**
And for that scrolling window, you can simply use an overflow div, which you should be able to learn about at <!-- m --><a class="postlink" href="http://w3schools.org/.thanks">http://w3schools.org/.thanks</a><!-- m --> again for the info, I'm definetly gonna check it out, as I should learn that stuff anyways. You've been really helpful.No problem, glad I could help!Ok just ran through the XHTML Tut. pretty easy, the CSS one wasn't bad either, but I am still in the dark on how to create a site similiar to the site I mentioned earlier (<!-- w --><a class="postlink" href="http://www.lockandkeyrock.com">www.lockandkeyrock.com</a><!-- w -->) with CSS and SSI. Could you link me up to some sites that don't use tables for arranging graphics so I could look at the code? I tried searching but I couldn't find any. Thanks.Yes, even though the number of Valid, standards-compliant sites is slowly increasing, there are still much more sites out there which were designed without standards in mind. Here a just a few sites that use XHTML/CSS for layout (most or all of them are blog sites, because I visit them regularily, so their URL's come to mind first):
<!-- m --><a class="postlink" href="http://www.alistapart.com/">http://www.alistapart.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.mezzoblue.com/">http://www.mezzoblue.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.zeldman.com/">http://www.zeldman.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.ryanbrill.com/">http://www.ryanbrill.com/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.hicksdesign.co.uk/">http://www.hicksdesign.co.uk/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.kitta.net/">http://www.kitta.net/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.overcaffienated.net/">http://www.overcaffienated.net/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.littleyellowdifferent.com/">http://www.littleyellowdifferent.com/</a><!-- m -->
-Danwow you really live up to your title "Awsome Dude" thx again No problem, and good luck!couldn't you just do dir: lft or something like that
<!-- w --><a class="postlink" href="http://www.madddidley.comdir">www.madddidley.comdir</a><!-- w -->: lft only works in, reversing the scrollbar, in IE.