Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Iframe Not Working Rate Topic   - - - - -

 
  • caldor
  • Newbie
  • Members
  • Join Date: 02-Nov 14
  • 11 posts

Posted 04 February 2015 - 02:32 AM #1

I am trying to add an iframe of google.com on my website. I am having a hard time. Can someone please help me with the code that works for Cs-Cart V4. When I get the iframe code (see below), it doesn't show anything on my site.

Just to clarify, I am trying to add an iframe to my website on one of my content pages.

<iframe src="http://google.com" style="border:0px #FFFFFF none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="60px" width="468px"></iframe>


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19982 posts

Posted 04 February 2015 - 08:09 AM #2

As far as I understand you correctly, you are trying to put this code to the content of the CMS page. Do you switch the WYSIWYG editor to the Source mode before adding the code?
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • caldor
  • Newbie
  • Members
  • Join Date: 02-Nov 14
  • 11 posts

Posted 04 February 2015 - 02:36 PM #3

As far as I understand you correctly, you are trying to put this code to the content of the CMS page. Do you switch the WYSIWYG editor to the Source mode before adding the code?


Yes, I am trying to implement an iframe in a content page on V4. Meaning, I want a website (google.com for example) to show embedded on my page.

I have switched to all editors and have put the code in using the source code. It is not working, I get a blank space.

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19982 posts

Posted 04 February 2015 - 03:12 PM #4

Looks like the issue is related with the google domain. I have tried cs-cart.com and it works
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • chrisbti
  • Senior Member
  • Members
  • Join Date: 20-Oct 11
  • 269 posts

Posted 04 February 2015 - 10:59 PM #5

Remove "http://"

Regards, God Be With You! Jesus Christ our Lord & Savior.
BTI - Better Tools For Industry
Industrial Hand Tools Made in USA | www.BTI-Tool.com | v.4.11.2 | Apache


 
  • caldor
  • Newbie
  • Members
  • Join Date: 02-Nov 14
  • 11 posts

Posted 05 February 2015 - 08:36 PM #6

Remove "http://"


Thank you for this. I have gotten the iframe to show using this html code:
<iframe src="upperalbany.com" width="1375" height="2500" frameborder="0" scrolling="no">You need an iframes capable browser to view this content.</iframe>

However, when I load it in, and view the webpage, I don't see the website, but I see my same website within the iframe with the 404 error page. Why am I seeing duplicate of my page... see the attached image:

http://s3.postimg.or...mr/Untitled.png

Please help!

 
  • caldor
  • Newbie
  • Members
  • Join Date: 02-Nov 14
  • 11 posts

Posted 10 February 2015 - 09:01 PM #7

bump

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19982 posts

Posted 11 February 2015 - 10:11 AM #8

We have just tried this code:

<iframe src="http://www.upperalbany.com" width="1375" height="2500" frameborder="0" scrolling="no">You need an iframes capable browser to view this content.</iframe>

The result is on the image

http://clip2net.com/s/3ceyzrW
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • caldor
  • Newbie
  • Members
  • Join Date: 02-Nov 14
  • 11 posts

Posted 11 February 2015 - 03:09 PM #9

I found out that the code does work - it was my browser... So why does Google Chrome not allow the use of iFrames? IE and firefox do. Why not Google Chrome?

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19982 posts

Posted 11 February 2015 - 04:04 PM #10

May be some extension which blocks ads is installed in your browser. We also used Google Chrome
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)