Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Get the iframe scroll bar to change to another color

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-07-2006, 07:14 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Get the iframe scroll bar to change to another color

I inserted a scroll bar onto my site, I have been trying to adjust the scroll to have a dirrerent color but it doesnt change at all. Does someone knwo how to do this?

I have defined a class and added classes to read my stylesheet but thier is no change on the scroll.
I tried editind the .nabar to navbar in the class but no change

Code:
{assign var="default_image_width" value="100"} {config_load file="$skin_config"} {if $is_nomail ne 'Y'} {literal} <STYLE type="text/css"> .navbar { scrollbar-3dlight-color: none; scrollbar-arrow-color: #a3afc8; scrollbar-base-color: #c7d3ea; scrollbar-darkshadow-color: #c7d3ea; scrollbar-face-color: none; scrollbar-highlight-color: #abb2c3; scrollbar-shadow-color: #c7d3ea; } </STYLE> {/literal} {/if} <TABLE cellpadding="0" cellspacing=0 border=0 width="689" align="left"> <tr> <td> <IFRAME marginWidth=0 marginHeight=0 frameBorder=0 width=724 scrolling=yes height=423 src="sitename.htm" class="navbar"> <TABLE cellpadding="0" cellspacing=0 border=0 width="689" align="left"> <TR> <TD align="left"></TD> </TR> </TABLE> </iframe> </td> </tr> </table>
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 02-07-2006, 07:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That only works in IE 5.5+....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-07-2006, 07:37 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

I dont understand.

What should I do to get the scroll to change in its color?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 02-07-2006, 07:40 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You can't, that's what I mean. It only works on Internet Explorer, all other browsers will default to whatever scrollbar color/style their browser is set to.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-07-2006, 10:03 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

ok, I am using IE but the scroll wont change. do you know why that is?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 02-07-2006, 10:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Well, you need to put the styles in the <head> of the page for them to work....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 02-07-2006, 12:37 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

do i place them in the php page or in the tpl file. From the code that i placed below what should i place in the head location; should something be changed?

Code:
{assign var="default_image_width" value="100"} {config_load file="$skin_config"} {if $is_nomail ne 'Y'} {literal} <STYLE type="text/css"> .navbar { scrollbar-3dlight-color: none; scrollbar-arrow-color: #a3afc8; scrollbar-base-color: #c7d3ea; scrollbar-darkshadow-color: #c7d3ea; scrollbar-face-color: none; scrollbar-highlight-color: #abb2c3; scrollbar-shadow-color: #c7d3ea; } </STYLE> {/literal} {/if} <TABLE cellpadding="0" cellspacing=0 border=0 width="689" align="left"> <tr> <td> <IFRAME marginWidth=0 marginHeight=0 frameBorder=0 width=724 scrolling=yes height=423 src="sitename.htm" class="navbar"> <TABLE cellpadding="0" cellspacing=0 border=0 width="689" align="left"> <TR> <TD align="left"></TD> </TR> </TABLE> </iframe> </td> </tr> </table>
__________________
x-cart 4.0.16v
linux server
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:21 AM.

   

 
X-Cart forums © 2001-2020