Go Back   DevHunters.com l Webmaster Forum - Web Advertising - Web Design - SEO Forums > Webmaster / Coding / Web Design Discussion > HTML / XHTML / CSS

HTML / XHTML / CSS Discuss HTML, XHTML and CSS coding in this forum.

Have A Look At Some Of Our Webmaster Related Sponsors!


Script Directory


Advertise Here


Market Leverage


Free Templates

3D Guide-Characters
3D Guide-characters


Advertise Here

Reply
 
LinkBack Thread Tools Display Modes
Old 09-02-2007, 02:02 AM   #1 (permalink)
Field Master
 
naziajabeen's Avatar
Default Html Scripts Free for this forum users

Hi dear Please Use this Thread to introduce Different Kinds of java Scripts for web designing..
Please share only differnet kinds or categoeized java scripts..
I also Share some Scripts here for my mates..:p
Best of luckk
__________________
Always be Happy...
naziajabeen is offline   Reply With Quote
Old 09-02-2007, 02:07 AM   #2 (permalink)
Field Master
 
naziajabeen's Avatar
Lightbulb Drag And Drop the Images in website (HTML Code)

Use this Script in your website ..
You can Drag and Move the place of your added image in the website
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- START OF SCRIPT --><!-- HOW TO INSTALL DRAG AND DROP:



  1.  Copy code into the HEAD section of document

  2.  Add the following attribute to your links: class="dragme" (as shown below)  --><!-- STEP ONE: Add code into HEAD section of document  --><HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE type=text/css>.dragme {
	POSITION: relative
}
</STYLE>

<SCRIPT type=text/javascript>

<!-- Created by: elouai.com -->

<!-- Begin

var ie=document.all;

var nn6=document.getElementById&&!document.all;

var isdrag=false;

var x,y;

var dobj;



function movemouse(e)

{

  if (isdrag)

  {

    dobj.style.left = nn6 ? tx + e.clientX - x : tx + event.clientX - x;

    dobj.style.top  = nn6 ? ty + e.clientY - y : ty + event.clientY - y;

    return false;

  }

}



function selectmouse(e)

{

  var fobj       = nn6 ? e.target : event.srcElement;

  var topelement = nn6 ? "HTML" : "BODY";

  while (fobj.tagName != topelement && fobj.className != "dragme")

  {

    fobj = nn6 ? fobj.parentNode : fobj.parentElement;

  }

  if (fobj.className=="dragme")

  {

    isdrag = true;

    dobj = fobj;

    tx = parseInt(dobj.style.left+0);

    ty = parseInt(dobj.style.top+0);

    x = nn6 ? e.clientX : event.clientX;

    y = nn6 ? e.clientY : event.clientY;

    document.onmousemove=movemouse;

    return false;

  }

}

document.onmousedown=selectmouse;

document.onmouseup=new Function("isdrag=false");

//  End -->

</SCRIPT>
<!-- STEP TWO: Add the following attribute to your links: class="dragme" (as shown below)  -->
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY>
<DIV align=center><IMG class=dragme height=16 src="" width=116><BR><BR>
  <IMG 
class=dragme height=121 src="http://devhunters.com/images/smilies/tongue.gif" width=156> 
</DIV><!-- END OF SCRIPT --></BODY></HTML>
Attached Files
File Type: zip drag drop.zip (1.0 KB, 10 views)
__________________
Always be Happy...
naziajabeen is offline   Reply With Quote
Old 09-22-2007, 08:20 AM   #3 (permalink)
Field Master
 

Join Date: Aug 2007
Posts: 133
iTrader: 0 / 0%
Hunter Bux: 0
rishi_xrich is on a distinguished road
Default

Thanks Nazia Jabeen for sharing this,keep this good work going.
rishi_xrich is offline   Reply With Quote
Old 10-17-2007, 08:26 PM   #4 (permalink)
Senior Member
 

Join Date: Jul 2007
Posts: 285
iTrader: 0 / 0%
Hunter Bux: 0
Arch3r25 is on a distinguished road
Default

That's pretty neat. JavaScript can do some intense things. What exactly does this script do though? Does it just render a local image in your browser?
Arch3r25 is offline   Reply With Quote
Old 12-23-2007, 03:31 AM   #5 (permalink)
New Hunter
 

