Jump to content

Recommended Posts

I have a page that when viewed directly with a url works perfectly. JS and CSS do what they are supposed to do.

When I include the code in an iframe only the html text shows and all CSS and JS seem to be lost although inline CSS works.

 

Inspecting the source shows a bunch of Google Analytics and Skype toolbar code and generates an error with jquery.min and my JS code.

I tried to install the opt-out Google widget but it won't install with my curent Firefox.

 

I question: If JS and CSS are client-side do I need to cell them in every iframe or just once in the Index.php?

 

 

Link to comment
https://forums.phpfreaks.com/topic/249044-iframes-js-and-css/
Share on other sites

If JS and CSS are client-side do I need to cell them in every iframe or just once in the Index.php?

 

How do I disable Google Analytics and Skype tool bar code?

 

Do you have any idea why code will work independently and the same code will not work in an iframe?

Link to comment
https://forums.phpfreaks.com/topic/249044-iframes-js-and-css/#findComment-1279028
Share on other sites

1) what you mean cell them in every iframe or just once in the Index.php?

2) use google chrome and see if the codes are still there. I think you installed a plugin on your browser.

3) what are the code you are using? post the codes.

Link to comment
https://forums.phpfreaks.com/topic/249044-iframes-js-and-css/#findComment-1279036
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.