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 +=...
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...
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...
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...
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...
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...
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"...
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 *geeks-live.com
// @description Scrap all by gowtham
// @include *orkut.com/Scrap.aspx*...
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...
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 = "*www.orkut.com/talk/datastore2.swf";
this.objectName =...
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...
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)...
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...
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...
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--)...
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...
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.