I have a problem with my site, it's based on Joomla 2.5.16 I will try to explain my problem as good as possible.

On my site i have a zipcode checker, were people can check the availability of fiber to the home. The zipcode checker works with a iframe, in combination with a javascript code that i put in the header.

The Javascript code determines the height of the iframe. as you can see at www.nederlandkiestvoorglasvezel.nl/glasvezel-vergelijken the height of the iframe is wrong. it seems like something be overwritten the javascriptcode.

Cause when i test the iframe and the javascriptcode outside Joomla, de zipcode checker works fine. you can see it here: http://www.nederlandkiestvoorglasvezel.nl/iframeTest.htm

However, seem to have received to be erroneous data, yet overwritten the same code in your Joomla site the correct value, I see no reason after another everything after passing the following: Parent reveived message!: 440

So I hope someone can tell whats the problem, i have tried several opties and got help from my hosting but we can't fix it.

Regards,

Rutger

Answer:1

I hope it's as silly as this. Look at the height you've set in the iframe with something like firebug. You'll notice that the height property is set to `{"s":"__cb","f":"oauth2relay368429625","c":0,"a":[40,false],"t":"852486603","l":false,"g":true,"r":"oauth2relay368429625"}px`

.

You should probably fix that, and then it'll work :)

Edit - more details. This chunk of code is causing it:

```
// Listen to message from child window
eventer(messageEvent,function(e) {
console.log('parent received message!: ',e.data);
document.getElementById('internetdealerframe').height = e.data + 'px';
},false);
```

Since you're passing around more than just a number, the entire string is being used as a height.

Edit #2

It doesn't look like you're actually passing a valid height anywhere in those postMessage calls - The first one that has any kind of 'height' in it contains the following: `!_{"s":"/I0_1387279282212::_renderstart","f":"I0_1387279282212","r":"I0_1387279282212","t":"24007401","a":[{"height":20,"width":90,"title":"+1"}],"g":false}`

. And I'm thinking that you don't actually want the iframe to be 20 pixels high.

Answer:2

I'm using the following filter to remove accents from the word inputed by the user on an input field, and then use the resulting string on the filter. .filter('removeAcentos', function(){ ...

I'm using the following filter to remove accents from the word inputed by the user on an input field, and then use the resulting string on the filter. .filter('removeAcentos', function(){ ...

- angularjs filter remove item from array
- angular filter remove duplicates
- angular filter remove spaces
- angular filter remove leading zeros
- angular filter remove html tags
- angular filter remove
- angular filter remove decimal
- angular filter remove underscore
- angular filter remove characters
- angular 6 filter remove item from array
- angular number filter remove comma
- angularjs remove filter
- angular kendo grid filter remove

I am trying to remove elements of an array which contains either Groups(containing shapes) or simply Shapes(line, Rect, Circle etc) as its elements. My function is something like below: ...

I am trying to remove elements of an array which contains either Groups(containing shapes) or simply Shapes(line, Rect, Circle etc) as its elements. My function is something like below: ...

I'm assuming I'm doing something really dumb here. I basically have an array that I'm passing into a function. I want to remove an element of that array and do a bunch of stuff to it, and then iterate ...

I'm assuming I'm doing something really dumb here. I basically have an array that I'm passing into a function. I want to remove an element of that array and do a bunch of stuff to it, and then iterate ...

- using array shift
- using memcpy to shift array

I am building a script that calculates the genetics of animals that are bred together. Each animal has a set of genes (e.g. BbEeKk) and the program should calculate all the genetic possibilities of ...

I am building a script that calculates the genetics of animals that are bred together. Each animal has a set of genes (e.g. BbEeKk) and the program should calculate all the genetic possibilities of ...

- polynomial equations using linked list
- polynomial equations in hindi
- polynomial equations by factoring
- polynomial equations in factored form
- polynomial equations in real life
- polynomial equations with the highest exponent of x as 2
- polynomial equations in factored form calculator
- polynomial equations in tamil
- polynomial equations in excel
- polynomial equations with answers
- polynomial equations in matlab
- polynomial equations with real coefficients
- polynomial equations with complex roots
- polynomial equations in c
- polynomial equations by factoring calculator
- polynomial equations with fractions
- polynomial equations in data structure
- polynomial equations with complex solutions
- polynomial equations in r
- polynomial equations in one variable