Discussions » Creation Requests
Java script parameters replace
Hello, I am trying to replace some code in javascript in this page http://www.mza.cz/indikacniskici/index.php#show:MOR139618260 but with no luck :-(
In index.php there is javascript with text AC_FL_RunContent and in it there are also this two parameters:
'width', '100%', 'height', '100%',
and I need to change it to:
'width', '8000', 'height', '8000',
I tried it using replace function, but its not working :-(
document.body.innerHTML = document.body.innerHTML.replace('\'width\', \'100%\',', '\'width\', \'9999\','); document.body.innerHTML = document.body.innerHTML.replace('\'height\', \'100%\',', '\'width\', \'9999\',');
Thanks very much for help. VictorC
Sign in to post a reply.
Java script parameters replace
Hello, I am trying to replace some code in javascript in this page http://www.mza.cz/indikacniskici/index.php#show:MOR139618260 but with no luck :-(
In index.php there is javascript with text AC_FL_RunContent and in it there are also this two parameters:
and I need to change it to:
I tried it using replace function, but its not working :-(
Thanks very much for help. VictorC