lazda2 Posted January 22, 2008 Report Share Posted January 22, 2008 kaa iframe var uztaisiit lai vins ienem taa skripta formu kas vinaa ievietots!! piem man ir ipb forums ielikts ar i frame un kaa izdariit lai raamis ienem foruma formu? php.lv forumaaa uzzinaaju ka jauztaisa javascript fails: function init_document_iframe() { if (document.getElementById('document_frame') != null) { document.getElementById('document_frame').onload = function() { var frameDoc = null; var frame = this; if (frame.contentDocument) { frameDoc = frame.contentDocument; } else { frameDoc = document.frames['document_frame'].document; } frame.style.height = (frameDoc.body.offsetHeight + 100) + 'px'; } } } ievietoju to pie head: <script type="text/javascript" language="javascript" src="f.js"></script> bet es nezinu kaa taalaak riikoties!! plz paliidzat man!! Link to comment Share on other sites More sharing options...
*jancis38* Posted January 22, 2008 Report Share Posted January 22, 2008 pamēģini šitā. <frameset><frame src="/forums/"></frameset> Link to comment Share on other sites More sharing options...
lazda2 Posted January 22, 2008 Author Report Share Posted January 22, 2008 (edited) neder php forumaa runa veel bija par kautkaadu id Pieliec tam ifreimam Id "document_frame" un init_document_iframe Edited January 22, 2008 by lazda2 Link to comment Share on other sites More sharing options...
sroupe Posted January 25, 2008 Report Share Posted January 25, 2008 1kārt jau izvēlies labāku variantu, jo forumu nebūtu labi tā ievietot, viņam taču mainās height attiecībā, cik postainotu theardu atver, tākā padomā, un jebkādiem js`iem to nav reāli izdarīt! Kādas problēmas paņemt source kodu no lapas un ielikt iekš sava foruma? Link to comment Share on other sites More sharing options...
lazda2 Posted January 26, 2008 Author Report Share Posted January 26, 2008 tad ir baigi viss forums jaapaartaisa!!! vieglaak uztaisit ar i-frame !! bet kaa?? Link to comment Share on other sites More sharing options...
DeteCtiV Posted January 26, 2008 Report Share Posted January 26, 2008 Hmm, nu es admin CP iegāju pie look and feel un editoju board header and footer wrapper - ieliku pirms foruma savu logo un navigācijas pogas, bet pašu foruma saturu iebāzu table. Tikai man ir problēma, jo foruma javascript nestrādā, un dažviet foruma saturs "izlec" no table(piemēram pie new topic vai add reply) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now