User Profile

Collapse

Profile Sidebar

Collapse
obarash
obarash
Last Activity: Nov 27 '07, 07:44 PM
Joined: Jan 23 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • obarash
    replied to register onclick problem
    i solved my problem!!

    I've set the <td> that contatins the button only the row id and just call deleteRow()

    in the deleteRow():
    var obj = event.srcElemen t;

    and then I use obj.parentNode. id

    and in the loop i just update the <td> id....
    See more | Go to post

    Leave a comment:


  • obarash
    replied to register onclick problem
    I can't use it my code is like this
    <tr>
    <td>
    <table>
    <tr>
    <td>
    <td>
    <td>button</td>
    <tr>
    </table>
    <td>
    <tr>

    I need it to stay as is my problem is relly in the 'this'
    in the loop that...
    See more | Go to post

    Leave a comment:


  • obarash
    replied to register onclick problem
    $ is prototype refernce.
    the implementation is very easy:

    function $(element){
    return document.getEle mentById(elemen t);
    }

    in the prototype libary there a simple validition if it is an obj...
    See more | Go to post

    Leave a comment:


  • obarash
    replied to register onclick problem
    Thanks I'll see if I can use it...
    See more | Go to post

    Leave a comment:


  • obarash
    replied to register onclick problem
    if I pass the obj itself how can i get the row ID?

    there is another way to add an onlick event?...
    See more | Go to post

    Leave a comment:


  • obarash
    replied to register onclick problem
    set onclick effect other onclicks

    setting onclick of one element happans to effect other elements onclick

    I'm adding and removing rows dynamicly,
    each row has it's id and remove button.

    when I removing a row i update all the next rows IDs
    and the onclick functino to call the deleteRow(rowID ) with the new ID.

    All next elements onclick function
    is calling the deleteRow...
    See more | Go to post

    Leave a comment:


  • obarash
    started a topic register onclick problem

    register onclick problem

    I ran into a strange problem:

    I'm adding and removing rows dynamicly,
    each row has it's id and remove button

    when I removing a row i go on all the next rows and update their ID
    I also need to update the delete row button.

    the problem is that the button has onclick="delete Row(rowId)"

    and when I remove a row and update all the next elements

    all of them...
    See more | Go to post

  • Thank you!

    I've tried the way you suggested and it works fine with my old asp code.

    Thanks
    See more | Go to post

    Leave a comment:


  • I thing it will cause a problem

    I'm writing the cookie with javascript but
    I read it in asp in the next form

    for each test in Request.Cookies ("testCookie ")

    with testCookie="tes t1=186,test2=14 0"
    I'll need to read all the cookie and split it by "," it is very simple
    but i'm trying to avoide of changing 3 different files
    See more | Go to post

    Leave a comment:


  • obarash
    started a topic setting advanced cookies with javascript

    setting advanced cookies with javascript

    I need to set a ParentCookie wich will include sub childern
    Example (in ASP):
    response.cookie s("testCookie") ("test1") = "186"
    response.cookie s("testCookie") ("test2") = "140"

    in this way i can pool all the test Cookies by accessing the testCookie
    and loop all the children

    How can i do it in javascript??
    See more | Go to post

  • obarash
    replied to text dosen't show
    I forgot to mantion that there is a Mask above the MC.

    so I create a text format


    [PHP]
    var tformat:TextFor mat = new TextFormat();
    tformat.bold = true;
    tformat.size = 12;
    tformat.font = "Arial";
    tformat.color = 0xFFFFFF;
    [/PHP]
    See more | Go to post

    Leave a comment:


  • obarash
    started a topic text dosen't show

    text dosen't show

    Hello,

    I'm creating an MC and inside a textfield by code, and I cant see the text inside.

    If i'll create the MC on the _root the text will appear but if I'll create it in another Mc it won't.

    The Problem is that I already done that in another part of the file and it works.

    waht can I do??
    See more | Go to post

  • obarash
    replied to ActionScript and Tweener
    I solve the problem.
    I added an onStartFunction that sets a flage to disable pressing the buttons.

    The oncomplete it self wasn't enough.

    Thank you i appreciate hte help.

    can you explain me how to delay a function?
    Sorry, but I didn't know there is a posbillity to do it, or you mean a timer?


    *sorry for the bad english :-)
    See more | Go to post

    Leave a comment:


  • obarash
    replied to ActionScript and Tweener
    Can you explain yourself please
    See more | Go to post

    Leave a comment:


  • obarash
    replied to ActionScript and Tweener
    First of all thank you,

    But I said that I have tried it all ready and it didn't work.

    Let me explain myself:
    I'm using the Tweener because I whant to move the object with an easeout.

    I don't know how to do it in code without the tweener because of the ease.

    In the Tweener there is a function that called onComplete so I have Tried to use it and set a flag when it done but it didn't...
    See more | Go to post

    Leave a comment:


  • obarash
    replied to ActionScript and Tweener
    Can't do it.

    I'm moving the list but I don't know the size of the list (It Is list of photos that I load from external folder), and when I got to the middle of the view I'm moving the pointer and not the list.

    I need to find a way to solve this problem, and I can't make the animation by myself and it's better to do the animation by code and not manualy by frames.

    so thank you but it don't help me so much....
    See more | Go to post

    Leave a comment:


  • obarash
    started a topic ActionScript and Tweener

    ActionScript and Tweener

    Hello,
    I'm using the Tweener Class.
    When I press a Button the list is sliding right and left (depends on the button I preeses).

    the Button is calling a function that use the following code:
    Tweener.addTwee n(this.list, {_x:list._x -(count * 60), time:0.8, transition:"eas eoutback"});

    My problem is when I press exactly before the tween is end, it starts a new tween and it end 10 pixels after...
    See more | Go to post

  • obarash
    replied to Div Follows page vertical scrollBar
    I solved the problem

    I'm using a function to find the positoin of the form in page

    Code:
    function findPos(obj){
        var curleft = curtop = 0;
        if (obj.offsetParent){
            curleft = obj.offsetLeft;
            curtop = obj.offsetTop;
            while (obj = obj.offsetParent){
                curleft += obj.offsetLeft;
                curtop += obj.offsetTop;
            }
    ...
    See more | Go to post
    Last edited by acoder; Feb 1 '07, 11:07 AM. Reason: Code in tags

    Leave a comment:


  • obarash
    replied to Div Follows page vertical scrollBar
    The script in that website need a first X position and Yposition.

    My problem is the X positoin,
    because some of the people use 800X600 resolution and others use 1024X768.
    Another problem is if the window is on fullscreen or not (because the site's align is to the center);

    what can I do?
    See more | Go to post

    Leave a comment:


  • obarash
    replied to Div Follows page vertical scrollBar
    thank you.

    How did you find it?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...