![]() ![]() |
ok im trying to get this object to resize from 600px height to 900px height but have tried many thing and can not get it to work and help would be great. div id="game_container">
<object width="100%" height="900"></object>
|
![]() ![]() |
what have you tried? |
![]() ![]() |
function addGlobalStyle(css) {
function resize() {
addGlobalStyle(css);
|
![]() ![]() |
There is no |
![]() ![]() |
yep it also fails as i hadnt realised it inside an iframe as well so more thinking till i get it working :( am i thinking along right lines with this or am i as bad at this as i think i ma lol function gameEmbed() {
|
![]() ![]() |
It's a flash object, right? Might be that it's actually programmed to be a fixed size, or that it will only resize when both width and height are changed. If you're using Firefox install Firebug and try changing the height in the live page code, if that doesn't work then that approach in a script has no chance. |
![]() ![]() |
yer i thought of that one and yes i can manually change it with firebug and it works as expected. thanks for all the help this one is driving me mad. |
![]() ![]() |
any ideas anyone ? |
![]() ![]() |
post the full page code (maybe on pastebin to save space here) or a link to the page if it's not behind a login and I'll take a look |
![]() ![]() |
see full page source here: http://pastebin.com/BVnBeyRS |
![]() ![]() |
There's no elements with id |
![]() ![]() |
ok here code taken from firebug for full page: http://pastebin.com/2RsjLYDG this is a FB app so if your on FB you can view the live code "simcity social" http://apps.facebook.com/simcitysocial |
![]() ![]() |
that code begins with a DIV tag and there's no OBJECT tag in there, it isn't the full page. |


