WebSite X5Help Center

 
Karl B.
Karl B.
User

Button seitlich anheften oder einblenden  de

Autor: Karl B.
Visited 1768, Followers 1, Udostępniony 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 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
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.

Czytaj więcej
Posted on the from Andreas S.
Karl B.
Karl B.
User
Autor

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

Czytaj więcej
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.

Czytaj więcej
Posted on the from Andreas S.
Karl B.
Karl B.
User
Autor

...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;
}

Czytaj więcej
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.

Czytaj więcej
Posted on the from Andreas S.
Karl B.
Karl B.
User
Autor

Wo und wie finde ich den Selector?

Czytaj więcej
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.

Czytaj więcej
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.

Czytaj więcej
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

Czytaj więcej
Posted on the from John S.
Karl B.
Karl B.
User
Autor

@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

Czytaj więcej
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.

Czytaj więcej
Posted on the from Andreas S.
Karl B.
Karl B.
User
Autor

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?

Czytaj więcej
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>

Czytaj więcej
Posted on the from Martin H.
Karl B.
Karl B.
User
Autor

@Martin H.

Perfekt, vielen Dank!

Czytaj więcej
Posted on the from Karl B.