All tricks on da WWWeb

This is a collection of cool Web programming stuff - mostly UI Design, optimization & usability related stuff

Home  |  Sumedha Pics  |  Thoughts  |  Humour  |  ParaNormal

Tuesday, April 18, 2006

Search meta data of SQL, Oracle + Source code w/ Google Deskbar+GPLEX

The Gplex Database and source code crawler
Search all the metadata in your SQL, Oracle and now
DB2 (beta) databases and source code (*.cpp, *.asp, *.js, *.cs, etc.) :


GplexDB crawls and indexes all your SQL, Oracle and DB2(beta)
databases for Functions,

Triggers, Procedures, Tables, Columns, Views, Packages and Procedures and your source
code

all of which are searchable from a single interface.
Try the Gplex Crawler


How Gplex Works




Unlike competitive search solutions which require large upfront investment, the
Gplex Database Search is an easy to use, downloadable product that delivers high
quality search results for an free. And since Gplex Database and Source Code
crawler is open source you can modify it and tweak it to your needs.





How many times have you searched your database and source
to find a particular error message or field that is used in a procedures or package
and forgotten
where in your database or source code a particular field is being
used?



How much faster could your new employees become productive if there was a
consolidated searchable view of your source code and databases metadata so that
they could find the package, trigger, procedure, function instantly and on demand?


Meet the Gplex Database and Source Crawler. Designed to help
any business make the most of their employees, the Gplex Database is a software
search product that delivers the power and productivity of searching across your
organization’s databases and source code independent of your backend being Oracle,
SQL, DB2 and regardless of what programming language you use.


The Gplex Database and Source Code Crawler:



  • Can be searchable immediately
    while it completes indexing of your databases and sources.

  • Free to use, and with the source
    code avaliable for download you are free to modify and use it.

Windows - RUN command shortcuts


RUN command shortcuts


I know there are a lot of people who love using the run prompt or the command prompt rather than using the mmc control ... So here are some quick tips that you can use ... Enjoy ...

Accessibility Controls : access.cpl

Add Hardware Wizard : hdwwiz.cpl

Add/Remove Programs : appwiz.cpl

Administrative Tools : control admintools

Automatic Updates : wuaucpl.cpl

Bluetooth Transfer Wizard : fsquirt

Calculator : calc

Certificate Manager : certmgr.msc

Character Map : charmap

Check Disk Utility : chkdsk

Clipboard Viewer : clipbrd

Command Prompt : cmd

Component Services : dcomcnfg

Computer Management : compmgmt.msc

Date and Time Properties : timedate.cpl

DDE Shares : ddeshare

Device Manager : devmgmt.msc

Direct X Control Panel (If Installed)* : directx.cpl

Direct X Troubleshooter : dxdiag

Disk Cleanup Utility : cleanmgr

Disk Defragment : dfrg.msc

Disk Management : diskmgmt.msc

Disk Partition Manager : diskpart

Display Properties : control desktop

Display Properties : desk.cpl

Display Properties (w/Appearance Tab Preselected) : control color

Dr. Watson System Troubleshooting Utility : drwtsn32

Driver Verifier Utility : verifier

Event Viewer : eventvwr.msc

File Signature Verification Tool : sigverif

Findfast : findfast.cpl

Folders Properties : control folders

Fonts : control fonts

Fonts Folder : fonts

Free Cell Card Game : freecell

Game Controllers : joy.cpl

Group Policy Editor (XP Prof) : gpedit.msc

Hearts Card Game : mshearts

Iexpress Wizard : iexpress

Indexing Service : ciadv.msc

Internet Properties : inetcpl.cpl

IP Configuration (Display Connection Configuration) : ipconfig /all

IP Configuration (Display DNS Cache Contents) : ipconfig /displaydns

IP Configuration (Delete DNS Cache Contents) : ipconfig /flushdns

IP Configuration (Release All Connections) : ipconfig /release

IP Configuration (Renew All Connections) : ipconfig /renew

IP Configuration (Refreshes DHCP & Re-Registers DNS) : ipconfig /registerdns

IP Configuration (Display DHCP Class ID) : ipconfig /showclassid

IP Configuration (Modifies DHCP Class ID) : ipconfig /setclassid

Java Control Panel (If Installed) : jpicpl32.cpl

Java Control Panel (If Installed) : javaws

Keyboard Properties : control keyboard

Local Security Settings : secpol.msc

Local Users and Groups : lusrmgr.msc

Logs You Out Of Windows : logoff

Microsoft Chat : winchat

Minesweeper Game : winmine

Mouse Properties : control mouse

Mouse Properties : main.cpl

Network Connections : control netconnections

Network Connections : ncpa.cpl

Network Setup Wizard : netsetup.cpl

Notepad : notepad

Nview Desktop Manager (If Installed) : nvtuicpl.cpl

