Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube Video Gallery
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #41
RE: YouTube Video Gallery
(01-06-2011 06:32 AM)RocketFoot Wrote:  how to get the shadow effect (mozilla) like the garage has?

The shadow effect comes from your tborder class. So, you need to use the class.
For example:

HTML Code
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">


01-06-2011 09:06 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #42
RE: YouTube Video Gallery
You can do the link thing by changing the class of the div containing the link. Example:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.rocket a:link, .rocket a, .rocket a:visited {
color:#4f688f;
}

.rocket a:hover, .rocket a:active {
color:#a3181e; 
}

.rocket span {
color:#4f688f; 
}

.rocket span:hover {
color:#a3181e;  
}


if you give a second set of css classes the same name as the ones in your global.css then the last to load will be the ones you see.

Where you see span, give it the class of rocket. See what it does.

EDIT: here is an example using that css on the standard MYBB forumdisplay_thread template.

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<tr>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
			<span class="rocket">{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	<td align="center" class="rocket {$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="rocket {$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="rocket lastposter smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 01-06-2011 09:46 AM by leefish.)
01-06-2011 09:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #43
RE: YouTube Video Gallery
Thanks RateU and Lee...I will tackle this tomorrow, right now it is time for pizza and beer!  LOL

[Image: gallery_2_628_39582.jpg]
01-06-2011 09:54 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #44
RE: YouTube Video Gallery
There!  How does it look now!  (Be nice, I have very limited CSS abilities!  Haha!)

http://www.7173mustangs.com/forum-youtube-video-gallery

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 01-06-2011 10:20 PM by RocketFoot.)
01-06-2011 09:44 PM
Find all posts by this user Quote this message in a reply
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #45
RE: YouTube Video Gallery
Looks good rocket, though I do not care for mustangs hahaha

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
01-07-2011 03:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #46
RE: YouTube Video Gallery
Looks awesome Rocketfoot. Where's that Britney Spears video with the Mustang Tongue ?


[Image: leelink.gif]
MYBB1.6 & XThreads
01-07-2011 03:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #47
RE: YouTube Video Gallery
(01-07-2011 03:17 AM)Vapor Wrote:  Looks good rocket, though I do not care for mustangs hahaha
WHAT?  Everyone likes Mustangs!  LOL
(01-07-2011 03:35 AM)leefish Wrote:  Looks awesome Rocketfoot. Where's that Britney Spears video with the Mustang Tongue ?
No Britney, but we have Danica Patrick with nice red convertible!

[Image: gallery_2_628_39582.jpg]
01-07-2011 03:50 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #48
RE: YouTube Video Gallery
Very nice Smile
Maybe you can use thead for the 'Categories' text/link, just above the category images and table. So, it will be as table header for your category table, similar as 'Welcome to 7173Mustangs.com!' table.

(01-07-2011 03:50 AM)RocketFoot Wrote:  Everyone likes Mustangs!  LOL

Ugh... I don't have Mustang. But, I always drive it....... in NFS Biggrin

01-07-2011 06:14 AM
Find all posts by this user Quote this message in a reply
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #49
RE: YouTube Video Gallery
I would drive this:

http://www.chrisleso.com/2012-mustang-bo...http://www.chrisleso.com/2012-mustang-boss-302-muscle-sport-ca

[Image: New-2012-Mustang-Boss-302-620x412.jpg]

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
01-07-2011 07:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #50
RE: YouTube Video Gallery
That is nice!  Biggrin

[Image: gallery_2_628_39582.jpg]
01-07-2011 07:23 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: