• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

JavaScript Test

OdiN

Banned
If you guys wouldn't mind....test out this javascript for me.

Just click on the different thumbnails to load the 3 different images.

If it works, cool. If it doesn't work if you wouldn't mind posting what OS/browser version you are running.

It works for me in IE/Firefox...but want to check other configurations.

Thanks!

http://www.ranetworks.net/jstest/
 
Originally posted by: Nik
Why is 3 larger than 1 and 2?

Just to make sure it wouldn't limit the size of the image.

(which it did how I first had the code cuz I messed up the HTML...so I caught the error)
 
Originally posted by: ironcrotch
It works fine here. Might help to try actual images, cuz the numbers can be deceiving. I'm using OSX and Safari.

Deceiving how?

Nice to know safari works with it.
 
Originally posted by: OdiN
Originally posted by: ironcrotch
It works fine here. Might help to try actual images, cuz the numbers can be deceiving. I'm using OSX and Safari.

Deceiving how?

Nice to know safari works with it.

because i'm dumb and didn't think it worked at first cuz the images were so similar and was gonna post that #3 didnt work because it was a different size. 😱
 
Nice! Works perfectly. Say, I could use that. Are you just using something someone else wrote, and are you fitting it to your own needs, or did you write it yourself? I'm not that gifted with JavaScript 😛.
 
Why not just use all PHP because you're going to need PHP to dynamically resize your pics. It'd be stupid to create a seperate thumbnail manually unless you like to waste time.
 
Originally posted by: Vegitto
Nice! Works perfectly. Say, I could use that. Are you just using something someone else wrote, and are you fitting it to your own needs, or did you write it yourself? I'm not that gifted with JavaScript 😛.

Source is all open, feel free to use it. I modified some other stuff and fit it to make it work for what I wanted.
 
Originally posted by: tfinch2
Why not just use all PHP because you're going to need PHP to dynamically resize your pics. It'd be stupid to create a seperate thumbnail manually unless you like to waste time.


1. I don't know PHP.

2. I don't need to resize anything.
 
Originally posted by: OdiN
Originally posted by: tfinch2
Why not just use all PHP because you're going to need PHP to dynamically resize your pics. It'd be stupid to create a seperate thumbnail manually unless you like to waste time.


1. I don't know PHP.

2. I don't need to resize anything.

From looking at your source, the original image and the thumbnails look like two different files.
 
Originally posted by: tfinch2
Originally posted by: OdiN
Originally posted by: tfinch2
Why not just use all PHP because you're going to need PHP to dynamically resize your pics. It'd be stupid to create a seperate thumbnail manually unless you like to waste time.


1. I don't know PHP.

2. I don't need to resize anything.

From looking at your source, the original image and the thumbnails look like two different files.

Yeah they are.

Oh and BTW all images will be batch processed by Photoshop and will auto-create thumbnails. I just select all the images I want and click a couple buttons and it does everything for me. All I have to do is reference them in the HTML. I don't plan on using these particular "galleries" for more than maybe 48 images.
 
Back
Top