Author |
Topic |
Admin
ForumCo Administrator
Éire
4092 Posts |
Posted - 12/17/2005 : 11:52:33
|
Put this in the head section of your website pages
<script type="text/javascript">
<!--
function setBars()
{
top.frames['b'].document.body.style.scrollbarBaseColor='rgb(49,116,24)';
top.frames['b'].document.body.style.scrollbarFaceColor='rgb(107,173,66)';
top.frames['b'].document.body.style.scrollbarArrowColor='black';
}
onLoad=setBars;
//-->
</script>
You will have to add name="b" to your iframe to get this to work.
You could also do it with css. |
Padraic,
ForumCo Support www.forumco.com
Helpdesk Knowledgebase Rate ForumCo @ Hotscripts Rate ForumCo @ Cgi-Resources Please provide: * error messages * direct link to your forum * any possibly helpful information. |
|
|
smokey651
Starting Member
32 Posts |
Posted - 12/17/2005 : 12:46:44
|
i cant get that to work...how do you do it with css? maybe ill have more luck with that |
http://smokey651.forumco.com |
|
|
Admin
ForumCo Administrator
Éire
4092 Posts |
|
smokey651
Starting Member
32 Posts |
Posted - 12/17/2005 : 15:23:15
|
ok i dont know what im doing wrong here...ok i have scrolling on auto...on the admin section (the only current page that overflows) the scrollbar is there...i dont want the scrollbar there but i cant figure out how to take it away without still being able to see things i need to...anyways when i put that code on the page it still does NOTHING to the iframe scrollbar! |
http://smokey651.forumco.com |
|
|
Admin
ForumCo Administrator
Éire
4092 Posts |
|
smokey651
Starting Member
32 Posts |
Posted - 12/18/2005 : 17:50:13
|
i mean...it does work on the main page...and i see your looking on my links page...but if you go to the image customization beta part of my forums you can tell its in the iframe because it scrolls...but where do i put the code so that the scroller is the same color as on my main site |
http://smokey651.forumco.com |
|
|
paper_clip
Starting Member
USA
6 Posts |
Posted - 12/22/2005 : 10:55:25
|
In regards to the " target="_parent solution (Posted - 12/16/2005 : 03:45:43), I was having the same problem as smokey651. The fix is a good one... I tried it and it works. Thanks. But, if I'm understanding smokey651's problem correctly, there remains another problem not resolved with that solution. When I select Home from the Jump To dropdown, my web site reopens inside the iframe--like a browser window within a browser window! Do you have any thoughts on this? Thanks |
Edited by - paper_clip on 12/22/2005 11:06:19 |
|
|
Admin
ForumCo Administrator
Éire
4092 Posts |
Posted - 12/22/2005 : 16:12:03
|
Yes. You would need a javascript function which would detect if the home page was being loaded from within the IFRAME. This is not easy to do especially when you have to account for compatability with lots of browsers.
I'll keep looking to see if I can find solutions to these problems but it will take time. |
Padraic,
ForumCo Support www.forumco.com
Helpdesk Knowledgebase Rate ForumCo @ Hotscripts Rate ForumCo @ Cgi-Resources Please provide: * error messages * direct link to your forum * any possibly helpful information. |
|
|
smokey651
Starting Member
32 Posts |
Posted - 12/22/2005 : 18:03:08
|
ok.... and this is what i was talkin about
|
http://smokey651.forumco.com |
Edited by - smokey651 on 12/22/2005 18:07:41 |
|
|
Admin
ForumCo Administrator
Éire
4092 Posts |
|
smokey651
Starting Member
32 Posts |
Posted - 12/22/2005 : 19:34:58
|
ummm...no ie 6 notice how one of the scrollbars is colored but the iframe one remains plain |
http://smokey651.forumco.com |
|
|
Admin
ForumCo Administrator
Éire
4092 Posts |
|
smokey651
Starting Member
32 Posts |
|
blackcasket
Starting Member
2 Posts |
Posted - 12/30/2005 : 13:58:35
|
Okay, I was having the same problem. Now the only thing is, I still have the white border around my forum. I've tried the instructions above, however I can't get it to work. I was able to add the extention to my home link though so that it isn't framed. If someone could please offer me further assistance with this I would appreciate it.
You must be logged in to see this link. |
|
|
Admin
ForumCo Administrator
Éire
4092 Posts |
Posted - 12/31/2005 : 12:50:58
|
Its because you have not set any page margins. You should include something like the following on your webpage
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0"
topmargin="0" marginwidth="0" marginheight="0"> |
Padraic,
ForumCo Support www.forumco.com
Helpdesk Knowledgebase Rate ForumCo @ Hotscripts Rate ForumCo @ Cgi-Resources Please provide: * error messages * direct link to your forum * any possibly helpful information. |
|
|
Topic |
|