WebSite X5Help Center

 
Karl B.
Karl B.
User

Button seitlich anheften oder einblenden  de

Author: Karl B.
Visited 1766, Followers 1, Shared 0  

Ist es mit der "Uralt-Version" V 13 Pro möglich einen "Feedback-Button" oder ähnliches an der linken oder rechten Seite anzuheften oder beim Aufruf einzublenden?

Posted on the
14 ANSWERS - 1 CORRECT
Andreas S.
Andreas S.
Moderator

Nicht ohne CSS Code!  Entweder einen basteln oder einen Button von den Widgets nehmen und per CSS Code an den Rand setzen.  ISt normalerweise nur eine Code Zeile aber individuell...also kein genereller Code möglich.

Read more
Posted on the from Andreas S.
Karl B.
Karl B.
User
Author

Den Button habe ich als Bildobjekt in der Seite, aber wo füge ich den Code ein?

Read more
Posted on the from Karl B.
Andreas S.
Andreas S.
Moderator

Egal wo!  In einem HTML-Objekt, oder unter Seo&Code vor dem </head> Tag oder in den Seiteneigenschaften. Es ist egal wo aber nicht welchen man einfügt.

Read more
Posted on the from Andreas S.
Karl B.
Karl B.
User
Author

...aber nicht welchen man einfügt.

[/quote]

Ich habe folgenden Code in den Seiteneigenschaften und unter Seo&Code eingefügt, ohne das es funktioniert.

#button {
position: absolute;
top: 20px;
left: 20px;
}

Read more
Posted on the from Karl B.
Andreas S.
Andreas S.
Moderator

#button ist auch nicht der Selektor außer du hast einen individuellen Code eingefügt für den Button mit dem Selektor. WEnn du einen Widget Button egal welchen, musst du den Selektor finden der für den Button zuständig ist.

Read more
Posted on the from Andreas S.
Karl B.
Karl B.
User
Author

Wo und wie finde ich den Selector?

Read more
Posted on the from Karl B.
Martin H.
Martin H.
User

Gehe auf Vorschau dann öffne die Seite z.B. mit Firefox und gehe mit der rechten Maustaste auf den betreffenden Button und wähle "Element untersuchen" aus. Unten oder rechts öffnet sich eine Spalte wo blau der Code des Button angezeigt wird. Ein paar Zeilen weiter oben siehst Du die Row und Cell Nummer.

Read more
Posted on the from Martin H.
John S.
John S.
User

Take a look here : http://eksempelsite.dk/information-buttons.html

You find exemples and the code for the buttons.

3 examples is shown, and code for all 3 examples.

Not much code is needed.

If you want the button to be present on all pages you can put it in the :

1 / advanced settings / Statistic CEO and code. 

You can see here : http://calendarforum.dk/

an example of where I have put the code in the CEO section and have used an iframe instead of a button in the div.

The calendar-display is visible on all pages.

Instead of buttons and iframes you could also place an object in the same way.

Read more
Posted on the from John S.
John S.
John S.
User

The calendar site : http://calendarforum.dk/

is made in/with version 12.

The code will function in all versions of X5

Read more
Posted on the from John S.
Karl B.
Karl B.
User
Author

@Martin H. Vielen Dank, dass hatte ich wieder vergessen.

@John S.Das funktioniert leider nicht.

Den Button (100x100px) habe ich im Header und den Code

<style>

#imHeader_imObjectImage_17 {
position: fixed;
left: 10px;
background-color: transparent;
top: 70px;

}
</style>

in Seo&Code-Erweitert vor dem Head-Tag eingefügt. Der Button wird riesengroß und mittig angezeigt

Read more
Posted on the from Karl B.
Andreas S.
Andreas S.
Moderator

Dann schreibe uns hier mal deine URL damit ich dir sagen kann welche Selektor du nehmen musst.

Read more
Posted on the from Andreas S.
Karl B.
Karl B.
User
Author

Die Seite ist noch nicht online. 

Es gibt doch für jedes Objekt nur einen Selector oder?

Den habe ich, wie von Martin H. empfohlen, mit Firefox ausgelesen und in den von John S. genannten Code eingsetzt. Was kann ich dabei denn falsch gemacht haben?

Read more
Posted on the from Karl B.
Martin H.
Martin H.
User

@Karl Versuch mal das hier:

<style>
#imHeader_imObjectImage_17_wrapper, #imHeader_imCell_17 {
position: fixed;
top: 70px;
left: 10px;
}
</style>

Read more
Posted on the from Martin H.
Karl B.
Karl B.
User
Author

@Martin H.

Perfekt, vielen Dank!

Read more
Posted on the from Karl B.