TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-20-2008, 12:20 AM   #1 (permalink)
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Help How would you do this?

hey everyone, i am kinda lost on how to this. I will be outputting some video on to the site and wanna do a list of 5 thumbnails that.

Starts here < and goes to the right > for 5 videos and then
</br> down. and start a new list the same way and continue this.

As well be able to have a name over the thumbnail and put a vote bar under and also the date name of who submit it.

I don't want anyone to fix this for me, just point me to a tutorial or
anything that might help out and that's it

Thank you in advance!

Last edited by codefreek : 10-20-2008 at 03:32 AM.
codefreek is offline  
Reply With Quote
Old 10-20-2008, 04:50 AM   #2 (permalink)
The Addict
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 336
Thanks: 8
tony is on a distinguished road
Default

So every video would have a horizontal showcasing of thumbnails, every thumbnail with a title and rating?
if that's the case it's then they way i'll go about it would be of making a list and every list item would have an image tag, a form with the radio inputs for the rating, and a strong tag for the title. make the list items blocks and float them to the left.

something like this:

Code:
ul#showcase{
	list-style:none;
	margin:0;
	padding:0;
}
ul#showcase li{
	display: block;
	float:left;
	background: red;
	margin:5px;
	padding:10px;
}
ul#showcase li img{
	display:block;
	width:100px;
	height:100px;
	margin: auto;
}
ul#showcase li form{
	display:block;
	margin:10px 0;
}
.clear{
	display:block;
	clear:both;
	height:0;
}
HTML Code:
<ul id="showcase">
	<li>
		<strong>pic title</strong>
		<img alt="pic1" />
		<form method="post">
			<input type="radio" name="vote" value="1" />
			<input type="radio" name="vote" value="2" />
			<input type="radio" name="vote" value="3" />
			<input type="radio" name="vote" value="4" />
			<input type="radio" name="vote" value="5" />
		</form>
	</li>
	
	<li>
		<strong>pic title</strong>
		<img alt="pic2" />
		<form method="post">
			<input type="radio" name="vote" value="1" />
			<input type="radio" name="vote" value="2" />
			<input type="radio" name="vote" value="3" />
			<input type="radio" name="vote" value="4" />
			<input type="radio" name="vote" value="5" />
		</form>
	</li>

	<li>
		<strong>pic title</strong>
		<img alt="pic3" />
		<form method="post">
			<input type="radio" name="vote" value="1" />
			<input type="radio" name="vote" value="2" />
			<input type="radio" name="vote" value="3" />
			<input type="radio" name="vote" value="4" />
			<input type="radio" name="vote" value="5" />
		</form>
	</li>

	<li>
		<strong>pic title</strong>
		<img alt="pic4" />
		<form method="post">
			<input type="radio" name="vote" value="1" />
			<input type="radio" name="vote" value="2" />
			<input type="radio" name="vote" value="3" />
			<input type="radio" name="vote" value="4" />
			<input type="radio" name="vote" value="5" />
		</form>
	</li>

	<li>
		<strong>pic title</strong>
		<img alt="pic5" />
		<form method="post">
			<input type="radio" name="vote" value="1" />
			<input type="radio" name="vote" value="2" />
			<input type="radio" name="vote" value="3" />
			<input type="radio" name="vote" value="4" />
			<input type="radio" name="vote" value="5" />
		</form>
	</li>
tony is offline  
Reply With Quote
The Following User Says Thank You to tony For This Useful Post:
codefreek (10-20-2008)
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:13 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design