var

  1. clmlbx

    sequence in Javascript

    guys I want to print this in Javascript *______* **____** ***__*** ******** Below is the code for it.. to simplify above sequence has total 8 characters in any line.. ( 8 - stars) = underscores in any line var row = ""; var co; for(i=1;i<=4;i++){ for(j=1;j<=i;j++){ row +=...
  2. vickybat

    Post HTML5, Javascript & CSS3 queries here

    Learning these currently and i feel many developers in TDF are into developing web apps for multiple platforms including the mobile ecosystem like ios & android. So i feel there should be a thread to discuss all queries related to the above and share knowledge. Let me start first: In...
  3. clmlbx

    simple Javascript query

    I made a website and it has a button. when user clicks on it I want to change visibility of another DIV.(with css). at default it will be hidden. so button div ID is 'apply' and Div I want to toggle visibility it's ID is 'for'. and below is Javascript code.. what's wrong in it. ? one more...
  4. meetdenis

    Reading IE favorites from Javascript

    Hi, I have a requirement that a javascript should pull out the favorites from the users IE and another script when used should be able to save all the bookmarks in to another IE. First of all, is this possible? If yes, how? Ok, I just found that such a thing is not possible as it would...
  5. nisargshah95

    Help debugging my first GM script

    Hi, I'm really new to programming and created a small Greasemonkey script for disabling the theater view for viewing photos in Facebook. But its not working. The basic principle I applied was to remove the '&theater' parameter at the end of every photo URL. Hope this gets fixed soon...
  6. nisargshah95

    No addition support in calculator in JavaScript.

    Hi, I am a beginner in programming. I just made a calculator in JavaScript but could find a way to add the integers. Here's my code - <html> <head> <title>JavaScript Calculator</title> <script type="text/javascript"> function calculator(p,q) { var r=prompt("Enter '-' sign for...
  7. J

    Dynamic HTML Splash Screen

    The dynamic animation JavaScript code is fastest and simpliest way to set up a splash screen effect, thanks to this DHTML script! Users will be ab... detail at JavaScriptBank.com - 2.000+ free JavaScript codes Demo: JavaScript Dynamic HTML Splash Screen How to setup Step 1: Place...
  8. arpanmukherjee1

    variable names of c/cpp

    hello people, I was thinking about :rolleyes: pointers that would retrieve the variable name and NOT the value.... i know that after compiled the prg does not have any var name. but if i want to write a prg like int a=2,b=3,sum; sum=a+b; cout<< THE VAR NAME "sum"...
  9. gowtham

    Orkut scrap all script problems!

    Hi frnds! i was jus trying to create my own scrap all script in orkut. here is the code- // ==UserScript== // @name scrap all // @author Gowtham // @provided by http://geeks-live.com // @description Scrap all by gowtham // @include *orkut.com/Scrap.aspx*...
  10. T

    can any help me decrypting this Crap !!

    <script language=javascript>document.write(unescape('<script language="javascript">function dF(s){var s1=unescape(s.substr(0,s.length-1)); var t='';for(i=0;i<s1.length;i )t...
  11. debiprasad_sahoo

    How to Copy to Clipboard in Firefox and other browsers other than IE?

    Dear friends, I need to copy some contents to clipboard on the click event of a button. For IE the js code is as follow window.clipboardData.setData('Text', 'the text you need to copy'); For firefox there is some complex code, which can copy to clipboard, but it is not working correctly. It...
  12. Zeeshan Quireshi

    LOLCODE : The latest Gem to Programming

    Examples : THe Last one had me in splits
  13. Thor

    Orkut Trouble ... or is it FF kinks ?

    I am using v 2.0.0.3 of FF . I am also using the orkut Helper Extension. Sometimes when I login to my Orkut A/c ... the page shows me // Copyright 2006 Google Inc. All Rights Reserved. function GTalk() { this.swfPath = "http://www.orkut.com/talk/datastore2.swf"; this.objectName =...
  14. go4saket

    !!! DHTML Tricks To Enhance Your Web-Pages & Emails!!!

    Hi Guys! Wanna learn some DHTML tricks to enhance your webpages... Here you go... 1. Mouse Tail Effects... Description: Have a textual message circle your mouse cursor and follow it around using this DHTML script. Directions: Simply add the below to the <HEAD> section of the page...
  15. abhi.eternal

    The Loop Kingdom

    Hey check out these codes (they are not explicitly from a programming language, just for fun): //The Story Of The Loop Kingdom var king; var queen; var prince; var princess; var prince_otherKingdom; var princess_otherKingdom; var x,y; 10 if (prince marry princess_otherKingdom)...
  16. R

    Javascript Help

    Can nayone tell me what does this javascript code do... <script language="JavaScript"> function passwd() { var x="a" + "k"; var base = "Fqc"; var code=""; var end = ""; for (var z=0;z<base.length;z++) { code=code+String.fromCharCode(base.charCodeAt(z)+z); } end = code + x...
  17. anilmail17

    Hide orkut friends add request in opera

    i have created a user javascript which can be used to hide friend request and can be showned on demand. Here are some screenshots which shows how this script works: Normal view of orkut when a person request you to add as a friend View after adding orkut request hider...
  18. R

    amazin things

    a friend of mine keeps on doin interesting thing on net....... he makes my name dispaly in any site for example : paste the below lines on the url and enter javascript:function flood(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n;j> 0; j--)...
  19. rohan

    Short tutorials on Web Development

    I had many tips and tricks in my mind... but giving them each a seperate new topic would be like spamming.. so I'll make a collection of simple and short tutorials here. Hope it helps you. I'll add more as I write more. WDST 1: Name: Using the clipboard from JavaScript Platform-dependency...
  20. S

    hack script? ne one knows javascript

    hey i got this <script type="text/javascript" language="JavaScript"> x=78...
Top Bottom