• 0

can this be done without JS


Question

http://www.google.com/chrome/intl/en/features.html is the page.

clicking the items on the sidebar updates the info in the main section making it easy to do a lot of info in one small page without reloading.

the effect is achieved with JS by looking through the source code which is fine if you use JS but if you have it disabled it kinda wrecks it all. anyone know of a way to do this without using JS and more of a "pure css" approach?

Link to comment
https://www.neowin.net/forum/topic/706304-can-this-be-done-without-js/
Share on other sites

9 answers to this question

Recommended Posts

  • 0
I really don't see how it's possible without JS. You could have it so it falls back to a simple page change when JS is not enabled, but I think that's the best your going to get.

i'd thought that. its fairly easy to come across all manner of implementations of this sort of thing but they all use JS it seems. i might have to just go down that route.

  • 0
wouldn't pseudo hover start giving you grief in IE6?

if you could elaborate that would be good. im just looking to achieve something simple like google. vertical list and a box that the content updates in.

Yeah, it would cause problems in IE6. As stated previously, it would only work if the user were to keep their mouse on the element that activated it - otherwise, it would disappear. JavaScript would be required to re-create the effect seen on the aforementioned Google Chrome page. :)

Steven

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It saddens me when cars are such dull colours now. Mine is bright metallic blue and I absolutely adore it for standing out in contrast to that depressing backdrop of traffic.
    • Sparkle 2.20.0 by Razvan Serea Sparkle is a free, open-source Windows optimization tool designed to make your PC faster, cleaner, and more private. With Sparkle, you can easily debloat Windows by removing unnecessary apps and services, disable Microsoft tracking to enhance privacy, and apply performance tweaks to boost speed. Its cleaner removes junk and temporary files, while every change is safe and fully reversible. Sparkle also features a modern, user-friendly interface with automatic updates, making system maintenance simple. Explore over 39 tweaks, from disabling telemetry and hibernation to optimizing network and game settings, all aimed at customizing and enhancing your Windows experience. Sparkle supports Windows 10 and 11. Sparkle 2.20.0 changelog: Debloat Tweak has animated border New homepage loading UI New Tweak Modal (Markdown Supported) Refactored GPU Detection Added Tests with vitest Added foobar2000 to apps Added Localsend to apps Updated Modal Styles Added styles for disabled inputs Added Animated Border to debloat-windows tweak Bumped dependencies Refactor System info logic for speed Tweak info modals now support Markdown Added Clear System info cache to settings Redesigned Home Page Loading UI Changed Some Icons around the app Download: Sparkle 2.20.0 | Portable | ~100.0 MB (Open Source) Links: Sparkle Website | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • lol it was a typo, fixed! haha imagine an actual 4TB Gen4 NVMe for $40 in 2026
    • Get over it, has nothing to do with my point.
    • I really don't like these rounded corners and huge borders in the viewport. They just waste space without anything in return.
  • Recent Achievements

    • Reacting Well
      Dys Topia earned a badge
      Reacting Well
    • Conversation Starter
      NovaEdgeX earned a badge
      Conversation Starter
    • One Year In
      Console General earned a badge
      One Year In
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      517
    2. 2
      +Edouard
      184
    3. 3
      PsYcHoKiLLa
      106
    4. 4
      Steven P.
      88
    5. 5
      ATLien_0
      68
  • Tell a friend

    Love Neowin? Tell a friend!