User Profile

Collapse

Profile Sidebar

Collapse
dreamfalcon
dreamfalcon
Last Activity: Jan 29 '09, 03:19 PM
Joined: Oct 12 '07
Location: Portugal
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Problem with Tips and select field in Mootools

    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
    See more | Go to post

  • dreamfalcon
    replied to Running application after installation
    in .NET
    It works.
    Many thx :)...
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    replied to Running application after installation
    in .NET
    Please, anyone?
    i'm stuck at this
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    started a topic Running application after installation
    in .NET

    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
    ...
    See more | Go to post

  • dreamfalcon
    replied to Rijndael Encryption
    in PHP
    found it

    http://programmin.prim 8.net/archives/25-PHP-and-DotNet-encryption.html

    :)
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    started a topic Rijndael Encryption
    in PHP

    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
    See more | Go to post

  • dreamfalcon
    replied to Edit table cells
    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...
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    replied to Edit table cells
    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');
    ...
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    started a topic Edit table cells

    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?
    ...
    See more | Go to post

  • dreamfalcon
    replied to object and functions
    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();
    		});
          }
    
    }
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    replied to object and functions
    "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.
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    replied to object and functions
    "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?...
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    replied to object and functions
    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",
    ...
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    started a topic object and functions

    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())
    ...
    See more | Go to post

  • dreamfalcon
    replied to read and write local text files
    I already tried, gives as error of permission denied in
    "netscape.secur ity.PrivilegeMa nager.enablePri vilege("Univers alXPConnect");"...
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    replied to read and write local text files
    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 !?

    Thx
    See more | Go to post

    Leave a comment:


  • dreamfalcon
    started a topic read and write local text files

    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....
    See more | Go to post

  • 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...
    See more | Go to post

    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");...
    See more | Go to post
    Last edited by gits; Oct 15 '07, 10:47 AM. Reason: added code tags

    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",...
    See more | Go to post
    Last edited by gits; Oct 15 '07, 10:43 AM. Reason: added code tags
No activity results to display
Show More
Working...