Jump to content

Search the Community

Showing results for tags 'jquery'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

Found 5 results

  1. An example on how to inject jQuery into a web page It can be useful to manage the page from AutoIt using jQuery. Idea from here: http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet Suggestions and improvements are welcome #include <ie.au3> Example() Func Example() Local $oIE = _IECreate("www.google.com") Local $jQuery = _jQuerify($oIE) MsgBox(0, "Version", "jQuery version: " & $jQuery.fn.jquery) MsgBox(0, "Example", "click ok to exit." & @CRLF & "Google logo will fad
  2. I needed a quick and dirty approach to splitting up jQuery multiple selectors, so I could record if a selector pattern had already been used. So I came up with this "quick 'n' dirty" hack. If someone can up with better let me know. I tried to look at the sizzle source, but didn't have enough time to plough through 2000 lines of code. // Split the following multiple selectors into an array var selector = '#nav-bar-temp-1 a, #nav-bar-temp-2 a'; console.log(getSelectors(selector)); /** * Get a list of selectors (singule or multiple) * * @param {string} selector A valid jQuery
  3. (function goodExample($) { var $selector = $('.someClass'); // Stop flickering $selector.hide(); $selector.css({ background: 'blue', }); $selector.show(); }(window.jQuery)); (function badExample($) { // Stop flickering $('.someClass').hide(); $('.someClass').css({ background: 'blue', }); $('.someClass').show(); }(window.jQuery)); By not caching jQuery selector objects, means each time the DOM needs to be traversed to find each element with the class name of 'some
  4. I was look at the difference between the current jQuery and v3.0. What I noticed was the following had be changed in once section of the code. Now I am wondering is there a performance difference in an interpreted language with regards to >= compared to just >, or is it pure readability only? Is it the fact there is one less char to check before before evaluating? variable >= 0 (v2.0.*) changed to variable > -1 (v3.0.*)
  5. Hello, this is a little piece of code, I use to generate an index.html page. (The index.html is a starting point to navigate through the local file structure and openend via a link from our web application.) Workflow: 1) Read the file structure (recursive) 2) Write the html file (which includes, the images as inline html, the css and the complete javascript [all minified]) The files can be sorted by --> 0 = filename, 1 = file creation time, 2 = Size of file Thanks to KaFu and Melba23 #region ;************ Includes ************ #include-once #include <Array.au3> #endr
×
×
  • Create New...