WebSite X5Help Center

 
Roberto B.
Roberto B.
User

Titolo pagina prova di stampa  it

Author: Roberto B.
Visited 105, Followers 1, Shared 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 ANSWERS - 1 USEFUL - 1 CORRECT
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

Read more
Posted on the from Roberto M.
Roberto B.
Roberto B.
User
Author

grazie Roberto M.

Read more
Posted on the from Roberto B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ES

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

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

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month 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>

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Roberto B.
Roberto B.
User
Author

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

Read more
Posted on the from Roberto B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ES

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

Read more
Posted on the from  ‪ KolAsim ‪ ‪