Website optimization by Andrew King
Author:Andrew King
Language: eng
Format: mobi
Tags: Web, Page Design, Web sites - Design, Electronic books, Internet programming, Site Design, Internet, Internet Marketing, Business, Software Development & Engineering, Systems Analysis & Design, Web sites, Computers, Search Engines, Business - Computer networks, Web Page Design, Business & Economics, Reference:Computers, Electronic commerce, General, E-Commerce, Design
ISBN: 9780596515089
Publisher: Farnham : O'Reilly, 2008.
Published: 2008-01-15T21:26:19.165000+00:00
Tip #10: Replace JavaScript Behavior with CSS Techniques
JavaScript is commonly used for rollovers and drop-down menus. However, in many cases you can substitute CSS :hover effects for JavaScript rollovers. Here is a real-world example that uses graphics rollovers for a left navigation bar (see Figure 7-1) that also uses graphical text (complete with underlines):
<img src="images/nav/nonav_top.gif"><br>
<a href="/tourism/" onMouseOver="act('tourism')" onMouseOut="inact('tourism')">
<img src="images/nav/tourism_off.gif" alt="Tourism" name="tourism" border="0"></a>
<br>
<a href="/trade/" target="_blank" onMouseOver="act('trade')"
onMouseOut="inact('trade')">
<img src="images/nav/trade_off.gif" alt="Trade" name="trade" border="0"></a><br>
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Bad Blood by John Carreyrou(6245)
Rich Dad Poor Dad by Robert T. Kiyosaki(6110)
Principles: Life and Work by Ray Dalio(5873)
Playing to Win_ How Strategy Really Works by A.G. Lafley & Roger L. Martin(5316)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4414)
The Confidence Code by Katty Kay(3994)
Thinking in Bets by Annie Duke(3970)
American Kingpin by Nick Bilton(3476)
Delivering Happiness by Tony Hsieh(3255)
Project Animal Farm: An Accidental Journey into the Secret World of Farming and the Truth About Our Food by Sonia Faruqi(2986)
The Power of Habit by Charles Duhigg(2930)
Brotopia by Emily Chang(2870)
Mastering Bitcoin: Programming the Open Blockchain by Andreas M. Antonopoulos(2868)
The Tyranny of Metrics by Jerry Z. Muller(2819)
I Live in the Future & Here's How It Works by Nick Bilton(2817)
The Marketing Plan Handbook: Develop Big-Picture Marketing Plans for Pennies on the Dollar by Robert W. Bly(2762)
The Content Trap by Bharat Anand(2754)
Building a StoryBrand by Donald Miller(2736)
Applied Empathy by Michael Ventura(2723)
