I want to write a script in PHP and javascript and somehow protect my source code so that I can sell my script.
I am looking for ideas how to protect my script. If I sell it to someone, how can I stop that person from redistributing it as their product?
I know there is ZEND and ionCube, but are there any other methods? As I don't like...
On the new Palm Pre everything is done via javascript etc. you can even use the camera and as I have heard play music. Is the second part also true for the desktop or is it a special webos/mojo feature?
...
Hey folks,
I have created server daemon, that produces some data, like messages and so. But, what im interested in - client monitoring. For example i have web page, and i need to establish persistent Tcp connection to server and show all incoming data into textbox. I know it can be done with flash, but im searching for JS implementation...
Can someone tell me how to do an animation like this:
http://dageniusmarketer.com/DigitalWonderland/Animation
inside my current site, which is
dageniusmarketer.com/DigitalWonderland/
I would like for the window where you see all the text content, to open and close as you go thru the navigation links to open up a new page (close the o...
I've just starting out developing using Feeds, and have so far used Google JavaScript Feed API to get RSS feeds into my web application.
I was wondering what other types of feed api are available for free consumption.
Also if you have any great feeds you would recommend (available through RSS or otherwise - including custom feeds), p...
Recently I have been reading more and more about people using custom attributes in their HTML tags, mainly for the purpose of embedding some extra bits of data for use in javascript code.
I was hoping to gather some feedback on whether or not using custom attributes is a good practice, and also what some alternatives are.
It seems like...
Hi All,
I'm currently developing a Rails app with 4 nested models (as per THIS POST). I've considered using javascript to manage them all on one page. It appears doable (as do many things in Rails), however, it doesn't come highly recommended.
That said, I'm looking to manage via proxy pages. Currently the model structure is as foll...
In Firefox it's possible using the following...
HTMLDocument.prototype.__defineGetter__("cookie",function (){return "foo=bar";});
HTMLDocument.prototype.__defineSetter__("cookie",function (){});
This doesn't cause any errors in WebKit, and WebKit definitely supports __defineGetter__ and __defineSetter__, but it doesn't work. Guessing ...
I would like to know how many web pages on the web are using JavaScript, in percentage.
The metric I'm looking is the number of pages having a <script type="text/javascript"> tag.
I'm pretty sure someone (like Google) did studies on that and publish the results !
The goal is to have an idea on how much JavaScript is widespread on the w...
hi there,
can anyone help, i am using the following for adding a bookmark to IE and firefox but its not working in CHROME and i don't get my error msg saying "not supported" either..
Anybody know of a good script to support ALL browsers or at least to come back and tell me its not supported, I have access to Jquery - maybe there is so...
Hi
Please have a look on the following code -
var abc_text = "Hello";
var def_text = "world";
function testMe(elem) {
var xyz = elem+"_text";
alert(xyz);
}
testMe("abc");
testMe("def");
I am trying to pass prefix to a function and the try to print some pre-defined values by concatenating. But the above example just prints ...
(Using the GUI builder)
Does anyone have any idea what this thing wants from the Html Help 2.x feature set?
It keeps throwing up "access is denied" errors in any non-local .chm file it generates, specifying the "ms-help://hx/hxruntime/hxlink.htc". Same error for a generated website. Let's not get into the fact that if I generate a .chm...
I'm trying to validate a multiline textbox control as follows:
My content page (I'm using master pages) contains a text box control with a custom validator:
<asp:TextBox ID="IssueDescription" TextMode="MultiLine"
Columns="40" Rows="5" runat="server" CssClass="textbox">
</asp:TextBox>
<asp:CustomValidator ID="IssueDescValid...
The init() is able to use the parameter passed to it in this example:
<body onload="init(this);">
testdOnChange() in this example uses a more complicated technique with XSLT generate-id():
<testd:test
testd_id="TESTD_ID_id0x03cc1988"
testd_on_load="testdOnChange(testdGetElementById('TESTD_ID_id0x03cc1988'));"
/>
Is t...
I have a jquery function ('rater') that I call this way:
<div id="someID"></div>
<script type="text/javascript">
$('#someID').rater({options});
</script>
I want to get the ID ('someID' in this case) so then I can use it inside the function as a variable.
Then I use it in something like this:
if (??? == 'someID') { do something ...
I have been using a noscript tag to show a warning when users have JavaScript disabled or are using script blocking plugins like Noscript. The website will not function properly if JavaScript is disabled and users may not figure out why it is not working without the warning.
After the latest Google algorithm shuffle, I have seen the dai...
I'm even stated surprised about jQuery's dumb way to put a hover attribute on an element. Take a look at this sample CSS:
div.test
{
width: 20px;
height: 20px;
color: #000000;
background: #FFFFFF;
}
div.test:hover
{
color: #FFFFFF;
background: #CC0000;
}
If we'd like to convert this to jQuery, we have to type the fol...
I've this simple form:
<form id="commentForm" method="POST" action="api/comment">
<input type="text" name="name" title="Your name"/>
<textarea cols="40" rows="10" name="comment" title="Enter a comment">
</textarea>
<input type="submit" value="Post"/>
<input type="reset" value="Reset"/>
</form>
I need to add two PO...
Hi
I have data
<tr id="row_1">
<td id="td_1_1">Text 1</td>
<td id="td_2_1">Text 2</td>
<td><a href="#" onclick="editRow(1)">Edit row</a></td>
</tr>
then in javascript
function editRow(row_id) {
//some ajax to retrieve html in the format
//<td><input type="text" name="td_1" value="Text 1"></td>
//<td><input type="text...
Hi, I'm very new to LiveCycle designer so this might be obvious. I'm fixing up a legacy PDF form that I don't have a lot of scope to replace with something better.
All I want to do is to read in a couple lines of a text file during the PDF's initialise event and use those to fill a couple of fields, but Adobe won't let me instance the f...