vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Adding content to each tab (https://vborg.vbsupport.ru/showthread.php?t=260198)

Randomm 03-11-2011 03:44 AM

it renames tab1 to Adding content to each tab
tab2 becomes shows the entire threadbit or whatever it's called

OK here's what I'm trying to do.

I do not have CMS so I'm using the notice box as my front page (feature threads)
the problem is I'm running out of space (you'll have to start scrolling down to even see the forums)
so that's why I want a TAB like mod or something on the notice box (noticebit) so that way, I can put a lot of post on the notice box without it obstructing my entire forum (I can just keep creating tabs if I want to)

without the tabs, I have about 20 featured post (I manually add the threads there)
with tabs, each tab can have 5 or 10 featured threads so the notice box won't get any bigger

catch my drift?

your24hourstore 03-11-2011 03:47 AM

yep, you tried vbadvanced ?

--------------- Added [DATE]1299822536[/DATE] at [TIME]1299822536[/TIME] ---------------

that will work but you need height and width control added to that code to make it large enough to see :)

Randomm 03-11-2011 03:50 AM

I don't want CMS....I just want a forum using the notice box as my front page

your24hourstore 03-11-2011 03:51 AM

HTML Code:

<body>
<div class="tabBox" style="clear:both;">
  <div class="tabArea">
    <a class="tab" href="https://vborg.vbsupport.ru/showthread.php?t=260198" target="_blank"><b>Adding content to each tab</b></a>
    <a class="tab" href="https://vborg.vbsupport.ru/showthread.php?t=260198" target="tabIframe2">Words here</a>
    <a class="tab" href="Tab3.html" target="tabIframe2">Tab3</a>
    <a class="tab" href="Tab4.html" target="tabIframe2">Tab4</a>
    <a class="tab" href="Tab5.html" target="tabIframe2">Tab5</a>
  </div>
  <div class="tabMain">
    <div class="tabIframeWrapper"><iframe class="tabContent" name="tabIframe2" src="action.html" scrolling=yes
style="position:relative; left: 25px; top: px; width: 900px; height: 790px;" allowtransparency="true">
</iframe></div>
  </div>
</div>
</body>

try that one

--------------- Added 10 Mar 2011 at 23:55 ---------------

should work you can adjust the settings :) im tired

--------------- Added 10 Mar 2011 at 23:57 ---------------

oh so you want it small i see , so you want the content to break frames so they can see it? like the whole page,, then use number #8 post

Randomm 03-11-2011 03:59 AM

It's still basically the same thing only the frame got bigger
hey it's cool man
I'll just experiment with your code here

Code:

<td height="690"><iframe src="
https://vborg.vbsupport.ru/showpost.php?p=2171619&postcount=4" name=iframe scrolling=yes
style="position:relative; left: 25px; top: px; width: 900px; height: 790px;" allowtransparency="true"></iframe></td>
  </tr>

thanks a lot!

your24hourstore 03-11-2011 04:00 AM

HTML Code:

<body>
<div class="tabBox" style="clear:both;">
  <div class="tabArea">
    <a class="tab" href="https://vborg.vbsupport.ru/showthread.php?t=260198" target="_blank"><b>Adding content to each tab</b></a>
    <a class="tab" href="https://vborg.vbsupport.ru/showthread.php?t=260198" target="_blank"><b>Adding content to each tab</b></a>
    <a class="tab" href="https://vborg.vbsupport.ru/showthread.php?t=260198" target="_blank"><b>Adding content to each tab</b></a>
    <a class="tab" href="https://vborg.vbsupport.ru/showthread.php?t=260198" target="_blank"><b>Adding content to each tab</b></a>
    <a class="tab" href="https://vborg.vbsupport.ru/showthread.php?t=260198" target="_blank"><b>Adding content to each tab</b></a>
  </div>
  <div class="tabMain">
    <div class="tabIframeWrapper"><iframe class="tabContent" name="tabIframe2" src="action.html" marginheight="8" marginwidth="8" frameborder="0"></iframe></div>
  </div>
</div>
</body>


Randomm 03-11-2011 04:20 AM

like this
http://www.brainjar.com/css/tabs/demo.html

your24hourstore 03-11-2011 11:02 AM

OK well gimme the links you want to show in the content area and I will fix it for you, Do you want it all in one page as the demo shows or with the css in a separate file?
pm me 5 links you want to show

bobster65 03-11-2011 11:15 AM

You can take a look at some of my Tabbed Content Mods to get some ideas..

https://vborg.vbsupport.ru/showthread.php?t=172773
https://vborg.vbsupport.ru/showthread.php?t=154653
https://vborg.vbsupport.ru/showthread.php?t=161197
https://vborg.vbsupport.ru/showthread.php?t=191106
https://vborg.vbsupport.ru/showthread.php?t=233135 (This one is to give you an idea how to use Tabbed with vb4)

Randomm 03-11-2011 06:16 PM

Is announcement and notice different?

your:
you see the tab with the action, simulation, role-play, strategy
see how each of those tabs have their own content

can you give me the code for that entire thing so I can just replace the content with my own (I'll be putting this thing on the notice box)

And thanks bob for those links
the Module CMPS: AJAX Tabbed Content looks really nice. I think that's something I need but that's way too complicated for someone like me


All times are GMT. The time now is 07:00 AM.

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.01169 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete