Hi,
I'm using Mootools Tips Class in <option> elements, but it appears to have a bug.
After the tip appear if I move the mouse to the right, over the scroll bar of the Select field, the tip doesn't disappear.
An example: testing
Can anyone help me?
Thanks
P.S. I'm only using Firefox
User Profile
Collapse
-
Problem with Tips and select field in Mootools
-
It works.
Many thx :)... -
-
Running application after installation
Hi!
I created a service, a windows form and a setup project in VB.NET.
And after install I need the installation directory to do something like this:
...Code:Private Sub ServiceProcessInstaller1_AfterInstall(ByVal sender As System.Object, ByVal e As System.Configuration.Install.InstallEventArgs) Handles ServiceProcessInstaller1.AfterInstall Dim path As String = Me.TARGETDIR 'not -
found it
http://programmin.prim 8.net/archives/25-PHP-and-DotNet-encryption.html
:)Leave a comment:
-
Rijndael Encryption
Hi!
I'm using this script in VB.NET to encrypt in 128 Bits using Rijndael encryption:
http://www.freevbcode. com/ShowCode.Asp?ID =4520
And need something in PHP to decrypt the strings that are generated by VB.
I tried several functions that I found in the internet, but all with different results.
Can anyone help me?
Thx -
Just ideas, if anyone has done or seem some better code to accomplish this.
For a example, a way so the textarea grows automatically.
Can mootools help?
Thx...Leave a comment:
-
What I have done so far:
...Code:[B]PHP:[/B] echo "<td class=\"editable\" ONDBLCLICK=\"editCell(this,'".$tabId."')\">".$value."</td>"; [B]Javascript: [/B] function editCell (cell,tabId) { var myElement = $(tabId); if (true) { //some checking to be done in database var input = document.createElement('TEXTAREA');Leave a comment:
-
Edit table cells
Hi!
I'm looking for a method to edit table cells.
Something similar to Google Docs, that when the user double clicks the cell, it replaces the content with a textbox that grows automatically, and when the user press Enter or clicks out of the cell, it closes and save the modifications.
<td class="editable " ONDBLCLICK="edi tCell(this)">va lue</td>
Any ideas?
... -
SOLVED
-> var me=this;
Code:function Map(){ this.xml; var me=this; ... this.getCells = function(){ GDownloadUrl("request.php?script=genxml.php", function (data){ me.xml = GXml.parse(data); me.redraw(); }); } }Leave a comment:
-
"In JavaScript this always refers to the “owner” of the function..."
In my case the “owner” becomes GDownloadUrl.
After a google search i think that this is called "Higher order functions", but no ideas how to solve this.Leave a comment:
-
"this.redra w is not a function"
Yes, same error :(
Maybe because is a function inside a function, it doesn't recognize as the same object?...Leave a comment:
-
sorry, copy paste error :D
...Code:function Map(){ this.xml; this.loadMap = function (tabId){ this.myElement = $(tabId); if (GBrowserIsCompatible()) { this.map = new GMap2(this.myElement.getElementsByClassName("googlemap")[0]); ... this.getCells(tabId); } } this.getCells = function(){ GDownloadUrl("request.php?script=genxml.php",Leave a comment:
-
object and functions
Hi
I had some variables and functions to work with google maps, that are working great, but i needed to have more than one map in the same page, and was using different names to each variable, like xml1, xml2. But decided to use a object to group all variables and functions.
...Code:function Map(){ this.xml; this.loadMap = function (tabId){ this.myElement = $(tabId); if (GBrowserIsCompatible()) -
I already tried, gives as error of permission denied in
"netscape.secur ity.PrivilegeMa nager.enablePri vilege("Univers alXPConnect");"...Leave a comment:
-
That's a bummer :(
But ok, now the question is how to upload using ajax?
I think I've done it in the pass, but I cant remember how.
I have to use a iframe !?
ThxLeave a comment:
-
read and write local text files
Hi!
I need to read and write the content of a text file given by the users.
The idea is to have two options.
Read:
-the user selects a file with a <input type="file">
-using javascript, read the content of the file and process it.
Write:
-build a string and display a "Save as dialog" to save to a text file
I just need it to work in Firefox.... -
the url is not the same, just the string that is passed by the POST method, I use diferent PHP scripts.
I have the url of the script, but I don’t know how to pass the string for the script without using Ajax. The string is build using javascript.
Where I pass the string to the PHP script with the POST method? I can’t use GET
I didn’t show...Leave a comment:
-
The server scripts are different. One for the tables that are displayed, and one for the excel file, both process the same string, but with different results.
I tried:
[CODE=javascript]
xmlHttpExcel.op en('POST', url, true);
//...
document.getEle mentById('downl oadFile').src=x mlHttpExcel.res ponseText;
[/CODE]
and in the excel.php:
[CODE=php]
$hoje=date("Y_m _j");...Leave a comment:
-
Open a new window with POST method to download a file
Hi!
I have an AJAX function that send’s a string by the post method and display the result in the same page:
[CODE=javascript]
xmlHttp.onready statechange = stateChanged;
xmlHttp.open('P OST', url, true);
xmlHttp.setRequ estHeader("Cont ent-type", "applicatio n/x-www-form-urlencoded");
xmlHttp.setRequ estHeader("Cont ent-length", parameters.leng th);
xmlHttp.setRequ estHeader("Conn ection",...
No activity results to display
Show More
Leave a comment: