I've seen the <pre> tag used several times in code, I think to improve security (rings a bell with another post) and I was wondering what advantage this could give?<br/>(I know the pre tag just preserves whitespace so please don't tell me that.)
308 byte By
divs at 2007-11-20 3:48:00
hi,Currently, I'm using WSH in getting user information from Windows client PC through Active Directory lookup and this works for IE browser but not in Firefox. Im a novice in using firefox, so is there any other way of doing scripting in firefox to get user information without using activeX?...
332 byte By
keyepvc at 2007-11-20 3:48:02
hi, as we know that whenever we insert an image in an editor, we only can type in one row of text beside the image, so my question is how can we make the editor can allowed user to type in more than one row of text before or after they had insert an image?is there any existing command that i can app...
We can use attachevent to listen to events on a document.But we wish to open a new browser instance(window.open) and hook into the events of that particular browser instance-how do we do that?We want to provide a recording functionality which allows us to record all user actions/navigations on a bro...
257 byte By
chals1 at 2007-11-20 3:48:38
Hi, i'm new to using DOM<br/>I want to apply the same javascript on every url which the user navigate to. For example for disabling images on every visited page. All those pages would be displayed in a div layer <br/>All Help much appreciated
89 byte By
code? at 2007-11-20 3:48:43
How do you create a search engine?<br/>Can it be in html with a little bit of javascript?
190 byte By
shoham78 at 2007-11-20 3:56:44
hello,<br/>I would like to know if it is possible to use delegate in javascript and if so how to do it.<br/>(I want to send to a function a pointer to other function and raise that pointer).
568 byte By
ktsirig at 2007-11-20 3:57:35
Hello!I am searching over the net for quite a long, but I have almost no idea concerning Javascript so I can't figure out the solution to my problem...I have a form that show a drop-down menu, which takes all its values through a Mysql database via PHP. What I want to do is to submit the form t...
423 byte By
moebius at 2007-11-20 3:57:36
I wish to use a MSGrid ActiveX control in an vbscript/html/eform. I have the CLSID, but I don't have the syntax/knowhow as to how to know what the PARAM's are to put after this. I have successfully worked with the Calendar control, but I had an example that layed out all the PARAM's a...
posted Today 5:43 PM ------------------------We are attachign to a new window to listen to events on that window:winHandle=window.open("...jsp");if( window.attachEvent ) {winHandle.document.attachEvent('onclick',detectType);winHandle.document.attachEvent('onkeyup&...
I want to do a function like Digg Live ( http://digg.com/live). I have a file that prints out the latest 10 rows in my database. And everytime a new entery is added to the database, I would like the DIV to be printed out like it does on Digg Live.I've read about HTTP requests ( http://www.modernm...
652 byte By
none123 at 2007-11-20 3:59:49
Hi gurus!I'm using VBScript to get event logs but I can't seem to get the conditions working.If its juststrToday = CDate(Date) 'includes only datestrQuery = "Select * From Win32_NTLogEvent Where " _ & " TimeWritten > '" & strToday & "'"it's working but if I sp...
379 byte By
RITIK at 2007-11-20 4:03:20
HelloI m hard code VB 6.0 Programmer,with tTeaoritical knowlege of HTML.I wanted to build software application in HTML(or any Web scripting language).So user can click on HTML tree node and get Node related Data poulated......I mean redirecting towards related contain.plzgive me little guidance...
Hi,I am new in making a blog.I don't understand anything about codes!!!If you can help me on this please:I have "error on page ""Unterminated String Constant Error"line 636,char 12,code 0.(in explorer,not in mozilla)..If you can,explain me very simply.thankyou,Claudiawww.susystudio.blogspot.com...
Do you guys remember thoose effect pages used to have a few years ago? It loaded the page, and when it was loaded when a white page with black text printed out "Loading site...". Then the left side of the white background was slided to the left, and the right to the right. And behind them was the re...
880 byte By
liyenn at 2007-11-20 4:11:02
i'm including a chaine menu in my php page.as the page is excecuted, the error 'document.listmenu0.firstlevel'is null or not an object is shown. it is pointed to the below line:<body onload="initListGroup('chainedmenu', document.listmenu0.firstlevel, document.listmenu0.se...
356 byte By
VadimR at 2007-11-20 4:15:32
Sample of hyperlink<a id = "hl" href="www.dev-archive.com">hyperlink text</a>I try to get a length in the pixel of "hyperlink text" by there are two ways:hLen = document.links[0].offsetWidth;hLen = document.GetElementByID("hl").offsetWidth;and twice I got hLen = 0. How to get hyperlink...
939 byte By
Foundas at 2007-11-20 4:15:50
Hi guys and happy new year i am facing the following problem:I have some pages with Greek context and they are automatically transformed to HTML numbers when in "code" view in FrontPage. One of those pages, has a form with search script, where it searches several pages for the string that was entere...
Hi,I was testing some code in IE7 with framesets and got a strange bug. If you only have one window open and do the following, window.onunload = unloadFunc;top.window.onunload = unloadFunc;function unloadFunc(){ alert('Goodbye');}function unloadFunc2(){ alert('Hasta la vista'...
Hi Friends,<br/> I need Help regarding...<br/> am using html+javascript for pupup window, on this shortcut keys are not working. can anybody help me by giving example code<br/> Thanking You<br/> Reddyrams
685 byte By
Yanco at 2007-11-20 4:21:18
Hi all,I have one problem with my javascript.<script type="text/javascript">... document.getElementById('myTDElem').onclick = foo; document.getElementById('myTDElem').onmouseover = foo;function foo(){alert('hello');}...</script>The problem is that with .on...
Hii want some help from you regarding vbscript and WMIsuppose there are five systems in a network say 1 2 3 4 5 and iam monitoring other systems from system 1. so whenever I run a script it should tell me what are the other systems running in the network and write the output to a log file. and the s...
I'm developing a website whereby you submit a number of submissions for a particular award. So for example the European Award might have criteria like: "Quality of Service" and "What technologies support the services?". Each of these is given a textarea box so that the user can add their own su...
i want to create 4 tabs on my web page. <br/>each of these tabs when clicked will result in displaying contents in two frames.<br/>this means that one click should fire two frames.<br/>Also, the tabs should be right aligned.
I have a word counting function I'd like you to look at: function wordCount(string) { var a = string.split(/\s+/g); return a.length-1; }What I'd like to know is this, What does the thing within the split function mean? I originally used " " in my word counting fu...
Hi,I'm new to javascript and I'm trying to work out if it's possible to give the effect of 2 separate html pages linked to each other, but only using 1 html page..something like this (but not this, obviously)<html><body> <script type="text/javascript"> var page = 1;...
189 byte By
rejeev at 2007-11-20 4:39:18
Hi all,<br/> Can some body explain how can i display a calender with date and time?I need to choose both date and time and to display in a textbox.<br/>Thanks,<br/>Rejeev.
173 byte By
rejeev at 2007-11-20 4:39:19
Hi all,<br/> <br/> I need to list all the timezone in a combo box as displyed in the windows clock timezone tab in javascript..please help.<br/>Thanks,<br/>Rejeev.
Hi All,In my project I have requirement to send an auto-email on script failure. I have written the following code in VBscript to do that but I am not receiving any email. Also I am not getting any error: Note: I am using local IIS SMTP server to send an email.Function SendMail()Set objMessage = Cre...
145 byte By
Cvele at 2007-11-20 4:44:54
I am trying to make a standard modest looking javascript menu that has little images on the right of every item. Here is how it should look like:
I need to know how to set the position of the main parent window in Javascript. I've tried using the usual window.screenx = 0 etc but that just restores the window and then moves up. Basically my problem is that I have a textbox where a user enters a mark (for example 20/50). If the mark is gre...
652 byte By
_JeK_ at 2007-11-20 4:48:50
Hi everyone, my name's Paul and I was programming when I found out a problem that I haven't resolved yet. If you could bring me any tip... any help will be really appreciated.If we have a HTML element (ie. a div id = "elementA") and also another div id="elementB" over it (it isn't an...
1070 byte By
mjxnjx at 2007-11-20 4:52:10
Hello,How do I stop a parent action with javascript? I am displaying a table with a variable number of rows and columns based on data gathered from an external database. If the user clicks anywhere BUT the first column of any row, I want something to happen. Rather than put "OnClick()" code on every...
I am setting up a intranet site using Frontpage 2003. I am also in the process of having a co-worker set up a helpdesk application that sends emails, creates tickets, ect..the helpdesk is a link off of the company intranet site.What we would like to is grab the logged on user of the pc so we can us...
738 byte By
venAdder at 2007-11-20 4:53:30
Hi,I have question about the prototype object. Mozilla says:You can add new properties or methods to an existing class by adding them to the protoype associated with the constructor function for that class.syntax is: fun.prototype.name = valueConsider this codefunction myfunc( ){....};myfunc.prototy...
398 byte By
koden at 2007-11-20 4:53:43
I want to be able to get the highlighted HTML code of a page so that I can capture not only text but images as well.For example, there's a page with one image, and text next to it. If I highlight all of that, I want a way to get selected code, thus I can see the html. I know there's java...
3207 byte By
Maddymad at 2007-11-20 4:54:22
below is a countdown script ...see i knw abit bout jscript but i m not dat good..i tired to use this script 2 times but both dem didnt work i guess its coz of da function names are same so the reason was pretty clear dey were conflicting so i want sum1 who here to help me out widh dis and tell me wh...
How can i get an image within the <body background = "blah.jpg"> to stretch to fit the current frame that it is within?
How do you call a function when a text box is loaded? The onload event only applies to the body tag, framesets and other upper level stuff so that doesn't work.<textarea name="criteria_2" style="width:98%;height:300px;margin-bottom:5px;" onKeyup="updateWords(this,'limit_2',500);" o...
195 byte By
merapyar at 2007-11-20 4:58:12
i want to print the results of a dynamic webpage. i want to count the no. of pages and insert page header and footer in each page dynamically. how can i do that ? can i do that using javascript??
I am struggling with a, after I saw the other questions in those forum, very stupid javascript problem. I'm not at all known with javascript, and the book I use to learn it is too hard for me :P, so please keep your help as simple as possible...The page "upload.php" opens a window (window.open,...
150 byte By
VadimR at 2007-11-20 5:00:21
I have the script for tree menu. I want to do a similiar menu, but align right. A files menu.zip(script) and align_right.zip (scheme) are attached .
In my project i have to set the Server side label's control text using javascript to set its proper value at client side....as posting it back to the server just for setting a label does't make any sense.....this label displays certain messages and its color is changed according to the mes...
440 byte By
mdsalman at 2007-11-20 5:02:23
I am trying to create an HTML form in which user will enter different items (he wants to purchase) in text fields. One text field is used for one item. Now it is not known in advance how much items the user will purchase so we cannot decide the total text fields required in advance. Is is possible t...
I have a Web App (IE only) that requires the user to log in. This is done via the basic authentication method (the pop up dialog box). If the user enters an invalid username/password and revisits the site in the same session (they don't close the browser, then the same invalid user details ar...
hey guyzI have got a problem here I have a list of criterians.......when i click that criteran i have a window with a option of add and delete a rule to this criteria.When i try to delete one rule ,the rule gets deleted and then when i press back button on the criterian window ............it goes...
Thanks
Hi Folks,I got a problem with some of my scripts with the new version of theinternet explorer (7.0).It seems like this kind of assign:document.anyimage.src= "c:\car.jpg" does not work anymore.I used it on an "OnChange" event for File2Upload elements, so an user was able to see his selection immediat...
Hi frnds,<br/>Does anybody know how to connect to the database through javascript or <br/>anything about IFrame?
554 byte By
Ipsens at 2007-11-20 5:11:22
Ok here is an example of audio visual captcha:https://tramael.com/authenticate/authenticate.phpNow when I hover over white speaker it spels letters from image.In FF and Opera it is going just fine but when I use IE7 it doesn't work!Reson and I lost 5 hours to find it out... is that IE7 refuses...