Log In · Register

 
2 Pages V  < 1 2  
Closed TopicStart new topic
iframe scrollbars, help....arg!
*[2]Nekked*
post Nov 4 2004, 12:06 PM
Post #26





Guest






slice the images.
 
xquizit
post Nov 4 2004, 12:21 PM
Post #27


wanderlust personified.
*******

Group: Official Designer
Posts: 7,515
Joined: Jan 2004
Member No: 797



Hmmm... I don't believe there is a way to do that. There are alternative ways to edit the iframe scrollbars, as previous posters have pointed out.

I assume your pages are using includes since your site is written in php and I assume that each of your pages are using a common header .php file. And that within this header file, you've either linked a stylesheet or have your stylesheet code in there. Well either way, just edit the stylesheet to change the the scrollbar colors within the "body" attribute. Because all your pages are linked to the same stylesheet through their common header file, the changes will be made across all pages and there you go, problem solved. And you only had to edit one file.

One question tho, since you've coded your site in PHP, why WOULD you want to use iframes if you could just dynamically include the content? That would be more efficient than using iframes, which from what I've seen, you've already done. The World Wide Web Consortium (W3C) discourages the use of iframes anyway as because of issues with browser compatability, accessibility and other things that would just be inconvenient for certain internet users. I'm sure you could care less, but it's just a tip.


-edit-

I was just browsing your site and now I see what you're doing with the iframes. I would suggest you dynamically include the different content but place it within a div, setting the scrollbar to auto and applying a width and a height as you did with the iframe. Then all you would have to do is edit the scrollbar colors of that div. It would look exactly like what you have now, but would be more efficient and load quicker than if you used iframes.

I guess that would just mean additional work, since you've already acheived the look that you wanted. This is just for future reference.
 
*[2]Nekked*
post Nov 4 2004, 12:24 PM
Post #28





Guest






QUOTE(xquizit @ Nov 4 2004, 1:21 PM)
Hmmm... I don't believe there is a way to do that. There are alternative ways to edit the iframe scrollbars, as previous posters have pointed out.

I assume your pages are using includes since your site is written in php and I assume that each of your pages are using a common header .php file. And that within this header file, you've either linked a stylesheet or have your stylesheet code in there. Well either way, just edit the stylesheet to change the the scrollbar colors within the "body" attribute. Because all your pages are linked to the same stylesheet through their common header file, the changes will be made across all pages and there you go, problem solved. And you only had to edit one file.

One question tho, since you've coded your site in PHP, why WOULD you want to use iframes if you could just dynamically include the content?

didnt i say that?

like 4 times?



*sigh*


edit:// yeah thats why my new blog doesnt have any iframes hahahahah *smart*
 
razbus
post Nov 4 2004, 12:36 PM
Post #29


I just "got it like that".
****

Group: Member
Posts: 247
Joined: Aug 2004
Member No: 41,238



yeah, i guess ill do the image slicing thing. Thanks everybody. You guys (or... girls in this case) are what make createblog rock!
 
liquidplasma6
post Nov 7 2004, 12:53 AM
Post #30


Member
**

Group: Member
Posts: 20
Joined: Oct 2004
Member No: 55,756



hey, thats cool, thanks hlall for that php thing, its gonna help me make my site...

733t CODER, dont show off dude, you think you are a super coder, but you need to ask a silly question like this? hehe
 
hlall
post Nov 7 2004, 01:00 AM
Post #31


Senior Member
****

Group: Member
Posts: 101
Joined: Sep 2004
Member No: 49,477



uh.. your welcome...
QUOTE
Thanks everybody. You guys (or... girls in this case) are what make createblog rock!

i guess someone can close this now
 

2 Pages V  < 1 2
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: