Go Back   vb.org Archive > Community Discussions > Style and Graphics Requests (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2011, 03:33 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Iphone Scroller

Just as little addon i decided to add an "iphone4" scroller which looks as follows

http://www.tabletennistalk.co.uk/forum/forum.php

Obviously forum blocked and i have a little issue but have temporarily got around it but looks not as nice as one would like

the code within the forum block is :

PHP Code:
<style type="text/css"
#marquee{
positionrelative;
z-index600;
top: -28.50em;
left: -7.00px;
clearboth;
}
#flv-scroller{
positionrelative;
left25.95px;
}
#iphone{
positionrelative;
z-index600;
top15.00px;
left: -10.00px;
}
</
style

<
div id="iphone">
<
img src="/image/iphone-ttt.png" width="260">
</
div>


<
div id="marquee">
<
marquee width="240px" height="290px"  direction="up" scrolldelay="2" scrollamount="1.5" onmouseover="this.stop()" onmouseout="this.start()">

<
div id ="flv-scroller">
<
iframe title="YouTube video player" width="205" height="150" src="http://www.youtube.com/embed/wLfJ2ut1-zc" frameborder="0" allowfullscreen></iframe>
</
div>
<
br />

<
font face="arial narrow" size="2"><ul>
<
font color="#ffffff">Table Tennis Talk Live Stream 1 2 are active on site and open to view many matchesCheck them out -</font> <a href="/forum/ttt-stream.php"><font color="#ff0000">Stream 1</font></a><a href="/forum/ttt-stream2.php"><font color="#ff0000"Stream 2</font></a>

<
br /><br /><br />

<
a href="http://www.ittf.com/competitions/competitions2.asp?Competition_ID=2020&category=VWcup"target=_blank><font color="#ff0000">Volkswagen Cup 2011: <a href="/forum/ttt-stream.php">Stream 1</font><br /><font color="#ffffff">GuangzhouGuangzhou CHNMar 23 Mar 242011</a></font>
<
br />
<
font color="#ff0000">**COMPLETED MATCHES AVAILABLE NOW TO WATCH**</font>

<
br /><br /><br />

<
a href="http://www.ittf.com/competitions/competitions2.asp?Competition_ID=2019&category=pt"target=_blank><font color="#ff0000">Spanish Open 2011: <a href="/forum/ttt-stream.php">Stream 1</font><br /><font color="#ffffff">ITTF Pro TourAlmeriaESPApr 6 Apr 102011</a></font>
<
br />
<
font color="#ff0000">**Full Livestream schedule for this event:<a href="http://www.ittf.com/Protour_new/pdf/2011ESP/TVScheduleESP.pdf"target=_blank"> HERE</a>**</font>

<br /><br /><br />

<a href="
http://www.ittf.com/competitions/competitions2.asp?Competition_ID=1962&category=WTTC"target=_blank><font color="#ff0000">World Table Tennis Championsips 2011: <a href="/forum/ttt-stream.php">Stream 1</font><br /><font color="#ffffff">World Table Tennis Championships, Rotterdam, NED, May 8 - May 15</a></font>
<br />
<
font color="#ff0000">**Full Livestream schedule for this eventTBA</a>**</font>
<
br /><br />
<
center>
<
img src="/image/wttc-img.gif" width="204">
</
center>
<
br /><br /><br />

<
font color="#ffffff" size="1"><i>Full list of scheduled livestream on TTT <a href="/forum/content.php?443-ITTF-Events"target=_blank"> <font color="#ff0000">HERE</a></i></font>

<br /><br />
</
ul>
</
marquee>
</
div

The template rendering is the normal block_html
PHP Code:
<li>
    <
div class="block smaller">
        <
div class="blocksubhead">
            <
class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>
            <
span class="blocktitle">{vb:raw blockinfo.title}</span>
        </
div>
        <
div class="widget_content blockbody floatcontainer">
        <
div id="block_html_{vb:raw blockinfo.blockid}" class="blockbody restore">
            {
vb:raw content}
        </
div>
        </
div>
    </
div>
    <
div class="underblock"></div>
</
li
The problem is when you use the above code you get




When you use
PHP Code:
<li>
    <
div class="block smaller">
        <
div class="blocksubhead">
            <
class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>

            <
span class="blocktitle">{vb:raw blockinfo.title}</span>
        
        

        <
div id="block_html_{vb:raw blockinfo.blockid}" class="blockbody restore">

            {
vb:raw content}
        
    </
div>
    <
div class="underblock"></div>
</
li
It renders as it is now in the link which looks ok but isnt as you would like

As soon as you add a </div> it looks fine block wise but extends in depth below image?

Any ideas appreciated as other than that i sorta like how its turned out
Reply With Quote
  #2  
Old 04-06-2011, 11:56 PM
x YNWA x x YNWA x is offline
 
Join Date: Jun 2007
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool. I wouldnt mind putting something like this on a site I am working on at the moment. Where did u get the iphone images etc from? Looks pretty cool
Reply With Quote
  #3  
Old 04-07-2011, 02:26 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works fine as you can see and i may have reolved the issue

I have all the info if you want it and images
Reply With Quote
  #4  
Old 04-17-2011, 10:12 PM
x YNWA x x YNWA x is offline
 
Join Date: Jun 2007
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
it works fine as you can see and i may have reolved the issue

I have all the info if you want it and images
Hi there
Yea it looks pretty cool. It might not fit in with my forum very well but no harm in having a look! Please do PM me detials

Nick
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03921 seconds
  • Memory Usage 2,239KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete