8 javascripts are usefull

free web hosting
Open Discussion > Have your say > General Talk

8 javascripts are usefull

none
1.No right click
CODE
<script LANGUAGE="JavaScript">

function click() {

if (event.button==2) {

alert('DO NOT STEAL!');

}

}

document.onmousedown=click

// -->

</script>

2.Open popup when the web loads:
CODE
<script language="JavaScript">

<!--

window.open('http://media.vdc.com.vn');

// -->

</SCRIPT>

3.Open popunder
CODE
<script language="JavaScript">

<!-- Hide script in old browsers

if(navigator.appName.indexOf("WebTV")==-1) {

myWin = open('', 'winin','toolbar=0,menubar=0, scrollbars=1,status=0,resizable=1,width=80,height=  430');

myWin.blur();

myWin.location = 'http://internet.vdc.com.vn';

var shut=true;

}

// End-->

</script>

4.Automically add bookmark
CODE
<a href="javascript:window.external.AddFavorite('http://internet.vdc .com.vn/', 'My Site Title');">Bookmark this Site!</a>


5.Back/Forward/Reload
CODE
<a href="javascript:history.back(1)">Go Back</a> Forward: <a href="javascript:history.forward(1)">Go Forward</a> Refresh: <a href="javascript:location.reload(1)">Refresh</a>

6.Print the page
CODE
<a href="javascript:window.print()">Print This Page</a>

7.Menu
CODE
<script LANGUAGE="JavaScript">

<!--- hide script in old browsers

function jumpBox(list) {location.href = list.options[list.selectedIndex].value}

//end--->

</SCRIPT> <FORM>

<SELECT>

<OPTION selected>-------------------

<OPTION VALUE="firstpage.html">One

<OPTION VALUE="secondpage.html">Two

</SELECT>

<INPUT TYPE="button" VALUE="Go"

onClick="jumpBox(this.form.elements[0])">

</FORM>

8.Use this, you'll like:
CODE
<script LANGUAGE="JavaScript">

MouseOver("firstimage.gif","secondimage.gif",

"width=100 height=30 border=0 alt='Click Here'",

"yourpage.html");

</SCRIPT>

 

 

 


Reply

God
Number 4 will only work in IE.
Numbers 2&3 will most likely be blocked by the Mozilla Popup blocker in Mozilla.
Number 8 won't work because MouseOver is not a built-in function. You'll have to define it yourself.

And thank you for putting the code into code tags! biggrin.gif

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : javascripts usefull

  1. [dutch] Very good site with images, javascripts and more - (5)
    A very good site with html codes, javascripts, java-applets, links, site tools, images, backgrounds
    and many more!!! http://www.leejoo.nl Note: It is a dutch site ...
  2. Usefull phpBB sites and info. [IMPORTANT UPDATE: 02-28-05] - (9)
    In this topic I will give some usefull sites and info. I start with info because that is most
    important: Info : phpBB is under a GPL license. It is 100% free and it may be reselled (thanks
    abcde for the notification). You may also adjust it like whatever you want. There are no problems
    with installing mods. If you want to make a pre-hacked phpBB (phpBB with mods installed) and
    publish it you must ask permission to all authors of the mods you are using. And ofcourse the
    most important one: DO NOT REMOVE THE COPYRIGHT . If you do you will not get support...
  3. Javascripts and Iframes withing php nuke ???? - (1)
  4. Which Kind Of Education Is More Usefull ? - (2)
    let's talk about the Educate system many countrys used free education and some countrys not
    which educate system is more usefull for talented person?...
  5. usefull for mIRC - (0)
    some stuff I wrote... basic $chan prots : CODE on *:text:*:#: {
    set %t $0 var %i 1 var %txt $1- if (%t > 100) { ; number 100 is number of
    max words per line, it can be edited. kick $chan $nick Max words per line in this chan is 100 ,you
    had %t words... } if ($len($1-) > 500) { ; number 500 is number
    of max characters per line, adjust it to suit you. kick $chan $nick Max length per line in this
    chan is 500 characters,you had $len($1-) characters... } while ...
  6. Usefull Download Sites ., For programs only . - (12)
    www.downloads.com (I think you all know this one ) And in my opinion the best on the net :
    www.softpedia.com ( I worked on the initial project) It has the biggest software library aveilable
    for download (Almost 2,1 TB of software to download ) /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> ...



Looking for 8, javascripts, usefull

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for 8, javascripts, usefull

*MORE FROM TRAP17.COM*
advertisement



8 javascripts are usefull



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE