WebSite X5Help Center

 
David F.
David F.
User

Objects appearing in the wrong order  en

Autor: David F.
Visitado 1846, Seguidores 1, Compartilhado 0  

OK X5 explain this please.

I have two columns on a page. in the left hand one I have a text box ("Next Reunions") which extends for two rows.  In the right hand one I have a small table ("Contacts") which extends for one row.

When I preview this they swap sides! i.e. the table appears in the right hand column and the text on the left!

Attached file shows the layout and the preview.

Incidently if I make both boxes 1 or 2 rows deep the table still moves to the left but stays on the left hand side of the first row and the text box drops to the second row.

I HAVE RELOADED THE PREVIEW (ctrl key when previewing).

The project was updated from version 9 where it works correctly.

Question 1 Why is this happening?

Question 2 how do I stop it?

Publicado em
6 RESPOSTAS
Andre E
Andre E
Moderator

David,

You probably have responsive on, if so the appearance can be influenced by you.

Check the responsive tab/button, set the show preferences of your box view to appear correct.

What you need to do:

click the order button (it will be on) then click the objects in the center on the appearence you wish) then save (ok)

thats it.

Ler mais
Publicado em de Andre E
David F.
David F.
User
Autor

Thanks for trying Andre.  I set the order and got the objects the right way around, BUT.

I still can't get both boxes on the same line.

I have turned OFF responsiveness.

I have tried the obvious two column layout,

a three column layout with a blank in the middle or with one box taking two squares but always X5 puts the second box on the row below. 

As you can see from the screen shot the boxes are easily small emough to both fit on one line, as they are in the X5 design page.

Any more bright ideas?

Ler mais
Publicado em de David F.
Andre E
Andre E
Moderator

This is not logical.

Is this in preview ? try preview with ctrl key pressed.

is it online? try to refresh the cash memory of pc by hitting (ctrl) F5

Else I will need the website (and maybe even the project itself) first try above suggestions.

Can you make a prtscrn of the page layout in x5?

Ler mais
Publicado em de Andre E
David F.
David F.
User
Autor

Thanks again Andre, and I completely agree with you it’s not logical!

Online site is version 9 and works fine.

Preview with Ctrl gives the same result as before.

Row above problem row is HTML: box, height 30, containing:

<script language="javascript">

var theDate = new Date(document.lastModified);

var ukDate = theDate.toGMTString();

[removed]("<i>Site last updated "+ukDate+"<I>");

</script>

Moving that row below the two boxes row cures the problem!!!!!

So how does that simple piece of Java cause this problem?

Adding another row after the HTML , with a text box containing a couple of lines of text to provide a buffer before the problem row doesn’t help.

Adding two text boxes on the line after the Java makes them appear on two lines, so it must be something to do with the HTML box, not the text box and table in my original project.

Can’t put the project online because of how it looks but happy to send you the Project file

Attaching screen shot showing X5 and preview.


Thanks for your help

D

Ler mais
Publicado em de David F.
David F.
David F.
User
Autor

The [Removed] in my last post is actually document dot write, which this site has translated to [Removed]

Ler mais
Publicado em de David F.
Andre E
Andre E
Moderator

Is the width maybe a bit small of the website in in v12?

check step1 -> template style -> click on or select header, set wdth higher (try 1000?)

Else I don't know it could be a .net framework issue.

Ler mais
Publicado em de Andre E