I need help with a simple Javascript...

Ask the few things google does not know

Moderator: Dictators in Training

I need help with a simple Javascript...

Postby Captain Insano » Sun Nov 06, 2005 11:58 pm

I saw this JS slideshow here: http://slayeroffice.com/code/slide_show/


I really like it and would like to use it on my products page of a website that is currently under construction...And honestly I can't really make heads or tales of the source code because I have no Java background.

Changing the source code to point to my hosted pictures is a piece of cake... but there are some changes I need to do...

I need the thumbnails to be 100x100 pixels large each and when the thumbnail is clicked on I need the expanded picture to be 400x400 pixels large.

I also need the top left thumbnail to already be showing when the web page is first loaded into a browser.

The final change would be to make the grey background square 400x400 pixels in size to match the new size of my pictures.

Can anyone mod the script for me to make it do that and then break down the code a little for me? I would really like to start learning some of this stuff.

Lastly, is Java compatible with all modern browsers by default?

Thanks much for the help on this.
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Tikker » Mon Nov 07, 2005 8:36 am

Java sucks shit for true
Tikker
NT Legend
NT Legend
 
Posts: 14294
Joined: Tue Mar 09, 2004 5:22 pm

Postby Captain Insano » Mon Nov 07, 2005 11:32 am

Do you know how to make it work? I fucked with this shit for like two hours and just broke the hell out of it.
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Captain Insano » Mon Nov 07, 2005 11:27 pm

godammit... where have all the haxors gone?
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Gidan » Tue Nov 08, 2005 10:35 am

If I get a chance tonight I will check out the code, java really does suck though.
For to win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.
User avatar
Gidan
Admin Abuse Squad
Admin Abuse Squad
 
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Postby Tikker » Tue Nov 08, 2005 11:39 am

mofaka, help me build a divx transcoder plugin!
Tikker
NT Legend
NT Legend
 
Posts: 14294
Joined: Tue Mar 09, 2004 5:22 pm

Postby Captain Insano » Tue Nov 08, 2005 9:09 pm

Gidan wrote:If I get a chance tonight I will check out the code, java really does suck though.


I will pay you to make those changes for me and tell me how the script works so I can mess with it in the future.... HELL, you can come over to my house and fuck my sister! (if you get it working).
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Lyion » Wed Nov 09, 2005 7:46 am

Javascript and Java are different.

Java is great for websites.
What saves a man is to take a step. Then another step.
C. S. Lewis
User avatar
Lyion
Admin Abuse Squad
Admin Abuse Squad
 
Posts: 14376
Joined: Wed Mar 10, 2004 1:42 pm
Location: Ohio

Postby Gidan » Thu Nov 10, 2005 1:09 am

Should have something for you tomorrow, for the most part its easy, though I want to kill the auther, he was great and created constant varaibles for image size and such but then went and hard coded sizes into every line rather then use his damn varaibles. Still working on having the fist picture show on initial load but that should just be a matter of time.

Just a warning, its not the fastest loading page with those image sizes. Its currently located at http://mgmcomp.com/test.html

I should have it done tomorrow and can make the source available to you
For to win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.
User avatar
Gidan
Admin Abuse Squad
Admin Abuse Squad
 
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Postby Captain Insano » Fri Nov 11, 2005 8:46 pm

dude you are the fucking MAN!

Let me know if I can return the favor or make a cash donation or buy you a pizza or something.

When you have the source done with maybe a little instruction please let me know.
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Goose_Man » Sat Nov 12, 2005 10:11 am

You should take him up on his offer and go fuck his sister.
User avatar
Goose_Man
NT Patron
NT Patron
 
Posts: 1729
Joined: Fri Mar 12, 2004 4:46 pm
Location: San Antonio

Postby Captain Insano » Sat Nov 12, 2005 1:32 pm

HAH!
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Captain Insano » Mon Nov 14, 2005 12:53 pm

Gidan wrote:Should have something for you tomorrow, for the most part its easy, though I want to kill the auther, he was great and created constant varaibles for image size and such but then went and hard coded sizes into every line rather then use his damn varaibles. Still working on having the fist picture show on initial load but that should just be a matter of time.