Object Packager : packager

ODBC Data Source Administrator : odbccp32.cpl

On Screen Keyboard : osk

Opens AC3 Filter (If Installed) : ac3filter.cpl

Password Properties : password.cpl

Performance Monitor : perfmon.msc

Performance Monitor : perfmon

Phone and Modem Options : telephon.cpl

Power Configuration : powercfg.cpl

Printers and Faxes : control printers

Printers Folder : printers

Private Character Editor : eudcedit

Quicktime (If Installed) : QuickTime.cpl

Regional Settings : intl.cpl

Registry Editor : regedit

Registry Editor : regedit32

Remote Desktop : mstsc

Removable Storage : ntmsmgr.msc

Removable Storage Operator Requests : ntmsoprq.msc

Resultant Set of Policy (XP Prof) : rsop.msc

Scanners and Cameras : sticpl.cpl

Scheduled Tasks : control schedtasks

Security Center : wscui.cpl

Services : services.msc

Shared Folders : fsmgmt.msc

Shuts Down Windows : shutdown

Sounds and Audio : mmsys.cpl

Spider Solitare Card Game : spider

SQL Client Configuration : cliconfg

System Configuration Editor : sysedit

System Configuration Utility : msconfig

System File Checker Utility (Scan Immediately) : sfc /scannow

System File Checker Utility (Scan Once At Next Boot) : sfc /scanonce

System File Checker Utility (Scan On Every Boot) : sfc /scanboot

System File Checker Utility (Return to Default Setting) : sfc /revert

System File Checker Utility (Purge File Cache) : sfc /purgecache

System File Checker Utility (Set Cache Size to size x) : sfc /cachesize=x

System Properties : sysdm.cpl

Task Manager : taskmgr

Telnet Client : telnet

User Account Management : nusrmgr.cpl

Utility Manager : utilman

Windows Firewall : firewall.cpl

Windows Magnifier : magnify

Windows Management Infrastructure : wmimgmt.msc

Windows System Security Tool : syskey

Windows Update Launches : wupdmgr

Windows XP Tour Wizard : tourstart

Wordpad : write


Source: Vinod Kumar's Blog

Thursday, March 23, 2006

blueshoes php application framework and php cms

Blueshoes PHP Application framework and php cms

contains lotsa wonderful JavaScript components..
http://www.blueshoes.org/en/javascript/

Thursday, March 16, 2006

Complete list of MSDN: RSS Feeds

About MSDN: RSS Feeds
http://msdn.microsoft.com/aboutmsdn/rss/

Wednesday, March 15, 2006

OpenSource - Rich Internet Application Development Platform - WOW!!

OpenLaszlo Overview

OpenLaszlo is the leading open source platform for the development and delivery of rich Internet applications on the World Wide Web.


image
Cinematic user experience

Applications developed on OpenLaszlo provide a dramatically improved online user experience featuring advanced interfaces delivered on a single Web page. By bringing true application behavior to the Web, OpenLaszlo makes a new generation of online communications, commerce and content services viable for the first time. (more...)


image
Rapid XML development approach

OpenLaszlo applications are written in LZX, a standards-driven XML and JavaScript description language that enables a declarative, text-based development process. LZX supports rapid prototyping, collaborative software development and long term code maintenance. (more...)


image
Scalable deployment architecture

Depending on requirements, OpenLaszlo applications can be deployed either SOLO (Standalone OpenLaszlo Output) or from the OpenLaszlo Server. SOLO deployment supports most use cases and works from any HTTP Web server. OpenLaszlo Server deployment supports additional data integration options, persistent connections and run-time media transcoding. The OpenLaszlo server is Java-based and works with leading J2EE application servers and Java Servlet Containers. OpenLaszlo's standards-based architecture delivers exceptional reliability and scalability, proven in deployments serving millions of users to date. (more...)


Benefits

  • Develop standards-based rich Internet Applications that support any web browser with a single code base in XML and JavaScript

  • Deploy them from any HTTP Web server in SOLO mode, or from a J2EE application server or Java servlet container running the OpenLaszlo Server under Linux, UNIX, Windows or Mac OS X

  • Display them in any Web browser enabled with the Flash 6 Player or above, reaching 96% of all Web-enabled desktops


Architecture

The OpenLaszlo SDK consists of a compiler written in Java, a runtime JavaScript library, and an optional Java servlet that provides additional services to the running application.



Architecture | OpenLaszlo

Tuesday, March 07, 2006

Flash ads disabled in IE (on applying latest IE update)

Flash ads disabled inIE

I have downloaded the patch. It is not as bad as I thought it was going to be. For me, all flash ads still show. To interact with the flash ads, you have to click on them first.
Posted by Michael | 1:28 pm on March 3, 2006.

