Do you have an error when using jQuery bgiframe library together with jQuery UI position and your own frame? An error like: Invalid Argument. Which is actually very odd.
The problem when putting my own iframe behind a element that I want to position somewhere on the page with jQuery UI position function it throws the error. The error is thrown because jQuery UI position is automatically calling the bgiframe function if it exists. Here is the code:
Code:
And now the line inside the bgiframe function where it throws the error:
Code:
I have made a workaround for myself - an ugly one but what else to do? :)
Here it is:
Code:
Happy coding !!
No comments:
Post a Comment
your thoughts are welcome: