Iframe banner code

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun May 04, 2014 5:24 pm
Reply with quote
Report this post
Hi Guys,

I got a banner code and I have a problem with it.
I embedded the code into the custom code, and copied it's library to the server (which includes the html and images).
But only the white space ot the banner appears on the site, but the content does not.
The pictures bellow maybe help you to help me to fix this problem.
Thanks a lot
Picture1: The white space of banner without content
Image

Picture2: The code copied into the banner admin
Image

Picture3: The library (left) and the files in the library (right) on the server
Image
User avatar
Senior Boarder

GK User
Sun May 04, 2014 7:32 pm
Reply with quote
Report this post
You should include only iframe part, no doctyle, html and body. Also I don't see any code loading custom libraries.
User avatar
Moderator

GK User
Mon May 05, 2014 8:31 am
Reply with quote
Report this post
There is a part in the code: src="sbtprotect/sbtprotect.html .
But it does not work after I removed the body, and doctype, html parts. How should the code look like?
Now it looks like this: <iframe src="sbtprotect/sbtprotect.html" width="728" height="90" frameborder="0" scrolling="no" allowTransparency="true"></iframe>
The images and the html are in the sbtprotect library on the server.
User avatar
Senior Boarder

GK User
Mon May 05, 2014 8:41 am
Reply with quote
Report this post
Could You please post an url to your site?
In general we don't provide support for 3rd party extensions but perhaps I will be able to help after quick look.
User avatar
Moderator

GK User
Mon May 05, 2014 8:50 am
Reply with quote
Report this post
www.camagazin.hu
I published the banner. You will see a white space between the top menu and the first item (Új Zéland)
User avatar
Senior Boarder

GK User
Mon May 05, 2014 10:06 am
Reply with quote
Report this post
At which position is this banner published?
User avatar
Moderator

GK User
Mon May 05, 2014 10:09 am
Reply with quote
Report this post
mainbody top
User avatar
Senior Boarder

GK User
Mon May 05, 2014 10:18 am
Reply with quote
Report this post
Please check errors in console:
Code: Select all
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.camagazin.hu/sbtprotect/TweenMax.min.js

They all looks connected with your modification.
User avatar
Moderator

GK User
Mon May 05, 2014 10:40 am
Reply with quote
Report this post
Thank You Cyberek!

The problem was that under uploading to server TweenMax became tweenmax. I renamed it and everything works properly.

Thanks again!
User avatar
Senior Boarder

GK User
Mon May 05, 2014 5:12 pm
Reply with quote
Report this post
I'm glad you could solve the issue.
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator


cron