I need help with a simple Javascript...

Ask the few things google does not know

Moderator: Dictators in Training

Post Reply
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

I need help with a simple Javascript...

Post by Captain Insano »

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.
Tikker
NT Legend
NT Legend
Posts: 14294
Joined: Tue Mar 09, 2004 5:22 pm

Post by Tikker »

Java sucks shit for true
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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

Post by Captain Insano »

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
Gidan
Admin Abuse Squad
Admin Abuse Squad
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Post by Gidan »

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.
Tikker
NT Legend
NT Legend
Posts: 14294
Joined: Tue Mar 09, 2004 5:22 pm

Post by Tikker »

mofaka, help me build a divx transcoder plugin!
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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
Lyion
Admin Abuse Squad
Admin Abuse Squad
Posts: 14376
Joined: Wed Mar 10, 2004 1:42 pm
Location: Ohio

Post by Lyion »

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
Gidan
Admin Abuse Squad
Admin Abuse Squad
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Post by Gidan »

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
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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
Goose_Man
NT Patron
NT Patron
Posts: 1729
Joined: Fri Mar 12, 2004 4:46 pm
Location: San Antonio

Post by Goose_Man »

You should take him up on his offer and go fuck his sister.
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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

Post by Captain Insano »

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
Darcler
Saran Wrap Princess
Saran Wrap Princess
Posts: 7161
Joined: Thu Jun 17, 2004 10:54 pm
Location: Dallas, TX
Contact:

Post by Darcler »

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


:brdflick:
User avatar
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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
Gidan
Admin Abuse Squad
Admin Abuse Squad
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Post by Gidan »

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
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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
Goose_Man
NT Patron
NT Patron
Posts: 1729
Joined: Fri Mar 12, 2004 4:46 pm
Location: San Antonio

Post by Goose_Man »

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
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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
Goose_Man
NT Patron
NT Patron
Posts: 1729
Joined: Fri Mar 12, 2004 4:46 pm
Location: San Antonio

Post by Goose_Man »

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
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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
Gidan
Admin Abuse Squad
Admin Abuse Squad
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Post by Gidan »

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
Captain Insano
Nappy Headed Ho
Nappy Headed Ho
Posts: 8368
Joined: Fri Apr 16, 2004 1:04 pm
Location: SoCal

Post by Captain Insano »

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
Gidan
Admin Abuse Squad
Admin Abuse Squad
Posts: 2892
Joined: Tue Jan 04, 2005 11:01 am

Post by Gidan »

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.
Post Reply