Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-30-2010, 02:14 AM   #1
SlamDesigns
Confirmed User
 
Join Date: Jul 2005
Posts: 2,339
Need help with WP/CSS problem...

Hey guys, long time no post. Hope everything is going well, and everyone is making a ton of cash! Anyway, I'm having a little problem with something I'm working on, and I knew that someone here could probably help me out.

I'm putting together a WordPress site for one of my buddies, and he wants the entire top (under the header and nav) of the homepage to be a video player sort of thing. Big "Featured Video" on the left and then links to his "Previous Videos" out to the right. When you click a link on the right, the previous video opens up in the featured video section. I think the pic will pretty much explain what I mean...



Now, the problem...I have evidently forgotten how to make that happen. Can anyone here help me out please? Do I need to do that with an iframe (ugh!) or is there some way I can do that with the <DIV>? Any help you guys can give me would be greatly appreciated as I have been beating my head off a wall for a couple hours trying to figure this out.

Thanks,

- Slam
SlamDesigns is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2010, 05:49 AM   #2
Robocrop
Confirmed User
 
Robocrop's Avatar
 
Industry Role:
Join Date: Aug 2008
Location: Hollywood
Posts: 2,785
Show the site when its finished
Robocrop is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2010, 08:56 AM   #3
SlamDesigns
Confirmed User
 
Join Date: Jul 2005
Posts: 2,339
Quote:
Originally Posted by Robocrop View Post
Show the site when its finished
Oh, I most certainly will...but it's probably nothing you will be interested in. It's a wrestling site.

So, does anyone have any ideas on how I can do what I need to do? Thanks (again) in advance.
SlamDesigns is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2010, 09:39 AM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
you can do this via jquery
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2010, 10:14 AM   #5
SlamDesigns
Confirmed User
 
Join Date: Jul 2005
Posts: 2,339
Quote:
Originally Posted by fris View Post
you can do this via jquery
Ah Fris...the master of the WordPress! I should have known that you'd have a solution. Would you mind going into a little (or even a lot. lol) more detail though. I'll be honest, I haven't touched the code of a page in probably 5 years...I'm waaaaaay out of date on things like jquery.

Thanks,

-Slam
SlamDesigns is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-30-2010, 03:06 PM   #6
SlamDesigns
Confirmed User
 
Join Date: Jul 2005
Posts: 2,339
Bump back to the front page. Thanks!
SlamDesigns is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-31-2010, 05:40 AM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by SlamDesigns View Post
Bump back to the front page. Thanks!
a few ways to go about this.

heres an example (this is for pics)

http://www.cryer.co.uk/resources/jav...13_gallery.htm

would need to modify it for videos.

or jquery

Code:
<ul>
<li><a href="#video1" class="video">Video 1</a></li>
<li><a href="#video2" class="video">Video 2</a></li>
<li><a href="#video3" class="video">Video 3</a></li>
<li><a href="#video4" class="video">Video 4</a></li>
<li><a href="#video5" class="video">Video 5</a></li>
<li><a href="#video6" class="video">Video 6</a></li>
<li><a href="#video7" class="video">Video 7</a></li>
</ul>

<div id="videodiv">Video code</div>
Code:
$('.video').each(function() {
  $(this).click(function(event) {
      event.preventDefault();
      var video = $(this).attr('href');
      $('#videodiv').html('<h1>Hello</h1>');
  });
});
of course you would replace <h1>hello</h1> with the actual embed function.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-31-2010, 05:54 AM   #8
Zayne E.
Confirmed User
 
Industry Role:
Join Date: Apr 2002
Posts: 1,383
Surf the net....there are solutions out there. The only possible issue with fris' example is it's a little oversimplified for a video gallery -- once a video is playing, it will continue playing (in a hidden div) when the next video is placed in view. If there is sound...well...LOL
Zayne E. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-31-2010, 06:10 AM   #9
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
here is a sample using youtube

http://jet.li/yt/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-02-2010, 12:38 AM   #10
SlamDesigns
Confirmed User
 
Join Date: Jul 2005
Posts: 2,339
Cool guys...thank you! I am testing out some of the stuff right now, seeing what I can "mix 'n match" and make work.
SlamDesigns is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.