Hello,<br/>I would like to know the source code in javascript or PHP to show a menu when you right click over an image in a web page, I would like this to be functional in Mozilla and Internet Explorer.<br/>Thanks.
981 byte By
RobinAnn at 2007-11-19 21:25:21
I have combined a web scripts I found online with some CSS and formed a neat little package which you can view here: http://www.robin-ann.net/SE/example--nav-looking-for-a-timeout.htmI like the way the script pushes the CSS submenus out - however - would like to "turn off" the onMouseover event which...
43 byte By
bubu at 2007-11-19 21:28:58
Is there a way to make content: work in IE?
320 byte By
ZhiYi at 2007-11-19 21:29:27
Hi,How do I draw a rectangle inside an asp.net Imagebox control?The rectangle should be drawn when the user drags the mouse diagonally across the imagebox control.I have tried and asked around and it seems that javascript is used to draw therectangle in response to the mouse dragging....
Hey Hi, I have one drop down list.Assuming that the names in the list arranged in alphabetical order are: .. Harry, Ian, Jake, Jamie, Jenny, Jill, Jim, John, Jodie, Kate, Kim, Larry If the user types in a J, system should scroll the list so that the names starting from Jake are displayed at the top....
163 byte By
nazgul27 at 2007-11-19 21:31:50
I have the following line of code in an HTML page:<br/><span id="total">0.00</span><br/>How can I change the value on run-time in Javascript?
260 byte By
swapcode at 2007-11-19 21:32:42
i have separrate values for dropdown datatextfield and valuefiled i want to access text filed at client side but unable to get as document.getelementbyid('ddldrop1').value is giving valuefield .<br/>pls tell me how to get textfield<br/>thanks...
228 byte By
lior6543 at 2007-11-19 21:33:34
I have a DHTML window inside a DIV on my ASP 2.0 page.<br/>Is there anyway to know if the user clicks outside the window's div?<br/>I'm trying to make the window modal this why since dhtml windows are not by default...
202 byte By
lior6543 at 2007-11-19 21:35:55
Is there any way to set one div to be over another one?<br/>i have a dhtml dtop-down menu assigned to input buttons<br/>which opens up when a key is pressed but it is shown below another div<br/>i have.
426 byte By
sudheer7 at 2007-11-19 21:38:33
Hi, from the parent window I open a new window(child), in child window "onLoad()" method I wrote a piece of code to close the parent window.Like# opener.close()above one doesn't work. Both windows parent and child remains.Can anyone suggest me why it happens, or anyother means to close...
after releasing microsoft new IE patch my activex control is not working when we browse my site, out side the domain. it shows tooltip text showing that clik to activate and use the control. and i found the microsoft support link( http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dht...
2547 byte By
rogernem at 2007-11-19 21:42:28
Hey there.I have a very simple javascript rich text editor.(Bold, Italic, underline,OrderedList and UnOrderedList)When I write something and hit enter and write something else it jumps 2 lines and I get in html:<p>SOMETHING</p><p>SOMETHING ELSE</p>Its jumping 2 lines because...
2647 byte By
amirt at 2007-11-19 21:43:08
Hi all,This is my code:<!--#include file="Session.vbs"--><%'@ Language=VBScript CodePage=65001 %><%'Option Explicit%><HTML XMLNS:IE><HEAD><?IMPORT NAMESPACE="IE" IMPLEMENTATION="#default"><STYLE TYPE="text/css">.masterstyle{ margin:0px;}</ST...
611 byte By
ZhiYi at 2007-11-19 21:46:05
Hi,How do I display the coordinates of the mouse when the button is first clicked and when the mouse button is released after dragging?I am using javascript to draw a triangle using mouse dragging. How do I display the mouse coordinates when the mouse is clicked and when the mouse is released after...
Hi all,<br/>I have one problem,plz help me...<br/>My appln is in ASP,i m using VBScript..<br/>I m using TextArea and taking input from that textarea into a variable..<br/>But i want that msg in the whatever format it entered..
222 byte By
llp00na at 2007-11-19 21:49:10
Hi all,<br/>I have got a flash residing at a web page http://www.pcworld.co.uk, I want to make the flash un-clickable so that when users click on the flash they dont go any where !!!<br/>your help is appreciated.
Hello, I have a textarea html tag inside a page, and I want that every time that the user press the enter key inside a textarea an event will be fired. How can I detect that the enter key is pressed ? I know that the onkeypress event is fired everytime that the user press any key, but I wa...
1043 byte By
amirt at 2007-11-19 21:51:25
My problem related to Print templates.I built a template of my own - let's say its location is in "C:\Inetpub\wwwroot\UI\Template.htm".I want to use it from my asp and tried to do so by:<OBJECT ID="WB" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" VIEWASTEXT></O...
638 byte By
QBAN at 2007-11-19 21:51:56
Hi Guys I can't get tables to stretch at 100% in a uniformed way to the edge of the browser, in Internet Explorer 6 they are not stretching vertically all the way to the bottom, in Mozilla the experience is worst because they are not stretching all the way around to the edge of the browser.In t...
267 byte By
hitai at 2007-11-19 21:52:12
var wshShell = new ActiveXObject("WScript.Shell");<br/>In my web page, i tried using the above line to create the object. However i`m getting the error "Automation server can`t create object". I don`t hav any syntax error wat so ever. What is causing this error?
456 byte By
Lerris at 2007-11-19 21:54:05
Let me start by saying that I hardly know dynamic html or javascript. I have found some scripts, though, that allow me to hide and unhide elements on a page. One of the uses of this is I would like to be able to hide and unhide a java irc applet.The hide/unhide html works, but when I unhide the ap...
3058 byte By
ZhiYi at 2007-11-19 21:56:14
Hi,There is a problem with the javascript below. I cant find where the problem is.I have to draw a rectangle by dragging the mouse. Also, when the mouse is first clicked before dragging and released after dragging, the mouse coordinates will be displayed.I had 2 seperate scripts. One which draws the...
Hi,I'm trying to put two divisions side by side. What I did was add one div, and then a second, which I moved up and to the right to make it appear beside the first. I used a relative position on the second div, and subtracted space from its top. The problem is that the space still remains b...
509 byte By
fromalk at 2007-11-19 21:58:06
Hello everyone,I made a menu containing a list of horizontal buttons.There is only one problem, the only browser that has this is internet explorer...Scince the buttons are all above each other they are being spaced a bit. I allready had a css fix for this in another find but can't seem the fin...
2293 byte By
///M at 2007-11-19 22:01:55
Hi there. I am using the code below to learn about form validation. When I insert correct data the form sends the data, and when i enter wrong data it clears the fields. What i am ideally looking for is for the code to keep the data on screen so that I can change it if i make a mistake. Here is the...
Does anyone know how I can search for a file in a DVD,?I have a list of files in a text file. I want to loop through this list and see if the file exists on my DVD. If yes, then copy it from DVD (d:\ drive) to my hard drive.The DVD has a number of folders with subfolders, and the file I am searching...
Hi,I am creating a COM object as shown below in my Java script.var tInput = WScript.CreateObject ( "APRecPlay.TInput" ) ;Here APRecPlay.Dll is a COM component written in VB.NET and TInput is a class.I get the following error from the Windows Script Host when i try to run the java script.Error:"Coul...
816 byte By
kaanuki at 2007-11-19 22:09:08
Hello, All.I am having a bit of trouble with this vaery crucial element of my web app. I need to place a variable within an Object Tag. For example... I'd Like to replace the VALUE of "Applet1.class" with a VARIABLE:<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="200...
Hi,i would want to write an iTunes-like application able to play the same music tracks available from the original iTunes.But i need to know :1) If iTunes , when searching for music , sends a request to a dynamic page , giving her some search parameters in the URL , and then if that page builds up d...
Im interested in writing a keystroke trapping program in windows. Can I do it in VBScript/Wscript ... ie will the system allow me to trap all keyboard events ?
729 byte By
AndrewMB at 2007-11-19 22:12:53
I want to preload images in my web page and be notified when they load. So I wrote:function loadImg(img,srcText){ img=new Image(); img.onload=new Function("imgLoaded()"); img.src=srcText; }with a function imgLoaded() to handle the onload event.I called this 6 times with different variables for img a...
222 byte By
jasonli at 2007-11-19 22:20:50
I want to popup message after a server control is changed. I put a htmlinputhidden control on webpage and set "runat=server". When value of it changes, how to run javascript to popup message?<br/>thank you in advance.
i've been having this problem for quite some time now...in www.manutd.com I'm not able to log in...it's a pop-up...i think it's a problem with the scripting because in the bottom-most bar, i get the message javascript:void(null) or javascript:do_login...blah blahi've downloa...
810 byte By
Alsvha at 2007-11-19 22:26:13
Hiya all.I stumpled on a problem one of my coworkers were having today, in that he'd like to fire an onMouseOver event on each option in a select-object.What ideally would should happen was that an image would be changed when the mouse hovers over the options in a select. This can be done with...
646 byte By
jantman at 2007-11-19 22:26:55
I'm totally stuck on this.I have a complex form created in the PHP PEAR module HTML_QuickForms. All this does is generate HTML with fomr elements.I have a select element which has values based on a database.What I want to do is, when the user uses the select element to select an item from the l...
i want to know how i can know that in which order the options are selected in the multiple drop box ?<br/>i am working in php?<br/>thanks
705 byte By
phinds at 2007-11-19 22:37:59
I could have SWORN that some years back I figured out how to do this, but now I can't even determine if it's POSSIBLE, much less how to do it.What I need is HTML for a table with mixed columns and rows arranged to place 7 elements as shown in this rough diagram:-----------| 1 |...
402 byte By
shean at 2007-11-19 22:43:12
Hi, My system written in javascript...it run normal in IE. But when i using Firefox 1.5 to run it, appear a serious problem. Because the information keep on repeat in my 2nd frame when i click on the radiobutton in the 1st frame. That zip file is my system. u may try to using IE and Firefox to...
In both IE & Firefox I am getting a lot of: - Error in parsing value for property 'cursor'. - Error in parsing value for property 'top'. - Error in parsing value for property 'display'.in CSS & HTML files. Here are some snippets of code I use:img.menuButton{ cursor: ha...
349 byte By
FZ1 at 2007-11-19 22:49:28
I am making a photo web page for my family and I would like to be able to have a thumbnail of a pic and click on it which would bring up a new window (full screen) that will display the full sized pic. I have found a few scripts but I seem to be having issues with them. I'm sure this is simple...
463 byte By
SJ Smith at 2007-11-19 22:49:31
Hi,I am writing some scripts which need to do various jobs, some of this will be creating directores, copying files, deleting files etc. Is there any way of doing this in JScript without having to call Run("cmd /C md d:\dir") for example.There must be a standard COM object in windows that I can use...
784 byte By
SJ Smith at 2007-11-19 22:52:15
Hi,I am trynig to write a script which runs another sub script which in turn runs another applcation, In the main script I have something that looks like thisvar oExec = WshShell.Exec(strCommand);while (oExec.Status == 0){WScript.Sleep(100);}WScript.Echo(oExec.StdOut.ReadAll());WScript.Echo(oExec.St...
534 byte By
jasonli at 2007-11-19 22:52:24
I wanna get the absolute coordinate of cursor when I click mouse on webpage. How can I do? var x,y; var e = event; if(e.pageX) { x = e.pageX+window.pageXOffset; } else { x = e.clientX+document.body.scrollLeft; } if(e.pageY) { y = e.pageY+window.pageYOffset; } e...
I have a table row structured like this (mind the XSL variable):<tr> <td> <input type="hidden" value="0"/> <input type="hidden" value="{$RecNum}"/> </td></tr>and I have been using JavaScript like:var tr = document.getElementById(this.Table).rows.item(i + 1);if(t...
158 byte By
jasonli at 2007-11-19 22:54:18
It would take time to load my aspx web page. During the period, in status bar there would be saying "opening page http//......". Can I detect that? How to do?
1146 byte By
ax2x3m at 2007-11-19 22:55:28
Hello, i have an activex script that runs perfectly on my machine locally. Basically it creates a text file on the users machine (specifically the C drive)function WriteToFile() { Try { var fso, s; fso = new ActiveXObject("Scripting.FileSystemObject"); s = fso.CreateTextFile("C:\\philtech.html",...
Q(1)I have created an array and store 3 functions in it. Eg. this.validateCols = new Array(); this.validateCols[this.COST] = function(obj, index) { return 0; }; this.validateCols[this.LOCKED] = function(obj, index) { return 0; }; this.validateCols[this.COMPLETION] = function(obj, index) { retur...
I have an aspx page that displays data depending on your search criteria. When you click search it does a postback and hides all the search criteria controls and displays data.What I am trying to do is have a button that preforms a history.go(-1) go back to search criteria controls. For some reason...
808 byte By
rogernem at 2007-11-19 22:57:32
I have a menu done with javascript. Lets say it is just like this:<javascript>code<menu item01> <submenu item01> <submenu item02> <submenu item03><menu item02> <submenu item01><menu item03> <submenu item01> <submenu item02><m...
I am wondering if anyone knows good code that implements the Windows Explorer selection mechanism (for a DataGrid or HTML table). I know the basics of assigning attributes to DataGrid rows (eg. objDataGrid.Rows(index).Attributes("onclick")) which applies to HTML tables. But wondering if there's...