WebSite X5Help Center

 
Roberto B.
Roberto B.
User

Titolo pagina prova di stampa  it

Autor: Roberto B.
Visited 113, Followers 1, Udostępniony 0  

un vs collaboratore qialche tempo fa mi ha indicato questa stringa :<a style="font-size:22px;text-decoration:none; color:red" href="javascript: start_printK('#imCell_530')" alt="STAMPA K" title="STAMPA K">Stampa Ricetta</a>  per poter stampare la singola pagina di uan ricetta, mi sono accordo che, nella proba di stampa non appare il titotolo(nome) della ricetta 

allego due immagini

Posted on the
6 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
Roberto M.
Roberto M.
User

Le K conraddistinguono che sia stato Kolasim quindi vedrai che come passa di qui ti sarà utile per risolvere il tuo problema

Czytaj więcej
Posted on the from Roberto M.
Roberto B.
Roberto B.
User
Autor

grazie Roberto M.

Czytaj więcej
Posted on the from Roberto B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ES

... ho visto adesso questo tuo Topic che mi avevi annunciato in cartsearch...

... ... tempo permettendo domani in giornata valuterò la situazione...

.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ES

... OK ... sostituisci lo SCRIPT della funzione start_printK(k) con questo codice, che inserisce nella STAMPA il titolo  sopra l'immagine ed in più nasconde il pulsante Stampa Ricetta...

... cioè togli questo:
<script>
function start_printK(k){ ...eccetera...
... eccetera...
</script>

... ed al suo posto metti questo:
<script>
function start_printK(k){ var kk=$(k).html();//Print DIV "esclusive" by KolAsim
kk=kk.split("Stampa Ricetta").join("*")
var kkk="<style> div[id^='imCellStyleTitle_']{font-weight: bold;font-size:24px;text-decoration:none}"+
" img {width:300px !important;height:auto !important } </style>";
$('a[title="STAMPA K"]').attr("class","stampaK");
var kkkk=kkk+kk; print_K = window.open("" , "printK" ,"status=1,width=3000px,height=2000px");
print_K.document.write(kkkk); print_K.focus(); print_K.print(); close_print_K();}
function close_print_K(){setTimeout(' print_K.close ();' ,2000);}
</script>

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Roberto B.
Roberto B.
User
Autor

....funziona  a meravlia come sempre , garzie KolAsim

Czytaj więcej
Posted on the from Roberto B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ES

... OK ... ho controllato ... ciao ... wink

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