Axehack
In Runtime
- Messages
- 110
- Location
- http:\\www
Is there any way to output the colour of a font as a variable?
We have 1 page (lets call it Parent) containing a style sheet(same domain) and an iframe (Cross Domain).
The Parent style is dependant on the user logged in, each user has custom branding.
The only thing that needs to change within the iFrame to conform with the parent, is the font colour.
I was thinking if the parent could say:
<iframe width="915" scrolling="auto" height="1500" frameborder="0" marginwidth="0" marginheight="0" src="<IFRAME URL HERE>?<FONT COLOUR VARIABLE HERE>" id="screenerFrame" name="screenerFrame"> </iframe>
Then we could just use:
$font=$_GET['variable'];
Thats my thoughts anyway, But how do we go about outputting the font colour to append to the URL in the 1st place?
If you can think of a better way to do this, Im all ears! Thanks!
We have 1 page (lets call it Parent) containing a style sheet(same domain) and an iframe (Cross Domain).
The Parent style is dependant on the user logged in, each user has custom branding.
The only thing that needs to change within the iFrame to conform with the parent, is the font colour.
I was thinking if the parent could say:
<iframe width="915" scrolling="auto" height="1500" frameborder="0" marginwidth="0" marginheight="0" src="<IFRAME URL HERE>?<FONT COLOUR VARIABLE HERE>" id="screenerFrame" name="screenerFrame"> </iframe>
Then we could just use:
$font=$_GET['variable'];
Thats my thoughts anyway, But how do we go about outputting the font colour to append to the URL in the 1st place?
If you can think of a better way to do this, Im all ears! Thanks!