Just a warning, its not the fastest loading page with those image sizes. Its currently located at http://mgmcomp.com/test.html

I should have it done tomorrow and can make the source available to you


Hey bro any luck finishing this yet? Also would you mind telling me a little about how it works and maybe some resources where I can learn some java basics?

Also is there anything you might want? Like could I dropship you a new video game, music, hookers etc? I want to give you something for your time. Let me know what its worth.

PM the captain.
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Darcler » Mon Nov 14, 2005 1:01 pm

Goose_Man wrote:You should take him up on his offer and go fuck his sister.


:brdflick:
User avatar
Darcler
Saran Wrap Princess
Saran Wrap Princess
 
Posts: 7161
Joined: Thu Jun 17, 2004 10:54 pm
Location: Dallas, TX

Postby Captain Insano » Mon Nov 14, 2005 2:22 pm

Speaking of hot sister's in need of love... How's rachel doing goosse? hahaah.
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Gidan » Mon Nov 14, 2005 6:10 pm

Havn't had the time to do anything with it. For now you can grab the source as it is.

Http://mgmcomp.com/test.html
Http://mgmcomp.com/test.css
Http://mgmcomp.com/test.js
For to win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.
User avatar
Gidan
Admin Abuse Squad
Admin Abuse Squad
 
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Postby Captain Insano » Mon Nov 14, 2005 7:16 pm

awesome thanks!

Can I use the source of the test.html and mod the hyperlinks to make it work for my products on my website, or is it more complicated than that?
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Goose_Man » Mon Nov 14, 2005 11:47 pm

captain_insano wrote:Speaking of hot sister's in need of love... How's rachel doing goosse? hahaah.


She actually thought you were pretty hot, told Sarah's sis that she had a crush on you LOLZ.
User avatar
Goose_Man
NT Patron
NT Patron
 
Posts: 1729
Joined: Fri Mar 12, 2004 4:46 pm
Location: San Antonio

Postby Captain Insano » Tue Nov 15, 2005 10:36 am

hahah awesome. I hate to tell you this, but she's going to be a knockout in a couple more years.
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Goose_Man » Tue Nov 15, 2005 11:10 am

Trust me I know....don’t get any smart ideas or ill ruin that pretty face of yours with extreme prejudice!!!

MY FIST YOUR FACE
User avatar
Goose_Man
NT Patron
NT Patron
 
Posts: 1729
Joined: Fri Mar 12, 2004 4:46 pm
Location: San Antonio

Postby Captain Insano » Tue Nov 15, 2005 1:48 pm

lol...Better me than lets sayyy a BLACK guy! Man that would be so awful. We'd both have to beat her ass.
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Gidan » Tue Nov 15, 2005 6:36 pm

You can just mod the test.html file. Also if you want to change the name of the files from test.* you can just make sure you make the changes in the .html file to relect the change. If you want to merge it into another website just make sure everything from <link through </script> is moved together. Also Everything from the first <div> to the last </div> needs to be kept together.

If your using another .css file on your site, you may want to combine the .css file I have provided with the one you already have and change the .css call to the .css file you already have.
For to win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.
User avatar
Gidan
Admin Abuse Squad
Admin Abuse Squad
 
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Postby Captain Insano » Tue Nov 15, 2005 8:20 pm

Excellent thanks much! Anything you want in exchange for the work? A new game? money ? Goosse's sister?
Tossica: No, you're gay because you suck on cocks.

Darcler:
Get rid of the pictures of the goofy looking white guy. That opens two right there.

Mazzletoffarado: That's me fucktard
Vivalicious wrote:Lots of females don't want you to put your penis in their mouths. Some prefer it in their ass.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
 
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Postby Gidan » Wed Nov 16, 2005 4:17 pm

I am good, thanks for the offer.
For to win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.
User avatar
Gidan
Admin Abuse Squad
Admin Abuse Squad
 
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 19 guests

cron