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
User Profile
Collapse
-
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)
(this is AS3)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;
DanLeave a comment:
-
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?
DanLeave a comment:
-
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?
DanLeave a comment:
-
Also if you use XMLHttpRequest you later can remove all the hidden inputs from code.
DanLeave 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();
...Leave a comment:
-
jad2006, did you found a solution? I can think of some other ways using AJAX ..
DanLeave a comment:
-
danielalrease, the problem is quite simple. You say:
and againCode:<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">
...Code:<param name="movie" value="[B]flash\sl_show.swf[/B]"> <object
Leave a comment:
-
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...)
DanLeave a comment:
-
See also:
http://www.brothersoft .com/downloads/xml-to-pdf.htmlLeave a comment:
-
Not tested, maybe will help:
http://www.stylusstudi o.com/xml/report.html
http://www.corda.com/lpage/xml_to_pdf.html
DanLeave a comment:
-
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>...Leave a comment:
-
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);Leave a comment:
No activity results to display
Show More
Leave a comment: