javascript - Resizing of iframe with js stops working when https -


what i'm trying resize fancybox iframe , thought succeeded calling:

parent.jquery('#fancybox-inner').css({'height': '450px'}); parent.jquery('#fancybox-wrap').css({'height': '550px'}); 

but when deploying stage area works in https solution doesn't work , guess has https part. tried google didn't find suitable solution. please me , remember i'm js newbie.

code:

jquery().ready(function() {     jquery('#no_user').click(function () {          if (jquery(".temp_expand").css("display") == "none") {             jquery(".temp_expand").slidedown();                 parent.jquery('#fancybox-inner').css({'height': '450px'});                 parent.jquery('#fancybox-wrap').css({'height': '550px'});             }             else {                 jquery(".temp_expand").slideup();                 jquery(".temp_expand").css("display", "none");                                     parent.jquery('#fancybox-inner').css({'height': '850px'});                 parent.jquery('#fancybox-wrap').css({'height': '950px'});             }             }).toggle(function() {                 jquery('#temp_no_user').text("#{messages['login']}");             }, function() {                 jquery('#temp_no_user').text("#{messages['register']}");             });                     }); 

edit start

i'm getting js error:

error: permission denied access property 'jquery' source file: https://stage.temp.se/login/login line: 185 

edit end

it sounds have page https , frame source http - or vice versa. might if that's case:

updating http parent page https page via javascript

allowing http iframe call javascript on https parent frame


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -