JavaScript Breadcrumbs navigation

יום שבת, ינואר 23, 2010

In this code listing I want to demonstrate how to implement "Breadcrumbs" in JavaScript for the pages collection, where page object have a two main key's pageId and parentPageId, and create a new collection sorted by current parents.   Listing 1:  function page(pageId, parentPageId, title) { return this.constructor(pageId, parentPageId, title); }page.prototype = { // properties pageId: null, parentPageId: null, title: "", setPageId: function(pageId) { this.pageId = pageId; ...

"Run as Administrator" – Run an application in Vista with Administrator rights using app.manifest

יום שני, אוקטובר 13, 2008

With the new version of Microsoft's Windows Vista - you and me as a software developer confronted with the problem of "How to run the application with Administrative rights under VISTA - a decision use app.manifest file with follow configurations.Just add new item "Application Manifest File" into your project and replace all to this one. (See below) <?xml version="1.0" encoding="utf-8" ?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" > <assemblyIdentity version="" processorArchitecture="X86" name="someExecName" type="win32" /> <description>Program description</description> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="requireAdministrator" /> ...
5 תגובות

Windows Hosts File Manager

יום שלישי, אוקטובר 7, 2008

Hi Guy's I'm wrote some little server component (tool) Windows Hosts File Manager for Web Developers & IT Administrators, QA and others... This application tool for Web Developers & IT Administrators, QA and others who are time to time make some changes in the HOSTS file of the Windows OS.Using this application you might to edit HOSTS file, add & delete some configurations in that file.     Download from MSDN Code Gallery - Windows Hosts File Manager (Setup + Open Source) or from - Open Source Community * The last release is support...
תגיות: , , , , ,
10 תגובות

jQuery.create() – jQuery plugin to create HTML elements

יום חמישי, אוגוסט 21, 2008

jQuery.create() - it's a featured plugin for jQuery JavaScript Library. You can create any types of HTML elements, set attributes and context or HTML using jQuery.create(). See below the HTML example declaration. I think it make easy and fast your programming in JavaScript. jQuery.create = function() { if (arguments.length == 0) return ; var args = arguments || {}, elem = null, elements = null; var siblings = null; // In case someone passes in a null object, // assume that they want an empty string. ...
תגיות: , , , ,
26 תגובות

JavaScript Repeater Control (dataRepeater) – from jQuery.Presenter.1.0.8 – UIControls Library

יום רביעי, אוגוסט 20, 2008

In this post, I want to present a new JavaScript Repeater Control from my latest UIControls Library jQuery.Presenter 1.0.8. This control like (ASP.NET Repeater Control) created using jQuery Library 1.2.3 and support for later versions. It's a free open source script... Enjoy... /* * jQuery.Presenter 1.0.8 * Author: ( * Description: developed and tested on jQuery 1.2.1, * support and fixes for jQuery 1.2.6 */jQuery.fn.presenter = function() { if (arguments.length == 0) return ; var args = arguments || {}; // Global arguments var controlType = args.controlType; ...
10 תגובות