Public Voice Network
- the gif animation thread 1132211322
- blog 5557855578
- Shit QBNers Say 121121
- Steve Jobs FBI file 66
- Shit QBNers think 6969
- Your Last Concert 374374
- What are you listening to… 41734173
- Park Slope 22
- The Elder Scrolls V: Skyr… 7676
- Pic of the Day 5937159371
- Vid of the Day 1096010960
- ♥ Things girls like ♥ 9696
- AE shadows won't work 99
- Suggest a good movie... 935935
- Politics 1759717597
- Chick of the Day 1431414314
- Skateboarding. 598598
- intern -> job 2020
- TYPO San Francisco 44
- Shit Photographers Say 44
- Trailer Of The Day 388388
- Skillz of the day 2121
- Smart Phone #2 88
- Show some recent work 47664766
Jquery Image Resizer 88 Responses
Last post: 2 years, 6 months ago | Thread started: Jul 23, 09, 7:04 a.m.
- neverblink
I don't know, but you might want to add a math.round() to that ratio (so it sets the width to whole pixels)

- Dog-earJul 23, 09, 7:10 a.m. – Permalink
- neverblink
there is no hash sign in the code you posted (before featuredPost) on pastebin > could be your problem

- Dog-earJul 23, 09, 7:55 a.m. – Permalink
- neverblink
after adding:
var maxWidth = 200;
the script worked fine in Firefox and Internet Explorer, but not in Safari.. Safari executes the code before the images are loaded if you another call to the function on body.onload then it works in Safari as well.

- Dog-earJul 23, 09, 8:14 a.m. – Permalink
- neverblink
here's the code of my testing document: http://pastebin.com/mf3d3931

- Dog-earJul 23, 09, 8:26 a.m. – Permalink





