• 0

Does neowin use jQuery and CSS


Question

This is mainly a question for the developers at neowin, is your drop down menu jQuery and CSS driven or just CSS. The only reason I ask is because I just started using jQuery and I have a tutorial which shows you how to create a smooth mouse over menu system and CSS and it looks awesome. Although yours has rounded corners, this has square but the principle is the same. jQuery is easy to learn.

Link to comment
https://www.neowin.net/forum/topic/925960-does-neowin-use-jquery-and-css/
Share on other sites

12 answers to this question

Recommended Posts

  • 0

I don't think Neowin uses jQuery, but it uses some sort of JavaScript Framework.

Rounded corners is simple to do in CSS, but each standards-compliant browser has it's own version of it in CSS. Technically the code is not valid, but if it works, it works. It's the border-radius property. Mozillas version is -moz-border-radius, Webkit's version is -webkit-border-radius, and I believe Operas is just border-radius.

I believe if Neowins menu was pure (X)HTML and CSS, it would not work in older browsers like IE6.

.. and using different fonts in posts is cool. Might do it more. >.>

  • 0

IPB uses prototype, but for everything else we use jQuery.

However, the dropdown menus are simple CSS. At most, we have added some transitional effects from jQuery, but it's not used for the basic dropdown functionality.

  • 0
  On 01/08/2010 at 23:28, jamesyfx said:

Rounded corners is simple to do in CSS, but each standards-compliant browser has it's own version of it in CSS. Technically the code is not valid, but if it works, it works. It's the border-radius property. Mozillas version is -moz-border-radius, Webkit's version is -webkit-border-radius, and I believe Operas is just border-radius.

The non-prefixed border-radius property works in Webkit too I believe, same for the IE9 previews. It's just Firefox that doesn't support the non-prefixed version, but allegedly Fx4 will.

  • 0

box-shadow is a mess at the moment, if anything it'll probably end up with either IE9 getting the prefix, or it's implementation changing in either Gecko or WebKit.

Edit: Ideally the prefix shouldn't be dropped until the module it's in is in the CR (Candidate Recommendation) stage, unfortunately it's on a per module basis, so while border-radius is pretty much done, box-shadow isn't.

  • 0
  On 01/08/2010 at 23:36, gigapixels said:

IPB uses prototype, but for everything else we use jQuery.

However, the dropdown menus are simple CSS. At most, we have added some transitional effects from jQuery, but it's not used for the basic dropdown functionality.

Thank you, I have only just started using jQuery, and it's the first time I have ever heard of it until yesterday prototype has been around for a while but jQuery is relatively new. jQuery saves a lot of time in coding, its like cutting corners but it's quite powerful.

  • 0
  On 02/08/2010 at 00:31, njlouch said:

Not sure why you think jQuery is new, but I am still learning more and better ways of using it. Lovely framework.

Same here, its by far and away the best "general purpose" JS library out there. Its saved me countless hours of coding.

  • 0
  On 02/08/2010 at 00:44, Majesticmerc said:

Same here, its by far and away the best "general purpose" JS library out there. Its saved me countless hours of coding.

another jquery fan here. its so adaptable and it has a ridiculous amount of tutorials for beginners/lazy devs lol

  • 0
  On 01/08/2010 at 23:42, The_Decryptor said:

box-shadow is a mess at the moment, if anything it'll probably end up with either IE9 getting the prefix, or it's implementation changing in either Gecko or WebKit.

...

Just in case anybody was wondering what I meant by that, here's some images.

643701912.png260111119.png990797076.png

On the left is Gecko, WebKit is in the middle and on the end is the IE9 preview. The spec doesn't really say what the blur radius actually does/effects, so no browser is wrong or right.

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

    • No registered users viewing this page.
  • Posts

    • Jony Ive is reportedly working on multiple AI devices for OpenAI, including a mobile gadget by Hamid Ganji Last month, OpenAI announced acquiring Jony Ive's startup, io, in a $6.5 billion deal. Ive, who served as Apple's design chief for over two decades, moved to OpenAI to work on the company's AI hardware projects. While the details of these projects have remained relatively untold, Mark Gurman's Power On newsletter revealed some exciting insights about Jony Ive's work at OpenAI. According to Gurman, Apple's former design chief is now spearheading a series of groundbreaking AI hardware products for OpenAI. One of these under-development devices is described as a "mobile gadget" that takes the form of a "pendant" and can be worn around the neck. This device could allegedly allow users to access ChatGPT with voice commands. Another of Ive's works at OpenAI is a home device that functions similarly to a smart speaker. Users can put the device on a table and perform various tasks using OpenAI's ChatGPT. Interestingly, OpenAI also has a robot device under development. As Gurman says, this robot "will likely be a machine that develops a relationship with a human using AI." However, OpenAI's robot is still far from being made available on the market. After acquiring Jony Ive's startup, OpenAI CEO Sam Altman described Ive as the best designer in the world, adding that they can now work on the next generation of AI-powered computers. More details about OpenAI-Ive hardware products could emerge over the next few months. OpenAI was already rumored to be working on a mysterious AI gadget, presumably a screenless AI phone, which might be the same mobile gadget that Gurman revealed. While details of this alleged AI mobile are yet unknown, such a device could pose an alternative to conventional smartphones, raising the alarm for smartphone makers such as Apple, Samsung, and Google. Meanwhile, Apple might already be expecting such a device, as its services chief Eddy Cue allegedly said during his testimony at Google's antitrust case that iPhones might no longer exist 10 years from now.
    • Seems Nintendo have already thought of that after the Joy-Con drift in the Switch 2 EULA: Clause 16 of the EULA reads: "This arbitration provision precludes you and Nintendo from suing in court, having a trial by jury, or participating in a class action. You and Nintendo agree that arbitration will be solely on an individual basis and not as a class arbitration, class action, or any other kind of representative proceeding. You and Nintendo are each waiving the right to trial by a jury."
    • Cool glass phone you have in that silicon case bro
    • I can't say I ever noticed an OEM putting effort into user-friendly descriptions and icons who didn't also put effort into making good drivers. Usually, missing icons and descriptions was also a sign of bad drivers.
  • Recent Achievements

    • First Post
      brynmot earned a badge
      First Post
    • Reacting Well
      brynmot earned a badge
      Reacting Well
    • Week One Done
      Al_ earned a badge
      Week One Done
    • Week One Done
      MadMung0 earned a badge
      Week One Done
    • Reacting Well
      BlakeBringer earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      478
    2. 2
      +FloatingFatMan
      274
    3. 3
      ATLien_0
      243
    4. 4
      snowy owl
      209
    5. 5
      Edouard
      185
  • Tell a friend

    Love Neowin? Tell a friend!