Runboard.com
You're welcome.

runboard.com       Sign up (learn about it) ● Sign in (lost password?)


 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
 (Top of the page)
● Premium User ●


Registered: 07-2005
Location: Texas
Posts: 491
Karma: 12 (+12/-0)
Reply Quote
Iframe CSS project for my RB add-ons


quote:

Lesigner Girl wrote:

I just came up with a good puzzle for you, Rick. You could offer these things you have in the sidebar to board owners, and let them customize them with a remotely hosted style sheet like ccwf did with his quick reply.

It's not exactly HTML or CSS, but it could be a good learning experience and satisfy your coding puzzle addiction. I can give you a hint if you need one, but you might be able to figure it out by comparing a styled quick reply's source code with the code people use to insert their style sheet, then use that information to Google information on how to do it.


I am looking at this now and wonder if this could be done with a simple:

<iframe src="[sign in to see URL] name="Runboard BotW Show" scrolling="no" frameborder="0"></iframe>

I say simple but while this is validating I don't know and cannot find the ?css= in any of the iframe declarations or tutorials. In other words, I understand everything but that ?css= declaration. I think it is saying: when using the iframe src url [sign in to see URL] use this css file [sign in to see URL] for the styling but I can find no documentation examples that verify this.

Step one on verifying my theory will be creating a css style sheet "[sign in to see URL]" in the location shown above and see if it works.

Well that didn't go well... maybe I need to include the css stylesheet in the php file like this maybe:

<?php
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"[sign in to see URL]\" />";
?>

No time to check that before going to work but if it works I'll need to rename the stylesheet to make it more generic for others...

Last edited by Pastor Rick, 4/5/2010, 10:13 am


---

RSFRDAdvertise Boards On TRDREITB
4/4/2010, 9:31 pm Link 2 this post Send Email to   Send PM to Blog
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
 (Top of the page)
● Premium User ●


Registered: 07-2005
Location: Texas
Posts: 491
Karma: 12 (+12/-0)
Reply Quote
Re: Iframe CSS project for my RB add-ons


Nope, the code does pull the remote css so I need to rework the php file to include the css tags.

---

RSFRDAdvertise Boards On TRDREITB
4/5/2010, 8:00 pm Link 2 this post Send Email to   Send PM to Blog
 


Add a Reply





You are not logged in (login)