WebSite X5Help Center

 
Maxroy AS R.
Maxroy AS R.
User

Adjust the length / height of the web page  en

Autor: Maxroy AS R.
Visitado 3000, Followers 1, Compartido 1  
Tags: maxroy,no,ww

Hello! Why can not I . This creates a problem when I use "iFrame" on a website. I would like to have the height of the website so I do not need a scrollbar. Here is the link to the homepage: www.maxroy.no And here is the link to the page I want to adjust the height of: http://maxroy.no/dataklubb.html As you can see there is a scrollbar I want to take off, adjusting the height of the website. In short: it is only in this web site I want to adjust. The other sides adjusts itself automatically when I add some new content, but not using iframes. Hoping for a quick response, as this is important to me regarding other projects as well. Sincerely Roy

Publicado en
10 RESPUESTAS - 1 CORRECTO
Andre E
Andre E
Moderator

Roy,

This should be possible, I tested only in preview, try this:

start object html and widgets.

select google newsbox.

replace code with:

<!-- ifg.no START -->
<iframe frameborder=0 marginwidth=0 marginheight=0 border=0 style="border:0;margin:0;width:728px;height:6800px;" src="http://www.idg.no/pcworld/?format=728x80&topic=h&rsz=large&hl=_auto_&element=true" scrolling="no" allowtransparency="true"></iframe>
<!-- ifg.no END -->


set proporty below right to : no scrollbars and height 6800 (equal as in the code)

BR A

Leer más
Publicado en de Andre E
Maxroy AS R.
Maxroy AS R.
User
Autor

Hi..

I needthis field tobe higher,notnecessarily ashigh asthe contents of the"iframe".Let'ssay1000px2000px.The reasonis thatthe user willsee a bitmoreof the contentin the frame.ItseemsIshouldsolvethis,Iput ahigherlengthonallsides,andthen Ihavefieldtransparantand puta blackbackground onall pagesexceptfrom this page.Ijust want toextend thefield onthis page.WhenI go intooptionscan Iadjust the widthfine asdesiredon thewhole, if Ichoose"notemplates" but thereisno adjustmentfor height.View pictureattachmentto understandwhatI mean.

This isthe fieldIneed higher,about 1000px/ 1500px-Scrollbarcanbe there,it doesnot matter.Ido not needa length of6000/7000px.

The script is not the cause of the problem , it is the field I frame in.

Attachment !

I'm crazy for this problem :-)


http://maxroy.no/dataklubb.html

Thanksso muchforyourquickresponse,and that youare trying tohelp me ...

Goodservic:-)

regards
Roy
www.maxroy.no

Leer más
Publicado en de Maxroy AS R.
Andre E
Andre E
Moderator

Roy,

You can make it as high as you want with the code posted.

Just change the hight from 6800 to 1000 or 1500 or any other size.

Change it in the code set 6800  to 1500 or any other size. Set the size below on the right the same. (1000 or 1500 or any other size.)

Just keep them the same when you change them.

You can set or not set the scroll bar on the below right.

Hope this is what you mean, if not then let me know.

BR A

Leer más
Publicado en de Andre E
Maxroy AS R.
Maxroy AS R.
User
Autor

Hi

I think I give up and explain. I do not think you understand what I mean. I try one last time !

See attachment!!!!

Start by going to www.maxroy.no and look at the other pages . The black frame is automatically extended for each content I put into . ie tables , photographs , slides etc. And this works fine, I automatically the length of each page of my website ... Apart from this page: http://maxroy.no/dataklubb.html .

This is because I use iFrame , and it adapts to the length that I have set as the minimum size is 450 px page content . If I put the longer it will be a big empty black space on many of my sub pages. What I need is to extend only this page , so the IFRAME gets a little bigger. as eksepel 1000 px.

But as I said, adjusting the iframe to at least goal I have set the page content .
So can I adjust page content size independent only on this page .

The script works fine, it 's not the problem , but the problem is that I do not get the page content regulated greater than 450 px only on this page. Can I get to it will also be longer iframe automatically. I have actually created some pages .

Here is another example of a customer where this causes problems : http://sogndaltaxi.no/bilpark---tjenester.html

This is a pity , because I like a lot of  websitX5 ,...

See attachment!!!!

Roy

Leer más
Publicado en de Maxroy AS R.
Andre E
Andre E
Moderator

Roy,

Yes, I think we don't understand eachother, and NO where not giving up on this.

In your attachement you say you want the iframe longer, by changing the code as mentioned it will and it should not effect the rest of the objects or pages.

I don't understand why other sub pages are influenced by this Iframe page. And what you mean by subpages.

If you set the Iframe code to the html and widget object inside your page than with the code you can change the hight of only this object, other pages should not be effected.

Where do you set your code for the Iframe ?

I made a small test page on http://www.andreweb.nl/test/page-6.html

I set in this page a picture top left object, a text top right object and below a html and widget object with the iframe code. I set a small black border on all objects.

The widget is set to 1000 hight pixel and a scroll bar to scroll inside content.

Other pages and objects on the page are not effected. Is this what you mean if not can you make a screen shot and tell me what should be different?

Or create a test folder on your server, set what goes wrong when you make content of iframe bigger so I can see what you mean?

Thx !

BR A

Leer más
Publicado en de Andre E
Maxroy AS R.
Maxroy AS R.
User
Autor

Thank's for your respond. I will come back to you a litle later...

Roy

Leer más
Publicado en de Maxroy AS R.
Maxroy AS R.
Maxroy AS R.
User
Autor

What do you mean about a TESTfolde?

Roy

Leer más
Publicado en de Maxroy AS R.
Incomedia
Claudio D.
Incomedia

Hello Roy,

On your hosting space you create a folder called as example test and then you export it in this folder to see how it works.

As example: www.yourwebsite.com/test/

Many thanks!

Leer más
Publicado en de Claudio D.
Maxroy AS R.
Maxroy AS R.
User
Autor

ok, I do that later... and I post when its redy...

Leer más
Publicado en de Maxroy AS R.
Maxroy AS R.
Maxroy AS R.
User
Autor

Hi, Claudio

A great day forme, the problem is solved!!!!!:-)

Thank youforvery goodsupport andpatiencewithme.Thismeans a lotto mein myfuture work.Note! It wasIwho did notcompleteunderstood whatyou meant, so thereforeI am gladthat youput up withmefor so long.I will tell your leader inthe company the excellentservice Ireceived from you...:-)


Thank yousomuch, anda merry Christmas...
Best Regards

Roy

www.maxroy.no

Leer más
Publicado en de Maxroy AS R.