Join Date: Dec 2007
Posts: 9
iTrader: 0 / 0%
Hunter Bux: 110.00
musa is on a distinguished road
Default

its simple wow!
musa is offline   Reply With Quote
Old 12-23-2007, 05:20 PM   #6 (permalink)
Sharp Shooter
 
weblord's Avatar
 

Join Date: Mar 2007
Location: Philippines
Posts: 1,323
iTrader: 1 / 100%
Hunter Bux: 611.00
weblord has much to be proud ofweblord has much to be proud ofweblord has much to be proud ofweblord has much to be proud ofweblord has much to be proud ofweblord has much to be proud ofweblord has much to be proud ofweblord has much to be proud of
Send a message via ICQ to weblord Send a message via AIM to weblord Send a message via MSN to weblord Send a message via Yahoo to weblord Send a message via Skype™ to weblord
Default

they got some new christmas scripts
http://webdeveloper.earthweb.com/webjs/
weblord is offline   Reply With Quote
Old 03-29-2008, 10:47 AM   #7 (permalink)
Field Master
 
naziajabeen's Avatar
Default


Hay Guys By using the following Code you can create the background of your page changing its color on load...It is not good..

HTML Code:
<%@ LANGUAGE="VBSCRIPT" %>
<HTML>
<!----------- Created By EasyASP ---------------->
<!--------- Copyright 1998 Eric Banker --------->
<HEAD>
<title>Untitled Document</title>
</HEAD>

<BODY bgcolor = "WHITE">

<script language="JavaScript">
      var currentcolor = 0;
      function initArray(n) {
      this.length = n;
      for (var i =1; i <= n; i++) {
      this[i] = ' '
      }
      }      bgcolors = new initArray(15)
      bgcolors [0] = "ffffff"
      bgcolors [1] = "ffdead"
      bgcolors [2] = "ffffff"
      bgcolors [3] = "add8e6"
      bgcolors [4] = "0000ff"
      bgcolors [5] = "add8e6"
      bgcolors [6] = "90ee90"
      bgcolors [7] = "00ff00"
      bgcolors [8] = "90ee90"
      bgcolors [9] = "ffc0cb"
      bgcolors [10] = "ff0000"
      bgcolors [11] = "ffc0cb"
      bgcolors [12] = "FFFFFF"
      bgcolors [13] = "ffdead"
      bgcolors [14] = "FFFFFF"
      function backgroundChanger() {
      document.bgColor = bgcolors[currentcolor];
      if (currentcolor < bgcolors.length-1) {
      currentcolor++
      setTimeout("backgroundChanger()", 100);
      }
      }
      backgroundChanger();
</script>


</BODY>
</HTML>
__________________
Always be Happy...
naziajabeen is offline   Reply With Quote
Old 03-29-2008, 05:43 PM   #8 (permalink)
Senior Moderator
 
SpOrTsDuDe.Reese's Avatar
Default

O WOW, these scripts are so cool. I checked them out with the ZIP file. Awesome man!!!!
__________________
+-(X)HTML, CSS, JavaScript, SEO, PHP, Flash-+
Code:
<style type="text/css"> u { text-decoration: none; } </style>
GameYin. Redesigning for DevPlooth.
SpOrTsDuDe.Reese is offline   Reply With Quote
Old 04-02-2008, 07:51 AM   #9 (permalink)
Field Master
 

Join Date: Aug 2007
Posts: 112
iTrader: 0 / 0%
Hunter Bux: 0
CoolGuy is on a distinguished road
Default

Are these scripts self-made. I like them. Can we get some more? Don't want to some greedy, just interested.
CoolGuy is offline   Reply With Quote
Old 04-03-2008, 04:56 AM   #10 (permalink)
Senior Designer (Staff)
 

Join Date: Mar 2007
Location: Dhaka, Bangladesh.
Posts: 28
iTrader: 0 / 0%
Hunter Bux: 10.00
moinuddin102 is a jewel in the roughmoinuddin102 is a jewel in the roughmoinuddin102 is a jewel in the roughmoinuddin102 is a jewel in the rough
Default

excellent.
thanks for share.
__________________
TE9 Free Templates
Free templates for PHP Link Directory, Wordpress (more is coming ...)
moinuddin102 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 12:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios