Информация

  • FastVps - Хостинг для форума
  • RegPartner - Домены по правильным ценам

"4admins.ru" Рекомендует

BBCode 3D Модели с сайта http://www.3dvia.com

Разные довески в сообщениях
  • Автор 
    Сообщение
Аватара пользователя
Сообщения: 7065
Зарегистрирован: 11 авг 2009, 16:58
Благодарил (а): 660
Поблагодарили: 2357 раз в 1754 сообщениях
Город: Москва
Пол: Мужской
Адрес форума: http://help.4admins.ru
Баллы репутации: 170

BBCode 3D Модели с сайта http://www.3dvia.com

Сообщение Добавлено: 29 сен 2010, 16:12

BBCode 3D Модели с сайта http://www.3dvia.com

Использование BBCode
Код: Выделить всё
[3d]http://www.3dvia.com/models/{TEXT}[/3d]

Замена HTML
Код: Выделить всё
<style type="text/css">
  #full-media-viewer {
overflow:hidden;
position:relative;
width:952px;
}
#media-viewer {
margin-top:0.6em;
width:100%;
}
#media-player {
background-color:#FFFFFF;
border-right:10px solid #FFFFFF;
float:left;
height:100%;
width:610px;
}
  </style>



<div id="full-media-viewer">
        <div id="media-viewer">
            <div id="media-player" style="height: 480px;">
                                <div style="display: none;" id="player-grey"></div>
                           
                                   <div id="player-front" style="display: none;">
                <a class="playerSwitcher" href="#"><img width="610" height="480" src="http://www.3dvia.com/3dsearch/Content/{text}_P2.jpg"></a>
            </div>
            <div style="" id="player-back">
                <script src="http://3dlifeplayer.dl.3dvia.com/player/install/DetectBrowser.js"></script><script src="http://3dlifeplayer.dl.3dvia.com/player/install/3DLifePlayer_last_version.js"></script><script src="http://3dlifeplayer.dl.3dvia.com/player/install/3DLifePlayer.js"></script><script language="JavaScript">Generate3DLifePlayerHtmlTag("http://dl.3dvia.com/downloads/exp/Player.vmo",610,480,"Virtools");</script><embed width="610" height="480" keepkeyboard="1" autoplay="1" allowpause="1" allowfullscreen="1" name="Virtools" id="Virtools" pluginspage="http://player.virtools.com/" type="application/x-virtools" src="http://dl.3dvia.com/downloads/exp/Player.vmo">
  <noembed>
    &lt;p&gt;If you have any problems installing the 3DVIA player, please follow the instructions located here: &lt;a href="http://dl.3dvia.com/products/3dvia-player/"&gt;3DVIA player&lt;/a&gt;.&lt;/p&gt;
  </noembed>

<script type="text/javascript">function GetPlayerModelID(){var cmd = "SetAttribute 'PlayerModelIDReceiver' 'PlayerModelID' '{TEXT}.vmo'"; try{document.getElementById("Virtools").DoCommand(cmd);}catch(e){}}</script>            </div>           
                                            <script type="text/javascript">
                    $(document).ready(function(){
                        $(".playerSwitcher").click(showZePlayer);
                    });
                    function showZePlayer(e)
                    {
                            $('#player-front').fadeOut(function(){
                                $('#player-back').show();
                            });
                            e.preventDefault();
                    }
                </script>
                            </div>
                        <ul class="media-tabs">
                <li class="selected"><div onclick="Switcher.highlight(this); return Switcher.go('stats-switcher', 'description')">Description</div></li>
                                <li><div onclick="Switcher.highlight(this); return Switcher.go('stats-switcher', 'stats')">Stats</div></li>
                 
                                <li><div onclick="Switcher.highlight(this); return Switcher.go('stats-switcher', 'embed')">Embed</div></li>
                                                <li><div onclick="Switcher.highlight(this); return Switcher.go('stats-switcher', 'gallery')" id="galleryTab">Gallery </div></li>
                            </ul>
            <div id="media-info" style="height: 454px;">
                <div id="info-wrapper">
                   <div id="stats-switcher">
                   <div id="description">
                            <div class="description inplaceedit_wrapper">
                                                            </div>
                          <script type="text/javascript">
                             $(document).ready(function(){
                                if(!$('#media-banner').length)
                                {
                                    $('#media_description_textilize').height((parseInt($('#media_description_textilize').height()) + 80));
                                    $('#stats').height((parseInt($('#stats').height()) + 80));
                                    $('#embed').height((parseInt($('#embed').height()) + 80));
                                    $('#gallery').height((parseInt($('#gallery').height()) + 80));
                                }
                                $('#media-info').height(parseInt($('#player-grey').height()) - 26);
                                $('#media-player').height($('#player-grey').height());
                                //CustomScrollBar.create('media_description_textilize', {axis: 'vertical', fade: 'bottom'});
                                //CustomScrollBar.create('stats', {axis: 'vertical'});
                             });
                          </script>
                   </div>
                   <div style="display: none;" id="stats">
                                   <p><strong>Original file size:</strong><span>27.8 MB</span></p>
        <p><strong>Original file format:</strong><span><a href="/search/models/formats/obj" title="Search for other models with the obj extension">obj</a></span></p>
        <p><strong>Surfaces:</strong><span></span></p>
        <p><strong>Triangles:</strong><span></span></p>
        <p><strong>Vertices:</strong><span></span></p>
        <p><strong>Textures:</strong><span></span></p>
        <p><strong>Created with:</strong><span><a href="/search/models/software/" title="Search for other models made with "></a></span></p>
        <p><strong>Views:</strong><span></span></p>
        <p><strong>Downloads:</strong><span></span></p>
        <p><strong>Comments:</strong><span><a href="#media-comments" title="See comments on this page"></a></span></p>
        <p><strong>Ratings:</strong><span><a href="#rating" title="See rating on this page"></a></span></p>
      <p class="center">Not usable in 3DVIA Shape</p>
       <div style="display: none;" id="shape-usable"></div>
                      </div>
                                          <div style="display: none;" id="embed">
                          <p>Copy/paste this code into your blog:</p>
                          <textarea onclick="javascript:this.focus();this.select();" id="embed-code">                    &lt;iframe width="410" height="308" border="0" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" SCROLLING="no" src="http://www.3dvia.com/iframe_view_media.php?media_id={TEXT}&amp;viewer=0&amp;width=410&amp;height=308"&gt;&lt;/iframe&gt;
            </textarea>
                       </div>
                                                                        <div style="display: none; padding-right: 14px;" id="gallery">
                       
                                                        <div id="galleryLoading">
                                <img src="/0-img/loading.gif"> Please wait...
                            </div>
                            <div style="display: none;" id="exitGallery">
                                <a class="backToThumbnail" href="#">Exit Gallery</a>
                            </div>
                            <ul id="gallery-ul">
                            <li>
    <a class="thumbnail" href="http://www.3dvia.com/3dsearch/Content/{TEXT}_P2.jpg"><img title="View larger image" alt="Gallery image" _media_id="{TEXT}" src="http://www.3dvia.com/3dsearch/Content/{TEXT}_P2.jpg"></a>                                   
