Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2006, 02:15 PM
Registered User
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default rollovers in css

hi all, first timer here. can anyone direct me to code that will allow me to rollover an image in one position on a page, and have another image appear elsewhere on the same page? accomplished in CSS? thankyou.
 
Old May 2nd, 2006, 02:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hi! :)

You can do that only if there is a close structural relationship between the two elements. I.e. the hidden element must be contained in the hovered element. Read link for all practical purposes since IEWin only supports :hover on links.

See Eric Meyers old demo here:
http://meyerweb.com/eric/css/edge/popups/demo.html
Also read this about the IE quirks. Got me tearing my hair out once, this one. :D
http://www.quirksmode.org/index.html...csspopups.html

If you want to turn arbitrary items all over the page on and off, you're better off with JavaScript.

--
http://yupapa.com
 
Old May 2nd, 2006, 05:33 PM
Registered User
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

tx for the help meow, your links took me to places where I needed to be. ;)
I'm very impressed with my first experience here, wish I knew more to help others.
regards, john






Similar Threads
Thread Thread Starter Forum Replies Last Post
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
rollovers in xslt mbic XSLT 5 May 5th, 2006 10:00 AM
CSS Rollovers Using JScript in IE 6.0 Problem kwilliams Other Programming Languages 1 March 1st, 2006 01:20 PM
Rollovers not working Adam H-W Javascript 9 April 24th, 2004 09:30 AM
interesting problem - re: database & rollovers highbeef Classic ASP Databases 4 March 2nd, 2004 09:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.