Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rezolvat Inserare document Google iFrame
#1
Salut,

Am nevoie sa postez in forumul meu un document de pe Google drive, avand codul embed:

Code:
<iframe src="https://docs.google.com/file/d/0B8pXhrmzWDGXdFVHcXNFc25OdDg/preview" width="640" height="480"></iframe>


Daca il pun asa cum e, imi apare efectiv textul de mai sus, fara conversie in ceea ce am dorit eu. La fel si in cazul clipurilor youtube, numai ca acolo folosesc icon-ul in forma de televizor din bara de formatare.

Din ce am citit ar trebui sa ma folosesc de My Code dar nu imi este foarte clar. Am intrat totusi in ACP-Configurare- MyCode-Add new MyCode si am introdus datele din crop-ul de mai jos, testand in zona de SandBox iFrame-ul si mergand dupa cum se vede in crop:

http://img194.imageshack.us/img194/9034/xk5p.jpg

Practic, ce cod ar trebui sa inserez in postarea mea din forum, ca sa pot vedea embed acel document Google, caci pana acum nu mi-a mers cu nicio varianta? Forumul este acesta.

Multumesc,

#2
Uite aici. Dacă nu merge poți veni cu o replică!
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#3
Merci!
Am rezolvat intre timp. Nu a mers cu acest My code:

Short description:

Code:
Allows you to have an iFrame with a thread/post/anything on the forum in it.


regular:

Code:
\[gdoc](.*?)\[\/gdoc\]


replacement:

Code:
1
2
3
4
5
6
7
<div class="codeblock">
 <div class="title">Google Document:</div>
 <div class="body">
 <iframe src="https://docs.google.com/file/d/$1" width="100%" height="600px"></iframe>
 </div>
 </div>
 </div>

#4
Thanks for your reply.
Te rog să îl marchezi ca și rezolvat!
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.


Forum Jump:


Users browsing this thread: 1 Guest(s)