Open it in photoshop, flip horizontally, flip vertically
Youâre kidding right? lol :whistle:
dusts off Javascript for Dummies
For clarification I only want to use slices 4 and 5 (see the image above) in the html document but I want to use several versions of them all but just have them rotated or flipped. Can this be done using html? If yes how? Should this be done using Javascipt? If yes how? :d:
Please someone point me in the right direction 'cause Iâm lost. :crying: :cyclops:
thinks⌠âwhere the heck is DDD?â
Why do you need to do it in JS or HTML?
Why not just do it in an image editor program?
He wants to keep the file size down ethan.
CG, I think it miiiiight be possible with css or maybe JS, but I doubt it would be cross browser friendly, and it might lose some quality, it might just be better to use different images.
file size down? what are we talking about here? a total savings of like 15k?
Thatâs what I was thinking too.
scratches head This is frustrating because I know that itâs probably not that difficult and I could use the extra 15kb Iâll gain for some more cool shat.
Please keep the ideas cominâ. Maybe Iâll just re-slice it in a more efficent manner.
15kb matters to people on dial up.
the extra 15kb Iâll gain for some more cool shat
how would you use 15kb for cool shat? seriously, even on dial-up 15kb donât matter when they have to load a whole page anyway. thatâs like taking away a sand-grain to make the beach smaller cos itâs taking too much space.
there is a wayâŚ
http://www.ssi-developer.net/css/visual-filters.shtml
you can also apply the style=FILTER: part of the code in imgs, tables, etc.
[blur]check the source for this text[/blur]
whoha, half those filters I didnât even know existed
âŚ
that just sounded wrong, grammatically I mean
still grammatically correct, you just have the words mixed aroundâŚ
âI didnât even know half those filters existedâ
talk like yoda you do?
Yeah those are all great and all considering 100% of your users use IE 5.5+ (I think thatâs the cut off at least)
Anyhow, if you want something crossbrowser compatible thatâs not going to be a route youâll want to take. Not a single one of those filters works in mozilla based browsers.
Well, heâs in the right mindset having to use multiple instances of the same image instead of one big one. Sometimes you just have to sacrifice, or just use Flash.
Bill, youâre seriously not spending this much time to save 15k load time right?
[ot]what would **you **do for a klondike bar?[/ot]
How big do you guys make your pages? If you have 20 pages or so that are 100kb+ then thatâs a lot of waiting for our poor dial up friends.
You can do a lot with 15kb if youâre creative.
Thanks thorphies.
Ethan itâs not just about the 15kb that I could save for this page. Itâs about the 15kb that I could possibly save on future pages. A lot of people do still have dial up ya know. <insert winky>
Pretty much anything that breathes, or once did.
the amount of time it would take to take that image and flip it using the code would equal or be greater than actually reloading the imageâŚimho
and to reuse the image - same deal.
I really wish I could see those css styles
Oh well, Mozilla will some day update I hope and be able to view such things. Until then, I will live without them!