Jump to content

Auto Resize Extermal Iframe?


mr_zhang

Recommended Posts

Hi,

 

I'm looking for a JS code that enables me to resize the height of iframe. The iframe is from external domain. So far I've found codes that enables from same domain.

 

I understand php, but practically blind about JS, so codes would be appreciated.

 

Regards,

Link to comment
Share on other sites

thanks for replying.

 

I want it to auto resize because some of the contents are long and some are short. So, moving from pages to pages might be "strange". I currently using a long 400px height to avoid the scroll bar. If it could be auto resize the height, then it would be "nice looking".

 

Many restrictions? So it's impossible?

Link to comment
Share on other sites

Hi Fenway,

 

Thanks for the reply.

 

Yeah I've met the page before when I searched through Google. Problem is, I can't put any file or modify anything with the source page. It's a merchant and affiliate relationship thingy. So, I have the right to display the content but I can't modify or upload anything.

 

Any solution for this?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.