• 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

    • At some point, hardware becomes obsolete and we cant blame vendors for dropping support. Much of the models dropped, run Intel hardware which means they can install something else on the device if they truly want to keep using it.
    • Well, that was fun: PS C:\WINDOWS\system32> Install-Script -Name Set-InetpubFolderAcl WARNING: Unable to download from URI 'https://go.microsoft.com/fwlin...627338&clcid=0x409' to ''. WARNING: Unable to download the list of available providers. Check your internet connection. PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7468 char:21 + ... $null = PackageManagement\Install-PackageProvider -Name $script:N ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (Microsoft.Power...PackageProvider:InstallPackageProvider) [Install-PackageProvider], Exception + FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackageProvider PackageManagement\Import-PackageProvider : No match was found for the specified search criteria and provider name 'NuGet'. Try 'Get-PackageProvider -ListAvailable' to see if the provider exists on the system. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7474 char:21 + ... $null = PackageManagement\Import-PackageProvider -Name $script:Nu ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (NuGet:String) [Import-PackageProvider], Exception + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.ImportPackageProvider WARNING: Unable to download from URI 'https://go.microsoft.com/fwlin...627338&clcid=0x409' to ''. WARNING: Unable to download the list of available providers. Check your internet connection. PackageManagement\Get-PackageProvider : Unable to find package provider 'NuGet'. It may not be imported yet. Try 'Get-PackageProvider -ListAvailable'. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7478 char:30 + ... tProvider = PackageManagement\Get-PackageProvider -Name $script:NuGet ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Microsoft.Power...PackageProvider:GetPackageProvider) [Get-PackageProvider], Exceptio n + FullyQualifiedErrorId : UnknownProviderFromActivatedList,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPackageProvider Install-Script : NuGet provider is required to interact with NuGet-based repositories. Please ensure that '2.8.5.201' or newer version of NuGet provider is installed. At line:1 char:1 + Install-Script -Name Set-InetpubFolderAcl + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: ( [Install-Script], InvalidOperationException + FullyQualifiedErrorId : CouldNotInstallNuGetProvider,Install-Script
    • Because Apple has never discontinued Mac models before now?
    • I recall reading that they intend to synchronize the version numbers between iOS, tvOS and macOS, so we will also be getting macOS 26 up next.
    • every time.... why can't I install windows 11 on my 8088?
  • Recent Achievements

    • Week One Done
      abortretryfail earned a badge
      Week One Done
    • First Post
      Mr bot earned a badge
      First Post
    • First Post
      Bkl211 earned a badge
      First Post
    • One Year In
      Mido gaber earned a badge
      One Year In
    • One Year In
      Vladimir Migunov earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      489
    2. 2
      +FloatingFatMan
      257
    3. 3
      snowy owl
      247
    4. 4
      ATLien_0
      223
    5. 5
      +Edouard
      190
  • Tell a friend

    Love Neowin? Tell a friend!