User Profile

Collapse

Profile Sidebar

Collapse
raknin
raknin
Last Activity: Mar 11 '09, 06:29 AM
Joined: Oct 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • raknin
    replied to Ajax problem in firefox 3.0.5
    The change i did in the code

    The final function is as following:

    For synchronous mode:

    Code:
     
     function GetXmlHttpObject(divID,url)
     {
         xmlHttp=XmlHttpObject();
         if (xmlHttp==null)
         {
             alert("Your browser does not support AJAX!");
             return FALSE;
         }
        xmlHttp.onreadystatechange = function()
        {
    ...
    See more | Go to post

    Leave a comment:


  • raknin
    replied to Ajax problem in firefox 3.0.5
    Thanks Gits the problem was solved
    See more | Go to post

    Leave a comment:


  • raknin
    started a topic Ajax problem in firefox 3.0.5

    Ajax problem in firefox 3.0.5

    Hi,

    I had a strange problem with firefox ver 3.0.5 that doesn't occur in IE6, opera 9.63 nor in Safari 3.2.1 the problem is that when I call the function GetXmlHttpObjec t (The function is displays below) nothing is happening. The function should insert a listbox in a div. It works for me in the past in firefox 2.0 but now it was stop working.
    The error that I got is:

    document.getEle mentById(countr yLisboxID) is null...
    See more | Go to post

  • raknin
    replied to strange ajax behaviour in firefox 3.0.4
    Acoder,

    The function that perform the ajax call is:

    Code:
    function GetXmlHttpObject(divID,url)
    {
      xmlHttp=XmlHttpObject();
      
     if (xmlHttp==null)
     {
       alert("Your browser does not support AJAX!");
       return FALSE;
     }       
       xmlHttp.onreadystatechange = function() 
       {
         if (xmlHttp.readyState == 4 && xmlHttp.status==200)
    ...
    See more | Go to post

    Leave a comment:


  • raknin
    replied to strange ajax behaviour in firefox 3.0.4
    rnd me,
    Thanks for your reply, it works great but for some reason it stop for FF3.0.4. I think it some kind of security in FF issue that disable it from being showing, since I run my FF on the server, maybe it is the FF cross domain issue.
    See more | Go to post

    Leave a comment:


  • raknin
    started a topic strange ajax behaviour in firefox 3.0.4

    strange ajax behaviour in firefox 3.0.4

    Hi

    I am running ajax call to my appache local server on my development server, which is also my testing server, I run the site from the server (the server running php,mysql), what I get back is a list from the server and than I use innerHTML to plant it into the page.

    Code:
      select id="'modelName'" style="width:130">
    
                    <option value="none"  selected>none</option>
    ...
    See more | Go to post

  • raknin
    started a topic overide a table definition for link using CSS

    overide a table definition for link using CSS

    Hi,

    I have a table for which I defined a css rules like:
    Code:
    table#showBuddyHelpList a 
    {
    	text-decoration: none;
    	border-bottom: 1px dotted #f60;
    	color: #f60;
    	font-weight: bold;
    }
    
    table#showBuddyHelpList a:hover 
    {
    	text-decoration: none;
    	color: #fff;
    	background: #f60;
    }
    Now I have also inside the table an image...
    See more | Go to post

  • Thanks I find a solution.You can see it below. It keep the scrollbar at the bottom.

    simple and clean:

    Code:
    if (obj.scrollHeight > obj.offsetHeight)
     {
            obj.scrollTop = obj.scrollHeight - obj.offsetHeight;
    }
    See more | Go to post

    Leave a comment:


  • div Scrollbar jump upward evry time the div show a new value

    Hi,

    I wrote a chat like application in which I use a div to show what was written by each side. I am using the following CSS code:

    [HTML]
    .chatBody
    {
    border:1px solid black;
    background:whit e;
    width: 370px;
    height: 150px;
    position:relati ve;
    top:10px;
    left:10px;
    overflow-y: scroll;
    }
    [/HTML]

    every time a new value is enter...
    See more | Go to post

  • Hide ajax calls from tools like firebug and other

    Hi,

    is there anyway to hide my AJAXs calls to the server from tools like Firefox firebugs and others. Regular users can not see it by default, but users who use firebug and other related debugging tools can do. This expose the site to attacks.

    Any Ideas?
    See more | Go to post

  • Not really, I have another problem, maybe you know the solution. How can I detected which link was pressed in the unload function before jumping to this link.

    I have an unload function that doing some actions. I want this unload function to be be activated only if the link that we jump to is not in some links list.
    Any suggestions?...
    See more | Go to post

    Leave a comment:


  • Thanks acorder for you help.
    See more | Go to post

    Leave a comment:


  • It can be done if you run a cron job that sign-out users automatically after T minutes. You must keep in mind that the user can click the back button and never return to the site again this is also possibility....
    See more | Go to post

    Leave a comment:


  • Hi Acoder

    Nice to hear from you again. The reason that I need it is because i want to close some records in the DB that indicate when the user leave the site. I tried the onbeforeunload but it did not solve the problem when the user navigate to a new windows on opera or safari. This is why I need it.

    Another question can I have an event listener in the background that can catch key
    sroke like ALT+F4.
    ...
    See more | Go to post

    Leave a comment:


  • Detecting close button through X and ALT-F4 combination

    Hi,

    I want to detect when the user close a window through the X button or ALT-F4 or
    when the user go to another page and leave my page. I try to use the onuload and on unloadbeore
    but it works on ie 6 and Firefox 2 and it doesn't work on Safari 3.03 and Opera 9.2, it is also doesn't solve the problem when the user navigate to another page through the same windows, Any Ideas?

    ...
    See more | Go to post

  • raknin
    replied to Using match to serach a sting with *
    Thanks for you help, it works
    See more | Go to post

    Leave a comment:


  • raknin
    started a topic Using match to serach a sting with *

    Using match to serach a sting with *

    Hi,

    Is there any way using mysql to serach a values in a string where I don't care what is in between, for example:

    I have a row which contains the following string in the foloowing format


    row contents: xx:yy:*:zz;xx:y y:*:zz;xx:yy:*: zz

    Now I want to serach the row for xx:yy:*:zz so I don't care what is between
    the yy and the zz is there any way to do it?
    See more | Go to post

  • Hi,

    This is what I thought. but I was not sure.

    Thanks
    ronen
    See more | Go to post

    Leave a comment:


  • Reverse ajax call with javascript server initiative

    Hi,

    I am looking for a mechanisim (Actualy already written packege) in which each time an event occure in the server the client browser will be announce without the need to poll the server every T second. This will reduce the server load. If anyone can recomemd about such exist package.

    Thanks
    Ronen
    See more | Go to post

  • raknin
    replied to Finding expression between two words
    Thanks, thata what I was looking for...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...