Pre tag use

266 byte By Nibinaear at 2007-11-20 3:45:50
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.)

Scripting without ActiveX

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?...

insert image in a Rich Text Editor

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...

hooking to browser instance events through javascript

365 byte By ranadhir nag at 2007-11-20 3:48:09
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...

mini-browser applying the same script on every url ?

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

Creating A Search Engine

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?

Delegate in 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).

form submission with Javascript

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...

MSGrid in html form

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...

Prevent duplicate event handlers against same element

1161 byte By ranadhir nag at 2007-11-20 3:59:00
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&...

Update DIV without updating the whole page

596 byte By jozomannen at 2007-11-20 3:59:14
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...

Get Event Log at specific Time

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...

Is it possible to have HTML tree?

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...

Unterminated string constant

18635 byte By ecarpovich at 2007-11-20 4:06:49
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...

Site onload effects

580 byte By jozomannen at 2007-11-20 4:10:18
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...

document.listmenu0.firstlevelis null or not an object? strange..urgent help need

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...

Hyperlink length

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...

Searching pages in Greek

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...

IE7 window.onunload vs. top.window.onunload bug

1024 byte By JetDeveloper at 2007-11-20 4:16:46
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'...

Shortcut keys on Popup window

228 byte By Reddyrams at 2007-11-20 4:18:08
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

onclick and onmouseover

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...

System Monitor Using Wmi

557 byte By abhiramsss at 2007-11-20 4:22:43
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...

[RESOLVED] Online Submission System (Javascript)

4873 byte By Nibinaear at 2007-11-20 4:30:21
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...

how to create tabs

224 byte By alok_s100 at 2007-11-20 4:32:49
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.

[RESOLVED] Word Counting Function

433 byte By Nibinaear at 2007-11-20 4:35:03
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...

2 pages in 1 with Javascript

1197 byte By peterworth at 2007-11-20 4:39:14
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;...

Displaying Calender with date and time in JS

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.

Displaying timezone

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.

Please help :Sending auto-email using VBScript

1434 byte By rameshbar at 2007-11-20 4:39:35
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...

How to insert images in menu?

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:

Setting main window position (JS)

1214 byte By Nibinaear at 2007-11-20 4:45:16
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...

propagate events in overlapped elements?

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...

Stop Parent OnClick()

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...

get logged on user fron frontpage

749 byte By brentwood at 2007-11-20 4:52:57
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...

prototype object javascript

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...

How to get selected HTML code? (not text only)

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...

[REQ][Jscript Help]CountUp Script.

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...

HTML - Simple <body> question

125 byte By TCanuck42 at 2007-11-20 4:54:30
How can i get an image within the <body background = "blah.jpg"> to stretch to fit the current frame that it is within?

[RESOLVED] Calling a function onLoad? (JS)

895 byte By Nibinaear at 2007-11-20 4:56:06
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...

page setup

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??

Window.opener: changing form information in parent through child

1220 byte By StevDevil at 2007-11-20 5:00:20
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,...

Right_align_tree_menu

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 .

Using Server side control in javascript

563 byte By Aamir Habib at 2007-11-20 5:01:18
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...

Extending HTML Forms

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...

Forcing IE to clear authentication details

606 byte By grahamr -work at 2007-11-20 5:02:41
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...

back button code

995 byte By spars_anu at 2007-11-20 5:04:17
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...

error is null or not an object

6 byte By deysmeean at 2007-11-20 5:05:36
Thanks

IE7 and "the path" part II

580 byte By AndyTheAce at 2007-11-20 5:08:54
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...

Retrieve from database

117 byte By shweta1234 at 2007-11-20 5:09:04
Hi frnds,<br/>Does anybody know how to connect to the database through javascript or <br/>anything about IFrame?

IE7 and ActiveX over SSL (https)

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...