User Profile

Collapse

Profile Sidebar

Collapse
dangroza
dangroza
Last Activity: Dec 19 '07, 12:48 PM
Joined: Dec 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dangroza
    replied to Value as a hyperlink
    in XML
    Hello talky,

    you can simply apply a style to your xml file (see XSL on w3schools.com for this) and the page can be formatted as you like it. If need extra help, please ask.
    (see the xsl:variable for that)

    Dan
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to rotate circle by dragging
    Hello simlx11. You can create a handler for the enter frame event where to add this:
    (you attach the handler when the mouse is down and detach it when up)

    Code:
    var dx:Number = mouseX - circle.x;
    var dy:Number = mouseY - circle.y;
    var radians:Number = Math.atan2(dy, dx);
    circle.rotation = radians * 180 / Math.PI;
    (this is AS3)

    Dan
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to Iframe content change detection
    I see Dasty already replied to that. Other methods that I can think of (using AJAX) require some extra coding on both websites that you display(I consider this important as a measure of security on a website - client side scripting can create vulnerabilities on your website).

    jad2006, can you tell more about the content you are showing in this pages?

    Dan
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to Iframe content change detection
    Hello jad2006,
    I thought using that method also, but what I get on both Firefox and IE(the browsers that I usually test on) is the following exception:
    "Permission denied to get property HTMLDocument.ge tElementsByTagN ame" when trying to get content from iFrame.
    Am I missing something?

    Dan
    See more | Go to post

    Leave a comment:


  • Also if you use XMLHttpRequest you later can remove all the hidden inputs from code.

    Dan
    See more | Go to post

    Leave a comment:


  • I hope this helps:

    [HTML]function sendData() {
    var form = document.getEle mentById('myFor m');
    inputNode = document.create Element("input" );
    inputNode.type = "hidden";
    inputNode.name = "hiddenKey" ;
    inputNode.value = document.getEle mentById('key') .innerHTML;
    form.appendChil d(inputNode);
    document.myForm .submit();
    ...
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to Iframe content change detection
    jad2006, did you found a solution? I can think of some other ways using AJAX ..

    Dan
    See more | Go to post

    Leave a comment:


  • danielalrease, the problem is quite simple. You say:

    Code:
    	<param name="movie" value="[B]flash\menu.swf[/B]?button=1">  ... 
    and 	<object data="[B]flash\menu.swf[/B]?button=1" width="100%" height="118" type="application/x-shockwave-flash">
    and again

    Code:
    <param name="movie" value="[B]flash\sl_show.swf[/B]"> 
    <object
    ...
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to Image won't Load
    in XML
    Can you give more details?
    How do you store files on your local machine and on your server?

    The folder structure is important, relative paths also, image name(careful with the capital letters...)

    Dan
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to xml to pdf
    in XML
    See also:

    http://www.brothersoft .com/downloads/xml-to-pdf.html
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to xml to pdf
    in XML
    Not tested, maybe will help:

    http://www.stylusstudi o.com/xml/report.html

    http://www.corda.com/lpage/xml_to_pdf.html


    Dan
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to Usage of Submit button
    It will submit the form on the first submit request, which is in the function. If you want to make only that call functional, use the "return false;" in the onClick handler, just after the function call:
    [HTML]<html>
    <head>
    <script type="text/javascript">
    function submitForm(){
    document.myForm .submit();
    }
    </script>
    </head>
    <body>...
    See more | Go to post

    Leave a comment:


  • dangroza
    replied to document.write
    Hello!

    Yes, as acoder suggested, you should use the id property of the element and use document.getEle mentById() to select that element, instead of name tag. But this can also be done using document.getEle mentsByName which returns an array of elements(in our case we will have only value in the array). So, your function should look like this:
    Code:
    function insertmenu(text){
    	var object = document.getElementsByName(text);
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...