Disable right and copy paste etc .. from my web page
Hi First of all thanks in adavnce.. i want to disable view page source, copy and paste image etc .. in my web site . How it will do . I know php and javascript . ...
Hi First of all thanks in adavnce.. i want to disable view page source, copy and paste image etc .. in my web site . How it will do . I know php and javascript . ...
Hi all, how can I select the following element using prototype div#page_container h1 and after selecting it change its padding-top ? Thank you ...
Hi, My situation is when user enter the keyword associated with the video file and press enter.Out put is alll the details regarding video file which has match with the key word from MySQL DB.Now here I have stored video file in the server location and stored path of the video file in Mysql database. When user click on the name of the vi...
Hey, I'm not very experienced with javascript, jQuery or it's plugins but usually I manage. Anyways, my client is building a site and one of its purposes is to pick up news articles from different sites and show the titles in unordered html lists. I don't have access to his code, the news articles load up rather slow(much after the sit...
does redirecting from grid using javascript increase performance in asp.net ...
Example code so I can start explaining this problem: <div style="z-index:5">5</div> <div style="z-index:2">2</div> <div style="z-index:1">1</div> <div style="z-index:4">4</div> <div style="z-index:3">3</div> (z-index values do not matter, and their order, even less. Just example code) Problem: I want to select (either using CSS or JS...
I have a problem with the jQuery Lavalamp plugin. It works perfectly with a single-level menu, but after adding a dropdown it gets a bit lost. Here's what I mean: http://screenr.com/0fS. Of course what I would like to achieve is for the lavalamp background to stay on the Portfolio item when the user hovers over the subitems. I guess i...
Hi all, I am looking for a Javascript calendar with support for drag-and-drop, extensive events model (drag, drop, deletion/adding of items). Also has to be capable of displaying a schedule for multiple persons. That'd be something similar to "Multiple Resources" view of http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml Fre...
Hi! I have a form validation routine in JS which cycles through elements of a the first form on the page. I read the size of the elements array like this: maxi=document.forms[0].elements.length; This works fine in IE returning 23. In FF it always returns 0 and no validation at all is performed. Any suggestions? Thanks! ...
I have HTML: <input type="text" id="text1" onBlur="focusMe(this.id);" /> and javascript function: function focusMe(Id) { document.getElementById(Id).focus(); } ...
There are several divs on my page with classes my_widget-2, my_widget-8, etc. What javascript or jQuery code can I use to get the number "2" (ie. the number that appends the first matching widget)? Thanks in advance for your input. Note: If I were to write this question again, I would change the order of these class names and ask for ...
i have to do a webapp where the user designs a diagram using javascript and then can export it to an xml (the connections between the boxes). is there anything available? ...
I am trying to detect a mouseover event on a circle. I define the circle div like this: .circle { width: 80px; height: 80px; -moz-border-radius: 40px; -webkit-border-radius: 40px; background-color: #33f; } Then I detect the mousover using jQuery like this: $('.circle').mouseover(function() { $(this).css({backgroundColor:...
I have a requirement in Javascript (using Prototype) to focus the cursor on the first form item within a specific div. Simple example: <form id="theForm"> <div id="part1"> <input id="aaa" .../> <select id="bbb">...</select> </div> <div id="part2"> <select id="ccc">...</select> <input id="ddd" .../> </div> </form...
Hi All, Is there a standard way or library to copy and paste from a spreasheet to a web form? When I select more than one cell from Excel I (obviously) lose the delimiter and all is pasted into one cell of the web form. Does it have to be done in VB? or could the processing be done once the paste action is started on the web form? Than...
function submitcheck() { var f = document.form1; if (f.rbTemplate!= null) { ... alert('Please choose template'); return false; ... } if (f.rbColorId!= null) { ... alert('Please choose template color'); return false; ... } } function ShowColor() { var f= document.form1; ...
I have some nested if statements with the following syntax: // Comment for condition 1 if(condition1 ,expression1 , // Comment for condition 2 if(condition2 ,expression2 ,else2)) The if statements do not conform to JavaScript syntax. They are written in a language which is "not publicly known, like a mix o...
Hello, I have a select box defined as shown below. I want to print out the name and email address of each item in the select box as comma seperated values, like Tom Wayne,[email protected] Joe Parker,[email protected] Peter Simons,[email protected] Any way to accomplish that using JQuery? <select multiple="multiple" name="search_results"> <option ...
What is the best way to use global variables in Javascript? Should I do document.x="this", document.y="that"? How will I avoid collisions in the long run? ...
Hi all, Quick question, and one I am yet to work out on my own. I'll start with an example. object = { somevariable: true, someothervariable:31, somefunction: function(input){ if (somevariable === true){ return someothervariable+input; } } } object.somefunction(3); Obviously this won't wor...