Jump to content
xisto Community

shiv

Members
  • Content Count

    48
  • Joined

  • Last visited

Posts posted by shiv


  1. Shiv, if you navigate the site and look around. You'll see a few minute text differences in both URLS:https://support.xisto.com/
    and
    https://support.xisto.com/

    Mainly, by the fact that if you go to "Create a new hosting account" in each address, you'll find the logo changed to represent its correct how do i call it... Xisto subcorp. Be it Xisto or Xisto. Though you might be tricked into thinking both URLS redirect to the same page due to the logo that says "Welcome to Xisto Hosting Account Center" all the time, it really is different so i don't think your account details in Xisto will bother with your Xisto details. Though I would recommend that you terminate your account in Xisto formally to prevent the unecessary usage of Xisto's resources.


    hai techocian..may be u didnt notice...go to the main login page of Xisto and u will see that they ask u to go to https://support.xisto.com/ to apply. a url such as ww.astahost.com/process is not given anywhere!

    is it that they changed it now because Xisto was overflowing so they are directing all of us to Xisto?

  2. hey all i read this very intresting and intriguing article and i thought i should share it here..

    find example codes in the attached file.

    cheerz!
    shiv

    Ruby —A Diamond of a Programming Language?

    Have you heard about Ruby? It seems to be a popular topic in software development circles today. This language came to my attention at a Java conference last spring, where gentlemen like Bruce Tate (author of Bitter Java and Better, Faster, Lighter Java), Dave Thomas (Pragmatic Programmer: From Journeyman to Master), and others were all talking about Ruby and telling many of us in the audience it deserved a look.

    Now, if you are like me,you've been developing software for some time and you know that while learning a new programming language can be fun, you've been through enough of them that you probably look a little skeptically at another programming language. After all, the programming language wars in the '80s and '90s culminated in the conclusion that there are essentially two camps: the Java world and the development languages that Microsoft supported on .NET. Its not that I didn't want to learn another language, I just expected that the days of switching programming languages to gain a technological advantage were over. However, given the stature of these gentlemen in the industry, I decided to take a look.
    Well, "I've been to the mountain top" so to speak and this article is a report on what I've found regarding Ruby. Bottom line up front, Ruby has some very nice features and is worth your investigation.

    Setting Up Ruby
    Ruby is an open source programming language developed by Yukihiro "Matz" Matsumoto in Japan in the mid-90s (for more on the history of Ruby, check out this article by its founder. Ruby can be obtained at /en/. Originally built as a scripting language, it is available for many platforms, including Linux, many flavors of UNIX, MS-DOS, Windows, BeOS, Amiga, Acorn Risc OS, and MacOS X. As of this writing, the latest version of Ruby is 1.8.4. For those using Windows platforms, click here for the "one-click" Windows installer. Along with the base Ruby binaries and libraries, this download comes with several helpful (and free) IDEs and tools, including: documentation and sample code, RubyGems Package Manager, FreeRIDE (Free Ruby IDE), Fox GUI Libraries, fxri (a search engine and GUI guide to Ruby's documentation, along with an interactive command line tool), and SciTE (Scintilla Text Editor IDE). As of this writing, the "stable" version of Ruby offered through the Windows installer is 1.8.2, with a 1.8.4 version in preview form. This article was written using the 1.8.2 version of the Windows installer.

    The installation of Ruby using the Windows installer is straightforward. You download and run a simple install executable (ruby182-15.exe for version 1.8.2) that initiates a standard install wizard. The download file is about 15MB and will take up almost 40MB when the wizard completes the install of Ruby on your Windows platform.

    For those dedicated to using their favorite editors to program, a number of familiar editors offer Ruby support to include emacs, vim, JEdit, Jed, Nedit, and Textpad. Of course, there is also a Ruby Eclipse project. Ruby Development Tools (RDT) is an Eclipse plug-in that is still early in development but available here. Also emerging on the market are a number of inexpensive Ruby IDEs. Arachno Ruby is one such example.



  3. hai

    i registered in both Xisto and Xisto forums with the same user name and email.

    but this forum was more to my liking and so i was active only here on Xisto and i had accumulated 60+ credits while i neglected Xisto and my credits in Xisto stand in negetive.

    i have now applied for free hosting from here as i have 60+ credits...but i see you direct applications from both forums to the same page , namely https://support.xisto.com/ .

    im afraid my application will get rejected, if my poor credits in Xisto are mistakenly considered instead of my credis here!

    would like to bring it to the attention of people concerned..please look into this. many thanks!

    regards,

    shiv


  4. hmmm ...

    They are just OK :o

     

    However if u are really Newbie in Photoshop than I think that they are worth appreciation :o

     

    Keep it up, and do let us know about ur more samples ;)

    Regards:

    Samya Khalid

     


    glad that the creator of some stunning 3dmax images even as a starter , finds these OK :P . but i wud hav appreciated a few suggestions 4m u on what will make them better :P ! thanks 4 ur comments. awaiting comments 4m more friends!

     

    cheerz!

    shiv


  5. hmmm ...

     

    Installing PHP, MySQL and Apache Server will be quite difficult for u.

    Their Configuration is too difficult and infact impossible for a Newbie who dont know how to use PHP. :o

     

    However, u have many other options ...

    Why dont u try some pre-installed and pre-configured packages ....

     

    There are many Intallation Kits available for this ....

    Go to this page on HOt Scripts [dot] Com and u will find a number of softwares ...

    If u take my Personal Opinion than, I am also a kinda Newbie ....

    I use Easy PHP ...

     

    This Installation Kits consisits of the following :

    PHP

    MySQL Database

    Apache Server

    phpmyadmin

    All u have to do is to run the Setup and u are done ....

    Everything will be installed and Configured automatically ....

     

    Just go this website :

     

    http://www.easyphp.org/

     

    However, if u wish to install the PHP Manually than I have a very good tutorial for that :P

     

    Just go this Website .. and they will tell u in detail how to install the CGI version of PHP ....

    U need Apache Server and PHP for this ...

     

    http://www.lycos.com/?tw=programming

     

    Before this u must download the latest versions of each of the following :

    PHP

    http://php.net/downloads.php

     

    Apache HTTP Server

    http://httpd.apache.org/download.cgi

     

    My SQL Database

    http://forums.xisto.com/no_longer_exists/

    **** All Appreciations and Criticisms are welcome ****

     

    Regards :

    Samya Khalid

     

     

    thanks for ur detailed post on installing php samya. i had installed the latest version of cgi-perl on my comp 4m php.net but something was quite not right and it wasnt working. now i think i will try easy pho..seems a gr8 idea! thanks and keep up ur gud work!

     

    regards.

     

    shiv


  6. hai

     

    this is the first time im trying my hand in photoshop and i created logo designs 4 my 2 new sites.

     

    i enjoyed the challenge of bringing out what i conceived , with whatever li'l photoshop skills i had.

    i animated the first image in gif format using gif creator , with images created in photoshop.

     

    the big challenge for me was creating the 'net' as i wanted using photoshop for the second image. im sure its no big deal for those who know ps well as i suppose there would be some specific tool to easily create the 'net' straight away.

     

    posting them here 4 ur kind reviews and comments. i would greatly appreciate each comment on how do u like the look of it and also tips/ suggestions to improve on it 4m photoshop pros out there. thanks in advance!

     

     

     

    Posted Image

     

     

     

    Posted Image

     

     

    cheerz!

     

    shiv


  7. i find this really cool..gr8 piece of code.

    image rollovers

    Create image rollovers for your navigation without hardcoding any JavaScript into the HTML code on your Web pages. Easy to implement, even for beginners, and works across all browsers. Degrades nicely for visitors with JavaScript turned off.

    <!-- Paste this code into the CSS section of your HTML document  -->img {border: none;}ul {list-style-type:none;}ul li {display:inline;}<!-- Paste this code into an external JavaScript file named: rollover.js  -->function isDefined(property) {  return (typeof property != 'undefined');}var rolloverInitialized = false;function rolloverInit() {  if (!rolloverInitialized && isDefined(document.images)) {	 var bodyId = document.body.id;	// ID of the BODY tag	 // get all images (including all <input type="image">s)	 // use getElementsByTagName() if supported	 var images = new Array();	 if (isDefined(document.getElementsByTagName)) {		images = document.getElementsByTagName('img');		var inputs = document.getElementsByTagName('input');		for (var i = 0; i < inputs.length; i++) {		   if (inputs[i].type == 'image') {			  images[images.length] = inputs[i];		   }		}	 }	 // otherwise, use document.images and document.forms collections	 // remove if not supporting IE4, Opera 4-5	 else {		images = document.images;		inputs = new Array();		for (var formIndex = 0; formIndex < document.forms.length; formIndex++) {		   for (var elementIndex = 0; elementIndex < document.forms.elements.length; elementIndex++) {			  if (isDefined(document.forms.elements[i].src)) {				 inputs[inputs.length] = document.forms.elements[i];			  }		   }		}	 }	 // get all images with '_off.' in src value excepting the one that is for the BODY	 for (var i = 0; i < images.length; i++) {		if (images[i].src.indexOf('_off.') != -1) {		   // check for BODY image, and turn it 'on' if found		   if (images[i].src.indexOf(bodyId) != -1)			  images[i].src = images[i].src.replace(/_off\./, '_on.');		   else {		   var image = images[i];		   // store the off state filename in a property of the image object		   image.offImage = new Image();		   image.offImage.src = image.src;		   // store the on state filename in a property of the image object		   // (also preloads the on state image)		   image.onImage = new Image();		   image.onImage.imageElement = image;		   // add onmouseover and onmouseout event handlers once the on state image has loaded		   // Safari's onload is screwed up for off-screen images; temporary fix		   if (navigator.userAgent.toLowerCase().indexOf('safari') != - 1) {			  image.onmouseover = function() {				 this.src = this.onImage.src;			  };			  image.onmouseout = function() {				 this.src = this.offImage.src;			  };		   }		   else {			  image.onImage.onload = function() {				 this.imageElement.onmouseover = function() {					this.src = this.onImage.src;				 };				 this.imageElement.onmouseout = function() {					this.src = this.offImage.src;				 };			  };		   }		   // set src of on state image after defining onload event handler		   // so cached images (that load instantly in IE) will trigger onload		   image.onImage.src = image.src.replace(/_off\./, '_on.');		  }		}	 }  }  rolloverInitialized = true;}// call rolloverInit when document finishes loadingif (isDefined(window.addEventListener)) {   window.addEventListener('load', rolloverInit, false);}else if (isDefined(window.attachEvent)) {   window.attachEvent('onload', rolloverInit);}<!-- Paste this code into the HEAD section of your HTML document.	 You may need to change the path of the file.  --><script type="text/javascript" src="rollover.js.js"></script><!-- Paste this code into the BODY tag --><body id="home"><!-- Paste this code into the BODY section of your HTML document  --><div id="navb script:onclick=test();"><img src="home_off.gif" alt="Home" /></a></li>  <li><a href="java script:onclick=test();"><img src="about_off.gif" alt="About" /></a></li>  <li><a href="java script:onclick=test();"><img src="donate_off.gif" alt="Donate" /></a></li></ul></div><p><div align="center"><font face="arial, helvetica" size"-2">Free JavaScripts provided<br>by <a href="http://javascriptsource.com">The JavaScript Source</a></font></div><p>



    cheerz!

    shiv

  8. try this one...its indeed sweet!

    sweet titles

    This script will display the titles on your links in a very "sweet" manner. The look is customized by using CSS and is easily changed. Degrades very nicely.

    <!-- Paste this code into the CSS section of your HTML document  -->/* Fading Tooltips */div#toolTip {  position:absolute;  width:220px;  background:#00009C;  border:2px double #fff;  text-align:left;  padding:5px;  -moz-border-radius:5px;  z-index:1000;}div#toolTip p {  margin:0;  padding:0;  color:#fff;  font:11px/12px verdana,arial,serif;}div#toolTip p em {  display:block;  margin-top:3px;  color:#FFCF31;  font-style:normal;  font-weight:bold;}<!-- Paste this code into an external JavaScript file named: toolTipLib1.js  -->function addEvent(elm, evType, fn, useCapture) {		if (elm.addEventListener) { 		elm.addEventListener(evType, fn, useCapture); 		return true; 		}		else if (elm.attachEvent) { 		var r = elm.attachEvent('on' + evType, fn); 		EventCache.add(elm, evType, fn);		return r; 		}		else {		elm['on' + evType] = fn;		}}function getEventSrc(e) {		if (!e) e = window.event;		if (e.originalTarget)		return e.originalTarget;		else if (e.srcElement)		return e.srcElement;}function addLoadEvent(func) {var oldonload = window.onload;		if (typeof window.onload != 'function') {		window.onload = func;		} else {		window.onload = 				function() {				oldonload();				func();				}		}}var EventCache = function(){		var listEvents = [];		return {				listEvents : listEvents,						add : function(node, sEventName, fHandler, bCapture){						listEvents.push(arguments);				},						flush : function(){						var i, item;						for(i = listEvents.length - 1; i >= 0; i = i - 1){								item = listEvents[i];																if(item[0].removeEventListener){										item[0].removeEventListener(item[1], item[2], item[3]);								};																/* From this point on we need the event names to be prefixed with 'on" */								if(item[1].substring(0, 2) != "on"){										item[1] = "on" + item[1];								};																if(item[0].detachEvent){										item[0].detachEvent(item[1], item[2]);								};																item[0][item[1]] = null;						};				}		};}();addEvent(window,'unload',EventCache.flush, false);<!-- Paste this code into the HEAD section of your HTML document.	 You may need to change the path of the file.  --><script type="text/javascript" src="toolTipLib1.js"></script><!-- Paste this code into an external JavaScript file named: toolTipLib2.js  -->var toolTipLib = { 		xCord : 0,		yCord : 0,		obj : null,		tipElements : ['a','abbr','acronym'],		attachToolTipBehavior: function() {				if ( !document.getElementById ||						!document.createElement ||						!document.getElementsByTagName ) {						return;				}				var i,j;				addEvent(document,'mousemove',toolTipLib.updateXY,false);				if ( document.captureEvents ) {								document.captureEvents(Event.MOUSEMOVE);				}				for ( i=0;i<toolTipLib.tipElements.length;i++ ) {						var current = document.getElementsByTagName(toolTipLib.tipElements[i]);						for ( j=0;j<current.length;j++ ) {								addEvent(current[j],'mouseover',toolTipLib.tipOver,false);								addEvent(current[j],'mouseout',toolTipLib.tipOut,false);								current[j].setAttribute('tip',current[j].title);								current[j].removeAttribute('title');						}				}		},		updateXY : function(e) {				if ( document.captureEvents ) {						toolTipLib.xCord = e.pageX;						toolTipLib.yCord = e.pageY;				} else if ( window.event.clientX ) {						toolTipLib.xCord = window.event.clientX+document.documentElement.scrollLeft;						toolTipLib.yCord = window.event.clientY+document.documentElement.scrollTop;				}		},		tipOut: function(e) {				if ( window.tID ) {						clearTimeout(tID);				}				if ( window.opacityID ) {						clearTimeout(opacityID);				}				var l = getEventSrc(e);				var div = document.getElementById('toolTip');				if ( div ) {						div.parentNode.removeChild(div);				}		},		checkNode : function(obj) {				var trueObj = obj;				if ( trueObj.nodeName.toLowerCase() == 'a' || trueObj.nodeName.toLowerCase() == 'acronym' || trueObj.nodeName.toLowerCase() == 'abbr' ) {						return trueObj;				} else {						return trueObj.parentNode;				}		},		tipOver : function(e) {				toolTipLib.obj = getEventSrc(e);				tID = setTimeout("toolTipLib.tipShow()",500)		},		tipShow : function() {				var newDiv = document.createElement('div');				var scrX = Number(toolTipLib.xCord);				var scrY = Number(toolTipLib.yCord);				var tp = parseInt(scrY+15);				var lt = parseInt(scrX+10);				var anch = toolTipLib.checkNode(toolTipLib.obj);				var addy = '';				var access = '';				if ( anch.nodeName.toLowerCase() == 'a' ) {						addy = (anch.href.length > 25 ? anch.href.toString().substring(0,25)+"..." : anch.href);						var access = ( anch.accessKey ? ' <span>['+anch.accessKey+']</span> ' : '' );				} else {						addy = anch.firstChild.nodeValue;				}				newDiv.id = 'toolTip';				document.getElementsByTagName('body')[0].appendChild(newDiv);				newDiv.style.opacity = '.1';				newDiv.innerHTML = "<p>"+anch.getAttribute('tip')+"<em>"+access+addy+"</em></p>";				if ( parseInt(document.documentElement.clientWidth+document.documentElement.scrollLeft) < parseInt(newDiv.offsetWidth+lt) ) {						newDiv.style.left = parseInt(lt-(newDiv.offsetWidth+10))+'px';				} else {						newDiv.style.left = lt+'px';				}				if ( parseInt(document.documentElement.clientHeight+document.documentElement.scrollTop) < parseInt(newDiv.offsetHeight+tp) ) {						newDiv.style.top = parseInt(tp-(newDiv.offsetHeight+10))+'px';				} else {						newDiv.style.top = tp+'px';				}				toolTipLib.tipFade('toolTip',10);		},		tipFade: function(div,opac) {				var obj = document.getElementById(div);				var passed = parseInt(opac);				var newOpac = parseInt(passed+10);				if ( newOpac < 80 ) {						obj.style.opacity = '.'+newOpac;						obj.style.filter = "alpha(opacity:"+newOpac+")";						opacityID = setTimeout("toolTipLib.tipFade('toolTip','"+newOpac+"')",20);				}				else { 						obj.style.opacity = '.80';						obj.style.filter = "alpha(opacity:80)";				}		}};addEvent(window,'load',toolTipLib.attachToolTipBehavior,false);<!-- Paste this code into the HEAD section of your HTML document.	 You may need to change the path of the file.  --><script type="text/javascript" src="toolTipLib2.js"></script>


    cheerz!

    shiv

  9. Notice from szupie:

    New wireless "WiFiber" tech faster than fiber?





    Virginia startup GigaBeam set their sights high with their new wireless system: they're taking on fiber. They dub the tech "WiFiber," and are positioning the product as a replacement for fiber optic pipes in situations when they're too expensive, too harmful to the environment, or just too slow to deploy, and they're claiming one gigabit per second speeds to sweeten the deal. WiFiber operates in the 71-76, 81-86, and 92-95GHz frequencies to avoid interference and so that the signal is less impeded by light rain or fog than current high-speed wireless competitors. It also transmits in a tight beam to avoid overlap, but you still need a line of sight, so heavy rain can spoil your day. If conditions are right, though, GigaBeam's signal can make it for 10 miles, and is already shooting data from the Trump towers in NY and from a few other metro sites. Unfortunately, it's mainly for business links right now, since it's currently $30,000 for a set of radios (but that price should drop soon).



  10. Notice from szupie:

    Welcomely in the Eos sphere.With the presentation of a study of the new Eos on the CeBIT of this year shows Volkswagen, like the car by digital maintenance electronics, which was developed by Microsoft, Inperio and Intel, a mobile Media center of the road becomes. The driving fun and the travelling comfort of the image carrier Eos are received in connection with a multiplicity of innovative applications of information the perfect symbiosis. The new Eos becomes the modern Multimedia and communication center.

    Autocinema and play passport redefine.
    With the Rear Seat Entertainment becomes the new Eos the mobile cinema and offers to your rear passengers multimedia maintenance on highest level: Two 7-Zoll-Touchscreens with infrared sensors are integrated into the head restraints of the front seats. Over these you can look at their favourite DVDs. Also a play console can be attached. Like that are not long travels guarantees any longer boringly.

    With it you arrive good.
    Even if perhaps you did not like to step out of the new Eos any longer, have owing to Windows Live local one always the certainty to the correct goal to be led. Classical navigation helps you with the search of the nearest hotel or restaurant. The description of way of Windows Live local one makes possible for you in addition to mark with pins determined points on the maps make notes and accomplish route computations. In addition places can be located over the integrated search function. Windows Live local one will be available in the second yearly half in numerous European Union countriesâŚ



    cheers!

    shiv

  11. First Blu-Ray Titles in store, May 23rd 2006!!!

    Notice from szupie:


    Sony Pictures has announced the first titles for the Blu-ray format will be available in stores May 23, 2006. These titles include: 50 First Dates, The Fifth Element, Hitch, House of Flying Daggers, A Knightâs Tale, The Last Waltz, Resident Evil Apocalypse and XXX. The second offering titles will be available on June 13, 2006 and will include Kung Fu Hustle, Legends of the Fall, Robocop, Stealth, Species, SWAT and Terminator. Other titles to be released include Blackhawk Down, Bridge on the River Kwai and possibly others in the near future.
    Samsung will be first to market with a Blu-ray player. Prices for this player and any pending Sony players are not yet available. HD-DVD players are slated for release on March 15, 2006 priced at $500 and $799 from Toshiba. It is safe to assume the very first generation Blu-ray players will be priced in the same ball park. Oddly, Sony isnât first to market with Blu-ray players.

    Consumers have feared the looming format war that is shaping up for its first real battle. With four titles being released for HD-DVDâs launch and 20 titles being slated for Blu-rayâs launch â one could argue that both sides forgot to bring enough ammunition to catch the general publicâs attention. Sony Pictures has over 3,000 feature films waiting in HDTV along with 2000 more titles from its television archives. Consumers and retailers alike would have liked to have seen an initial launch of 100 to 200 titles to kick off the Blu-ray party but Sony is playing conservatively. They cite how quickly they have gotten over 400 UMD(for the Sony PSP) movie titles out in less than one year. When Playstation 3 hits the market later in 2006 â there will be strong motivations to have more than a few handful of discs on the market. For now, Sony is playing their cards close to their vest. But make no mistake⌠it is game on for Blu-ray and the HD disc format war.


    cheers!

    shiv

  12. Notice from szupie:

    Ramanujam's proof!!.... Can u find any flaws??

    Can U Prove 3=2??

    This seems to be an anomaly or whatever u call in mathematics.

    It seems, Ramanujam found it but never disclosed it during his life time and that it has been found from his dairy.

    See this illustration:

    -6 = -6

    9-15 = 4-10

    adding 25/4 to both sides:

    9-15+(25/4) = 4-10+(25/4 )

    (this is just like : a2 â 2(a)(B) + b2 = (a-B)2 )

    Here a = 3, b=5/2 for L.H.S and a =2, b=5/2 for R.H.S.

    So it can be expressed as follows:

    (3-5/2) 2 = (2-5/2)2

    Taking positive square root on both sides:

    3 - 5/2 = 2 - 5/2

    3 = 2 ????????



  13. Notice from szupie:

     

    stun ur visitors with changing table colors!

     

    change table rows or table cells bgcolor when mouse moves over elements of the table.

    (works on IE only).

     

     

    paste the following code into the table element that you want to change.

     

    for example, if you want to change the table row you paste the code into the <TR>.

    if you want to change a table cell color you paste the code on the <TD>.

    you may even add it to the <TABLE> tag to highlight the entire table!

     

    Code:

     

    onMouseover="this.bgColor='lightgrey'"

    onMouseout="this.bgColor='#FFFFFF'"

     

     

    give different colors as u want!

     

    njoy!

     

    shiv


  14. let ur visitors easily add a bookmark to your site. fully configurable, you can specify the url and name for the link.

    Notice from szupie:


    Step 1: put the following script in the head of your page.place the code below between the and tags within the HTML page that you want them to bookmark.

    <script LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
    <!--

    var url = "http://forums.xisto.com/no_longer_exists/ url";
    var title = "your title";

    function makeLink(){
    if(document.all)
    window.external.AddFavorite(url,title)
    }

    // -->
    </script>


    Step 2:

    put the following in the BODY of your page. place the code below between the <BODY> and BODY> tags within the HTML page that you would like to let them bookmark.

    <A HREF="java script:makeLink()">Bookmark Us</A>



    njoy!

    shiv




  15. Hate having to place all the print statements in your program and having to escape all those quotes?
    Would you like to give the ability for people who don't know how to program in perl to customize the output of your cgis?

    Templates are the answer. Here's how it works. Take any html file and anywhere you place in(variable), it gets replaced with $in{'variable'}. For example, if you have $in{'name'} = 'bob' and an html file that has:
    Name: in(name)

    The output would look like:
    Name: shiv


    Usage (Step 1):
    Use this code to call the subroutine. Replace

    &PageOut("


    Code (Step 2):

    Add the following code somewhere within your script.


    sub PageOut{local($file) = @_;open(OUT,"$file")||print "$!: $file<br>";while(<OUT>){$_ =~ s/in\((\w+)\)/$in{$1}/g;print;}close OUT;}

    with either a relative or full path to the html template. Example: &PageOut("t_index.htm"); where 't_index.htm' is your template file. Any line that has in(variable) will be replaced with $in{'variable'}



    ");



    njoy!

    shiv

  16. stun ur visitor with a new bg image on every mouse click of his!

    easy code to dynamically change the background image.



    control the background image using the links on your site. control the color using onMouseOver, onMouseOut, onClick, and a combination of all of them.
    place the code below between the and tags within the HTML page where you want the link to appear. edit the link text provided to point at the page you would like to open.



    Option 1:
    use this to change the background color when user places mouse over the link.


    <a href="link.htm" onMouseOver="document.body.background='red.gif'">Link Text</a>


    Option 2:
    use this to change the background image when user removes mouse from over the link (onMouseOut).

    <a href="link.htm" onMouseOut="document.body.background='green.gif'">Link Text</a>


    Option 3:
    use this to change the background image when user clicks the link (onClick).

    <a href="link.htm" onClick="document.body.background='blue.gif'">Link Text</a>



    Option 4:
    use this to change the background image twice, once when the user places the mouse over the link then again when the user takes the mouse off the link (onMouseOver and onMouseOut).

    <a href="link.htm" onMouseOver="document.body.background='red.gif'" onMouseOut="document.body.background='green.gif'">Link Text</a>


    Option 5:
    use this to change the background image three times, once when the user places the mouse over the link, again when the user takes the mouse off the link, and again when the user clicks on the link (onMouseOver, onMouseOut, and onClick).


    <a href="link.htm" onMouseOver="document.body.background='red.gif'" onMouseOut="document.body.background='green.gif'" onClick="document.body.background='blue.gif'">Link Text</a>


    njoy!

    shiv

  17. Notice from szupie:

    add the one line code below to the tag of the page you want to trigger the action from. when they leave that page another window will open. change the text "URL" in the code below to reflect the new web site address you want them to enter.

    for example, when they leave your site you can open a window that says thank you for visiting.

    Code:

    onunload="window.open('URL')"

    thats it...now say a royal thanks to ur visitors!

     

    cheers!

     

    shiv


  18. Notice from szupie:

     

    Below is the code required to rotate the text used in the title bar and status bar

    <script LANGUAGE='JavaScript'><!--var default1 = "defautl title"; // only shown once at page loadvar text1 = "title2";var text2 = "title 3";var text3 = "title 4";var changeRate = 2000; // 1000 = 1 secondvar messageNumber = 0;function changeStatus() {  if (messageNumber == 0) {	 window.status=default1;	 document.title=default1;	}  else if (messageNumber == 1) {	 window.status=text1;	 document.title=text1;	}  else if (messageNumber == 2) {	 window.status=text2;	 document.title=text2;	 }  else if (messageNumber == 3) {	 window.status=text3;	 document.title=text3;	 messageNumber = 0;	 }  messageNumber++;  setTimeout("changeStatus();",changeRate);}changeStatus(); // leave here to run right away// --></SCRIPT>

     

    njoy!

     

    shiv


  19. protect your source code!

    follow these easy 5 steps:

    Notice from szupie:

    Step 1:
    let's assume your main page is named index.htm. Rename index.htm to encrypt.htm.

    Step 2:

    open encrypt.htm source code and add the code below to the file, right after the opening BODY tag.

    <script language=JavaScript>m='%3Cscript%20language%3DJavaScript%3E%3C%21--%0D%0A%0D%0Avar%20message%3D%22Function%20Disabled%21%22%3B%0D%0A%0D%0Afunction%20clickIE%28%29%20%20%7Bif%20%28document.all%29%20%7Balert%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7Balert%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0A%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A%0D%0A//%20--%3E%3C/script%3E';d=unescape(m);document.write(d);</script>


    Step 3:

    create a text file and name it index.htm (or whatever your main file was named originally). the contents of the new index.htm file is given below - the code below is all that will be contained in index.htm.

    <script language=JavaScript>m='%3C%21--%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0D%0A%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0D%0A%23%20%20%20%20%20%20%20%23%0D%0A%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0D%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0D%0A%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0D%0A%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0D%0A%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0D%0A%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0D%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0D%0A%23%0D%0A%23%%3E';d=unescape(m);document.write(d);</script>


    Step 4:

    create a text file and name it encrypt.js. the contents of the new encrypt.js file is given below -this is all that will be contained in encrypt.js.

    document.write('<title>||||| SOURCE CODE ENCRYPTION |||||</title>');document.write('<frameset rows="100%,*" framespacing="0" border="0">');document.write('<frame frameborder="0" name="topFrame" src="encrypt.htm" noresize="noresize" />');document.write('</frameset>');

    Step 5:

    copy all the files to your server (index.htm, encrypt.htm, and encrypt.js). all the files must be located in the same directory. then open the index.htm file. try to view the source code, then try to right click on the page.

    cheers!

    shiv

  20. hai this is my first post and i really hope someone finds it useful.

    i was looking for this trick for long and finally found out today...

    to rotate images in your page automatically in a sequence without having to refresh the page.

    i find it particualry useful to highlight on the home page the various contents inside my site.

    Notice from szupie:

    Step 1: place the code below between the < BODY > and tags within the HTML page where you want the random banners to appear.

    <ilayer id="l1">	<layer id="l2">		<div id="l1">			<div id="l3" style="position:relative">			</div>		</div>	</layer></ilayer>

    Step 2: place this code below the above code. the best place would be right before the tag.

    <script language="JavaScript"><!--var bannerArray = new Array();var myCount=0;// Banner Code AssignmentbannerArray[0] = "<A HREF=\"http://your link here\"><IMG SRC=\"http://image 1 path link here\" border=\"0\" width=\"468\" height=\"60\"></A>";bannerArray[1] = "<A HREF=\"http://your link here\"><IMG SRC=\"http://image 2 path link here\" border=\"0\" width=\"468\" height=\"60\"></A>";bannerArray[2] = "<A HREF=\"http://your link here"><IMG SRC=\"http://image 3 path link here" border=\"0\" width=\"468\" height=\"60\"></A>";bannerRotate();function bannerRotate() {if(myCount > bannerArray.length-1){myCount=0;}// Write out rotation	if (document.all){			// it is IE		document.all.l3.innerHTML=bannerArray[myCount];	}	else if (document.layers){	// it is NN	document.layers.l1.document.layers.l2.document.open();	document.layers.l1.document.layers.l2.document.write(bannerArray[myCount]);	document.layers.l1.document.layers.l2.document.close();	}setTimeout("bannerRotate()", 3000);myCount++;}// --></script>




    cheers!

    shiv
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.