How is it that this may just affect flash ads? What about flash of any kind on a site?

Posted by Andrew | 1:33 pm on March 3, 2006.

The following table lists the DTHML events that are blocked when ActiveX controls are inactive.

onactivate ondragleave onmouseout
onbeforeactivate ondragover onmouseover
onbeforecopy ondragstart onmouseup
onbeforecut ondrop onmousewheel
onbeforedeactivate onfocus onmove
onbeforepaste onfocusin onmoveend
onblur onfocusout onmovestart
onclick onhelp onpage
oncontextmenu onkeydown onpaste
oncontrolselect onkeypress onresize
oncopy onkeyup onresizeend
oncut onlosecapture onresizestart
ondblclick onmousedown onscroll
ondeactivate onmouseenter onselectstart
ondragend onmouseleave
ondragenter onmousemove

Posted by Developer | 3:04 pm on March 3, 2006.

There is a work around to this which eliminates the extra click. If the OBJECT tag is written to the page by JavaScript it will bypass the extra click. HOWEVER. The document.write must be contained in an external JS file. It can not be inline with the code.

Posted by Jeff | 3:25 pm on March 3, 2006.

The suggestions already posted in these comments rein in the most common workarounds to the IE update, and you can find more information and resources to help address the change published at the URL below.

http://www.macromedia.com/devnet/activecontent/

Note- this behavioral change in IE is not specific to Flash, but any embedded ‘active content’, for the record (applets, Quicktime movies, etc.).

As suggested earlier, putting the object/embed tag in a document.write() call within an external Javascript file (and then including that JS file in your HTML doc) will remove the need for a user click to activate the control. By parameterizing your external JS file/functions, it could also be reused by passing in references to different SWF movies, requiring only one external JS file across multiple resources.

Hope this helps out.

Posted by Scott Fegette | 4:28 pm on March 3, 2006.

There’s a few Javascript methods of embedding Flash that fix this…

I’ve been tracking the issue here.

Posted by Geoff | 11:49 am on March 5, 2006.

So - Would all the publishers ask people to download Firefox… to protect their revenues?

Monday, February 13, 2006

flash like dhtml based image-zoom menu (list of links)

Wonderful dhtml based image zoom navigation.. looks like flash..!!



// LinkDock - V 1.4
// By Brian Gosselin of http://scriptasylum.com
// Release Info:
// V 1.0 - Initial release.
// V 1.1 - Minor code changes for magnification smoothness and accuracy.
// V 1.2 - Added option to include text under the links as they are hovered over.
// Fixed a magnification bug when the page is too small to fit the whole menu.
// V 1.3 - Fixed a bug where you get script errors if you hover over an image before the
// page finishes loading.
// V 1.4 - Added a tweak by RAJ to smoothen the entry into the menu.

// ENTER LINK ATTRIBUTES IN THE ARRAY BELOW; EACH LINE CONTAINS ALL THE
// PARAMETERS FOR ONE LINK. USE THE FOLLOWING FORMAT:
// [ 'LINK_URL' , 'IMAGE_URL' , 'URL_TARGET', 'TEXT_UNDER_LINK' ]
// VALID VALUES FOR 'URL_TARGET' ARE:
// '_blank' (NEW WINDOW)
// 'name' (THE NAME OF AN EXISTING WINDOW OR FRAME)
// '' (CURRENT PAGE)
// IF YOU DO NOT WANT TEXT DISPLAYED UNDER A LINK, SIMPLY USE AN EMPTY STRING AS THE PARAMETER FOR 'TEXT_UNDER_LINK'.

var linkList=[
[ 'index.html' , 'images/home.gif' , 'content', 'Home Page' ],
[ 'people.html' , 'images/people.gif' , 'content', 'Friends & Family' ],
[ 'hobbies.html' , 'images/hobbies.gif' , 'content', 'My Interests' ],
[ 'win98.html' , 'images/windows98.gif' , 'content', 'Windows 98 Hints & Tricks' ],
[ 'winxp.html' , 'images/windowsxp.gif' , 'content', 'Windows XP Hints & Tricks' ],
[ 'funny.html' , 'images/thoughts.gif' , 'content', 'Random Thoughts' ],
[ '../fsguestbook.html' , 'images/gbpresent.gif' , 'content', 'Sign & View My Guestbook' ],
[ 'oldguestbook.html' , 'images/oldgb.gif' , 'content', 'Past Guestbook Entries' ],
[ '../index.html' , 'images/sa.gif' , '_top', 'My Javascript/DHTML site...' ]
//[ 'mailto:scriptasylum@hotmail.com' , 'images/email.gif' , 'content', 'Contact Me...' ]
]

// CHANGE THE OTHER VALUES BELOW TO SUIT YOUR APPLICATION

