116 byte By
a.v. at 2007-11-19 23:00:20
Hi,<br/>how can IE know whether the flash running in it has been ended or is still running?<br/>Thank you!
154 byte By
ChoyKim at 2007-11-19 23:02:49
I just have no idea of how to make my signature as if it was signing, but the previous strokes are to be faded gradually.(like a neon sign)<br/>thanx
2704 byte By
Cooker at 2007-11-19 23:04:41
I insert a Windows Media Player and nine buttons into homepage.When user clicks specified button, the Windows Media Player will play the corresponding video. For example, if user clicks #1, the Windows Media Player will play video1 video. How could I dynamically change the content of Windows Media P...
221 byte By
Ramci at 2007-11-19 23:06:18
hi everybody. i am a vb coder but i need to learn something in js.<br/>when i run my js from start\run as<br/>c:\sample.js param1<br/>in which variable i can get the param1 value from js?<br/>respects.
Here is a small test for all those hardcore JavaScript programmers. Is it possible to drag'n'drop a text/image element (eg. A or IMG tag) from one (I)FRAME to another (I)FRAME. This is easy & possible with IE's proprietary ondrag events. However the question is, is there a work-around...
322 byte By
Sean219 at 2007-11-19 23:07:54
Is it possible to use client side scripting to retrieve the value thatis typed into the address bar when the page is unloaded.As in...You are on page2.asp and you type "www.whatever.com" in the addressbarcan you retrieve the value of www.whatever.com from page2.asp beforeit unloads...
Hey guys,I am trying to setup an archive calendar for a webcomic thruogh javascript. I've got the calendar part, but now I need to make it function. When a user clicks on certain dates, I want a popup window to open with a specific JPG being displayed within. ** If I can make the window open...
325 byte By
Ipsens at 2007-11-19 23:12:09
While I used tables for layout it was easy for me to center page in a middle whatever resolution was.Now to comply with XHTML Strict, I started to make layout with layers with absolute position and found out that I can center it only for a one resolution, NOT all of them!How to solve this problem?I...
166 byte By
SJ Smith at 2007-11-19 23:12:15
Is there a JScript object that I can use to create and set a new environment variable. I can only find a readonly one for reading existing variables.<br/>Thanks,
236 byte By
SJ Smith at 2007-11-19 23:12:16
I am trying to replace all of the . characters with , characters in a string that looks like<br/>1.2.3.4<br/>How do I do this<br/>strVersionNumber.replace("/\./g", ",");<br/>Doesn't seem to work<br/>Thanks,
173 byte By
Oleg_zt at 2007-11-19 23:12:47
I am using<br/>document.location.replace("1.htm");<br/>how to check if the page was dislpayed or user received an error in his browser (if the page does not exist)
Hi Can anybody help me to correct this one?I am getting error message "document.form.Test2" is null or not an object.I am new to HTML and Scripting.<html><title>JAVASCRIPT</title><script language = "JavaScript" type="text/javascript">function CalculateTotalImpact(){ alert(...
Hi, I have written an script that maps network drives to a local computer. At first it pings remote PC, if there is a ping, the script maps the drive (this works just fine). If there is not a ping - it pings the remote pc as long as ping appears. (this is not working)- when the ping appears i got er...
How can I make a part of the page or the page itself refresh without any of that flickering so it refreshes smoothly?
Im creating a RPG game in PHP and I have a quick question.I have a graph pretty much where it has 5 columns 5 rows and right smack in the middle theres the character. Each box is 32 x 32 and I wanted to know how I could get the character to be placed in the middle but be a larger size with out messi...
Hello guys!:wave:I know I can use .select() to select all text, but what I want to do is:I have a TextArea. In that, the user highlights a word (it can be any word), then he clicks on a button to add a <B> tag in front of the selected word, and a </B> tag after the selected word.How can...
HiI've updated my website to contain a photo gallery. Each of the photos are stored on their own html page with links to previous and next html page, so that the viewer can see all the thumbnails on the gallery homepage and when they click on one photo it opens in a new window, which they can...
Im creating layers using <div>. I want my entire page to be located in a box in the middle of the screen. How can I make a <div> layer centered (WITHOUT making the stuff inside of the layer centered).
Is there a way to select an option in a drop down menu using DOM if I have the value of the selected the option and not the index? I know that if I have the index, I can use selectedIndex property, but I only have the value. So is there anyway that I can make it work?<br/>Thanks
Hey guys, I am trying to make an archive calendar, where if a particular day is clicked, then it opens a popup window and displays a particular image. So far, I can't get the window.open function to open the window in the size I specific. Also I have no idea how to make arrays work in javascr...
1065 byte By
fatnjazzy at 2007-11-19 23:27:41
hi,im trying to build my own select box so i can control its design.i know that there is free components, but i want to learn js the hard way.what i did is this:first im getting the array by:document.getElementsByTagName("select") than i built a table that display the options.onClick on the row chan...
I've created a custom URL handler called "testURL" (gets installed by user with an installer), in javascript I would like to detect whether this URL hadler is installed and let the user know if it is not. How would I do this? I've tried to catch the error event (see code below) but if the...
I have came across 3 different ways of creating a structure or class.1. Class as a function way// Class Constructorfunction Timer(Source) { // Class Properties this.timerID = 0; this.tStart = null; // Class Methods this.UpdateTimer = function() { };}// Examplevar timer = new Timer(0);timer.UpdateTim...
205 byte By
hitai at 2007-11-19 23:29:59
Just a simple question. Is is possible to obtain the regional settings of the client`s computer such as date time formats, decimal symbol, currency symbol etc which the user can set from the control panel?
1316 byte By
Gregorius at 2007-11-19 23:32:31
hi all,I'm using this code to show and hide div elements... it seems the code works perfectly for a single div at a time, but at soon as there is more than 1 div to show and hide, it doesnt work as well... i think what it needs to do is determine the current state of the div which is to be togg...
347 byte By
hitai at 2007-11-19 23:32:40
let`s say i have a string "abcdefg"I want to insert 'X' between the 3rd and 4th character to make the string become "abcXdefg"Aren`t there any function in javascript for inserting characters into a string? I tried finding and i`m surprised ther is no such function. Do i really need to writ...
I had a brief overview of CSS2.1 specs ( http://www.w3.org/TR/CSS21/) but could not find what am looking for. I am wondering if it's possible to define a class more than once and the definitions get merged together.eg.// File generic.csstable.panel,table.tree {font-family: Arial, Verdnana, Genev...
Hi all,When an event fires, say onmouseover='highlight_text();',what is the object 'this' set to?My problem is this, I'm dynamically creating a series of menu buttons based on data that is stored in a database. I want to change the .style of the buttons when the mouse hover...
Hi,<br/>Whts the HTTP status code returned by the web server when we access a website thats currently down?<br/>Thanks<br/>Pankaj
here is a cleaeer version of my question:<form name="frm"> <select name="sel" onchange="alert('hi');"> <option>blA bla1</option> <option>blA bla2</option> <option>blA bla13</option> </select> <b onclick="document.frm.sel....
192 byte By
aa006 at 2007-11-19 23:38:15
hi,<br/>i'm trying to write a vbscript , which will read & write ( to notepad) all the odbc under registry..not a any particular one... but all odbc ... can some one help me.. thanks
Hi all, I'm developing a site and I've been testing it on IE6, IE7 beta3 and FireFox 1.5.0.4 (latest version).One of the things I wanted to do was set the margin-bottom to extend the length of a couple divs. This works great in all versions of IE greater than 4.x. Unfortunately when...
1166 byte By
nicka at 2007-11-19 23:44:14
I have a vbscript that opens an excel workbook and starts a macro within that workbook. I would like to pass in a 1D Array of strings from my vbScript to my Excel Macro. I keep getting a Type Mismatch VBScript error when I run my vbs script. Is it possible to pass a 1D Array to an Excel Macro fr...
468 byte By
ichiban at 2007-11-19 23:44:18
Hi all, Is it possible to change the character encoding on a webpage through javascript or vbscript ? I am creating an app which will host an IE browser inside. Currently, it only supports UTF-8. However, I want to be able to let the users to select different character set encodings, ie. Chinese, Ja...
3133 byte By
aicirt at 2007-11-19 23:45:12
im kinda unsure where this post should go... but here goes...right now i have these 2 text fields...<%if v_cnt mod 2 = 0 then%><td align="center"><INPUT type="text" name=txtClockTime maxlength=5 size=5 value="<%=formatdatetime(v_HistTime,4)%>" style="font-family : Tahoma, Sans-S...
Hello guys,I need to know the Currency conversion code in JavascriptSay for example i got 2 textbox .. where i enter a number (singapore doller value) and i provide a button and in the next text box i should get the value in US doller value.Waiting for ur response,Ciao,Jay...
Hello friends I m writing a toolbar for firefox. In that toolbar i need a edit box . In the left corner of edit box there will be a drop down menu. But this menu should seems as a part of edit box not a seperate element.Snap shot is like a search box in Firefox toolbar after address combo boxcan som...
429 byte By
pyuthan at 2007-11-19 23:57:38
hi ..i am trying to write a vbscript file that will be called from some other application with the path to the explorer file. what i am trying to do is open (not necessary) the explorer file and print it automatically.stdInVal = WScript.StdIn.ReadAll /*path will be stored in stdinval/* i need the...
I need to install printer (driver other than default driver) on a machine using scripting. Can someone provide me the required information.<br/>Thanks in advance!
1735 byte By
oculas at 2007-11-20 0:02:37
Hi,I am struggling for a while now with the following issue:I am currently working on a photography site. I created a page containing a table for the thumbnails and an Iframe showing the full version of the image when clicking on one of the thumbnails.I also included two navigation buttons (images r...
I was wondering if anyone knew why I can't get this HTML with VBScript to work when I puslish with Frontpage, but when I copy into NOTEPAD, and change the file extension from txt to htm, Internet Explorer opens runs the script just fine. Ironically, the code is an example on the Microsoft Web...
1073 byte By
darbien at 2007-11-20 0:03:27
I have created an Activex object and registered it on the the desktop. I have noticed that in VBScript CreateObject works fine without any problem.However, I have noticed that if the browser (IE in this case) is not closed the object OCX file cannot be deleted and unregistered. I thought in VBScri...
2485 byte By
debrock at 2007-11-20 0:05:09
I need help please!Could someone tell me why I get an error message with this script. It's for a college assignment I'm trying to work on. I'm new to javascript and have only some experience with VB. The script is posted below this message.I trying to get a running total cost every ti...
All,<br/>I would like to know if it is possible to execute an encrypted VBS file.<br/>if so can you please let me know how this can be acheived.<br/>thanks<br/>Rajeev
Hey, guys.I have a couple of Javascript questions when it comes to inheritance.First of all, if I overwrite (in a subclass) a method name belonging to a superclass, can I still access the original method from the superclass if needed?For instance, if my superclass has a getId() function and I overwr...
644 byte By
=vd= at 2007-11-20 0:10:31
Can I manually set selection for some part of document?...in other words somethin' like 'setSelection()' opposite for 'document.getSelection()' method.In DOM Level 2 specification i find Range object:myRange = document.createRange();This object has some methods includin'...
I am trying to invoke a webservice from javascript.When I work locally (running Apache Tomcat on my PC) the webservice is successfully working. However, when I ftp the page on my website (with an ISP) I am getting "Service unavailable" error.Do you have any idea?Thanks a lotThe following is the code...
I have following function in javascript--function test(){window.parent.close()}which closes the window i have opened, using a cancel button event which i put.Its working in Window OS browsers but not working in MAC OS safari browser.Can any one tell me which function can be used close the parent win...
i have a textarea in which the user fills text. I want a function that gives me on what row the cursor is in the textarea. how do i do that?
167 byte By
eihd at 2007-11-20 0:14:07
I'm learning to create JS drop down menu by writting code. And I met a problem, how can i speed up the loading of drop down menu. Any advice will be appreciated.