Elxis CMS Forum

Extensions => Templates => Topic started by: bcrow on March 10, 2010, 08:57:55

Title: how to use wrapper?
Post by: bcrow on March 10, 2010, 08:57:55
hello there
when i use wrapper,i dont want to put scroll bars to shown.i link to another website.i can set the weight.but problem with the height.the linked website's height is not standart,so in elxis wrapper i cant set it ,so it doesnt show some part of the linked website.does anyone know the solution?
Title: Re: how to use wrapper?
Post by: webgift on March 10, 2010, 12:41:36
Set the Height of the wrapper to the maximum height of the site that you want to wrap is the one manual solution.

Another solution that now i can think is to set the height of the wrapper 100% [i haven't tried it before]. Test and see.
Title: Re: how to use wrapper?
Post by: bcrow on March 10, 2010, 22:12:24
thanks for ur reply.i tried all.the wrap website's height is not standart.it changes.i tried 100%.they dont work either.
Title: Re: how to use wrapper?
Post by: webgift on March 11, 2010, 08:45:55
If i were you , i would have installed the measureit (https://addons.mozilla.org/en-US/firefox/addon/539)firefox add-on.
I would have scanned the site with this tool and i would have set the height equal as the maximum height of the site.

Note : The usage of Wrapper page is to set only one page.
Title: Re: how to use wrapper?
Post by: dados on May 19, 2010, 19:57:49
I also have one problem with wrapper, I have shop on same domain in folder presta and want to wrap this shop on Elxis. In wrapper admin I set to height be 100% and auto height is on. But when I click on link with wrapper I saw this code with Firebug:

Code: [Select]
<iframe width="100%" height="100%" frameborder="0" align="top" scrolling="no" class="wrapper" src="http://www.stantonridgecc.com/shop" id="blockrandom" style="height: 994px;">
This option will not work correctly.  Unfortunately, your browser does not support Inline Frames
</iframe>

And this style="height: 994px;" is always 994px , can you please help me. I try to find in css height: 994px but I can not find nothing...
Title: Re: how to use wrapper?
Post by: nikos on May 19, 2010, 21:56:57
On Wrapper you can not set height value % but only fixed values in pixels. For width you can set a value %. Also depends from the kind of template of the site which you want to wrap.

1st case: If the template of wrapped site is tableless and not of fixed width, setting on Wrapper width 100% and Scroll Bars "Auto" you can wrapp it without to be displayed horizontal bar. In this case you must set height in pixels and it will be displayed only vertical bar.

2nd case: If the template of wrapped site is fixed width (example 970px) then on Wrapper you must set for width a value bigger than this (example 980px) and setting Scroll Bars "Auto" it will not be displayed horizontal bar. For height you must set a fixed value in pixels and will be displayed only vertical bar. In this case your template must have a space for wrapper at least 980 px.

You must try various combinations with parameters until to have the best result.

Title: Re: how to use wrapper?
Post by: dados on May 19, 2010, 22:44:06
Okay, thanks, I create something now, but actually I need to figure it out in my head hove wrapper is work, because on one of my site I have not this problem, wrapper have height like is original site and height is not same on the all pages and when is smaller on wrapper is smaller also, or when is bigger then on wrapper is bigger also. But on this new site height is always 994px and why? I do not know...

For width I do not have problem...
Title: Re: how to use wrapper?
Post by: hakangur on March 15, 2013, 18:30:03
I know! This is a dead topic; but "reincarnation" is not specific to humans.

I use Elxis 4.x for my education web site. I have recently started using an LMS script to create quizzes for my students. Yet, the problem is that when I add these quizzes into already-existing pages in my web site (I use iframes), I cannot attain a seamless wrapping effect - there is always a right-vertical bar. I tried "delta" and "tiara", even with no columns at all, but in vain - this is probably because I know almost nothing about scripting. I went through the Forum here, applied almost all suggestions (scrolling="no", etc.) and even used a few scripts from the web as I learned that HTML 5 ignores the no-scrolling command.

Embedding these quizzes into pages is vital for me. I will be very pleased if anyone can come up with a solution. I attach a sample quiz for those who might want to give it a try.

Thanks in advance.