var startSize=50; // THE STARTING WIDTH *AND* HEIGHT OF EACH IMAGE (THE IMAGES WILL BE SCALED).
//
var endSize=100; // THE ENDING WIDTH *AND* HEIGHT OF EACH IMAGE (THE IMAGES WILL BE SCALED).
var useText=true; // true = USE TEXT UNDER THE LINK, false = NO TEXT UNDER THE LINK.
var defText='Hover over a link...' // DEFAULT TEXT TO APPEAR UNDER THE LINKS WHEN NOT HOVERED OVER.
// USE AN EMPTY STRING FOR NO TEXT.
var textGap=10; // PIXEL GAP FROM BOTTOM OF MENU TO TOP OF OPTIONAL TEXT (WHEN defText IS SET TO true).
var effectW=3.5; // THE NUMBER OF ICONS AFFECTED BY OF THE MAGNIFICATION AT ONCE (APPROXIMATE). USE VALUES BETWEEN 2 AND 5.

// BELOW IS THE STYLE-SHEET RULE FOR HOW THE TEXT IS TO BE DISPLAYED. USE VALID CSS RULES.

var textStyle="font-family:verdana; font-size:11pt; color:white; font-weight:bold";


//********** DO NOT EDIT BEYOND THIS POINT **********\

var w3c=(document.getElementById)?true:false;
var ie4=(document.all && !w3c)?true:false;
var ie5=(document.all && w3c)?true:false;
var ns4=(document.layers)?true:false;
var mx=0;
var overEl=false;
var enterEl=false;
var id=0;
var elList=new Array();
var elText;
var pgLoaded=false;
if(defText=='')defText=' ';
effectW=Math.max(2,Math.min(5,effectW))+.5;
var wA=effectW*endSize/2;
var mX=wA/1.5;

function getMxy(v){
mx=(ie5||ie4)?event.clientX:v.pageX;
}

function getEl(s){
if(ns4)return findLayer(s,document);
else return (ie4)?document.all[s]:document.getElementById(s);
}

function getW(e){
return parseInt(e.style.width);
}

function setImgS(i,x){
elList[i].style.width=x;
elList[i].style.height=x;
document.images['linkDockI'+i].width=x;
document.images['linkDockI'+i].height=x;
}

function getL(el){
var x=0;
var sx=(document.all)?document.body.scrollLeft:0;
while(el.offsetParent!=null){
x+=el.offsetLeft;
el=el.offsetParent;
}
return x+el.offsetLeft-sx;
}

function rAll(){
// decrease size of zoomed images gradually
for(i=0;i//
setImgS(i,curSize);
}}}

function dockMagnify(){
var tEl,n1,n2;
//
if(overEl){
for(i=0;itEl=elList[i];
if((getL(tEl)>=mx-wA)&&(getL(tEl)<=mx+wA)){
n1=getL(tEl)+getW(tEl)/2+10;
n2=mx-wA;
//
setImgS(i,Math.max(n1,startSize));
}else setImgS(i,startSize);
}}}

function mOver(){
overEl=true;
clearTimeout(id);
}

function mOut(){
overEl=false;
id=setTimeout('rAll()',100);
}

// FUNCTION TO FIND NESTED LAYERS IN NS4 BY MIKE HALL
function findLayer(name,doc){
var i,layer;
for(i=0;ilayer=doc.layers[i];
if(layer.name==name)return layer;
if(layer.document.layers.length>0)if((layer=findLayer(name,layer.document))!=null)return layer;
}
return null;
}

function writeText(text){
if(useText && pgLoaded){
text=(text<0)?defText:linkList[text][3];
if(text=='')text=' ';
if(ns4){
elText.document.open();
elText.document.write('
'+text+'
');
elText.document.close();
}
else elText.innerHTML=text;
}}

function writeHTML(){
var t='';
if(w3c||ie4){
t+='
';
for(i=0;it+='';
t+='';
t+='
';
}
t+='
';
if(useText)t+='
'+defText+'
';
}else{
t+='';
for(i=0;i';
t+='
';
if(useText)t+='';
t+='
';
}
document.write(t);
}

window.onload=function(){
if(w3c||ie4){
for(j=0;jelList[j]=getEl('linkDockD'+j);
elList[j].n=j;
elList[j].onmouseover=mOver;
elList[j].onmouseout=mOut;
}
document.onmousemove=getMxy;
setInterval('dockMagnify()',20);
}
elText=getEl('dockText');
if(ns4)writeText(-1);
pgLoaded=true;
}

writeHTML();


--

XML/SWF Charts

Monday, January 30, 2006

Dynamically Filtering Dropdown Lists in Javascript

Dynamically Filtering Dropdown Lists in Javascript
By: Justin Whitford

http://evolt.org/node/55035

This article describes a technique that takes input from a form text field and uses it to bring matching options to the top in a dropdown list