Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Unit1
Worker
Worker


Joined: Oct 26, 2004
Posts: 134
Location: Boston

PostPosted: Sun Oct 08, 2006 8:28 pm Reply with quote

Is their a way to pull the css file from the themes colors and have it in this block code insteded of the stock colors that came with the code in a iframe block? I had to take out some of the code to post it Embarassed

Code:
allowtransparency=\"true\" ID=13854&bg=transparent&type=B2564D&type_size=11&type_family=1\" width=\"100%\" height=\"\" frameborder=\"0\" style=\"width: px; height: px; border:0px solid #;\" /iframe>";
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Mon Oct 09, 2006 8:25 pm Reply with quote

Since this is the PHP code in your block which is used to generate the HTML which produces the IFRAME on the browser, you should be able to apply theme styles/variables which make sense. For example, you could use the $bgcolorN variables. You could also add additional CSS statements, possibly, to define the style. However, I will admit that I don't use iframes (cannot stand them for their potential security risks) and so am not certain on whether their style can be controlled via CSS (I would think so?).

However, the page that you use as the src for the iframe, you will have no control over.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©