</li>                            </ul>
                           
                            <style>
                            #gallery-ul img {
                                background-color:#fff;
                                padding:2px;
                                border:1px solid #ccc;
                                -moz-border-radius:4px;
                                -webkit-border-radius:4px;
                            }
                            #gallery-ul a.active img {
                                outline:1px solid #000;
                            }
                            </style>
                           
                            <script type="text/javascript">
                                $(document).ready(function() {
                                    $('#gallery-ul a.gallery').click(function(e)
                                    {
                                        $('#exitGallery').show();
                                        setThumbnail($(this).find("img:first").attr("_media_id"), false);
                                        e.preventDefault();
                                    });
                                    $('.backToThumbnail, #gallery-ul a.thumbnail').click(function(e)
                                    {
                                        $('#exitGallery').hide();
                                        setThumbnail(media_id, true);
                                        e.preventDefault();
                                    });
                                });
                                function setThumbnail(media_id, is_default)
                                {
                                    var ext;
                                    if(is_default)
                                    {
                                        ext = '_P2';
                                        $('.playerSwitcher').unbind().click(function(){try{showZePlayer();}catch(e){};});
                                        $('.playerSwitcher img:first').removeAttr("_media_id");
                                    }
                                    else
                                    {
                                        ext = '_L2';
                                        $('.playerSwitcher img:first').attr("_media_id", media_id);
                                        $('.playerSwitcher').unbind().click(showNextThumbnail);
                                    }
                                    if($('#player-back').length)
                                    {
                                        $('#player-back').hide();
                                    }
                                    $('#player-front').show();
                                    $('.playerSwitcher img:first').attr("src", "/3dsearch/Content/" + media_id + ext + ".jpg?DefaultImage=&amp;Pass=");
                                }
                                function showNextThumbnail(e)
                                {
                                    var id = $(this).find("img:first").attr("_media_id");
                                    var next_id = $('#gallery-ul li img[_media_id="' + id + '"]').closest('li').next().find('img:first').attr('_media_id');
                                    if(!next_id)
                                    {
                                        next_id = $('#gallery-ul li:first').find('img:first').attr('_media_id');
                                    }
                                    setThumbnail(next_id, false);
                                    e.preventDefault();
                                }
                                                               
                            </script>
                        </div>
                                           </div>
                </div>
                             
                         </div>
                       
        </div>
                <br class="clear">
    </div>

Подсказка
Код: Выделить всё
Скопировать адрес в адресной строке до цифр
[3d]Адрес[/3d]

Пример работы
Код: Выделить всё
[3d]http://www.3dvia.com/models/E8220EDEF0C2D4E6[/3d]



[3d]http://www.3dvia.com/models/E8220EDEF0C2D4E6[/3d]
Сообщение Администратора GoDFaTHeR A
Одна модель в одной теме!
На этом сервисе можно cоздать форум бесплатно

Вернуться в BBcode phpbb3

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 9