[jQuery] Re: div show hide images

2007-09-14 Thread [EMAIL PROTECTED]
Thanks to Stephan & Wizzud for both answers. I think I have it figured out now, atleast it looks ok & works fine for me in firefox on linux, if anyone reading this on any other platform/browser can let me know if you are seeing any problems, i'd appreciate it. I'm now using an extra div with backr

[jQuery] Re: div show hide images

2007-09-14 Thread [EMAIL PROTECTED]
Thanks to both Wizzud & Stephan, I think I now have it working as I want. Using an extra div with background images, works for me in firefox on linux, if anyone reading this on another platform/browser spots any problems, please let me know. Of if anyone needs help with the same solution, I will d

[jQuery] Re: div show hide images

2007-09-13 Thread Wizzud
As an example: CSS img.showhide {width:12px; height:12px; background:#ff url('hide.jpg') no-repeat;} // if DIV is currently NOT hidden img.showhideShow {background-image:url('show.jpg');} // if DIV is currently hidden or you can put both the show and hide images in the same graphic jpg file

[jQuery] Re: div show hide images

2007-09-13 Thread Stephan Beal
On Sep 13, 2:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > what i'd like to do is change the (x) link to an image which changes > when that div is hidden. > you can see it in action here:http://propertyireland.net > any ideas? One approach is not to use a text (x), but to use an image