I have a "check all" link at the bottom of a long page. When you click it, you're returned to the top of the page. I need to return the user to the bottom of the page once the script has run, and I've tried a number of different ways of doing this from examples online to no avail. Can anyone...
Thanks that helped. Here's the working code:
<script type="text/javascript">
function expandAll(lyrcount)
{
for (i=1; i < lyrcount; i++)
{
var hideRow = "lyr" + i
document.getElementById(hideRow).style.display = "block";
}
}
</script>
I have a script that is used to hide and show layers that works fine. Now the client wants an option to expand all layers at once and I can't seem to get the syntax right.
<script type="text/javascript">
function expandAll(list)
{
var mycount = "#mycount#"
for (i=0; i < mycount; i++)...
I'm attempting to load some images into flash from xml. I'm attempting to loop through the xml and load the images, and set rollover, rollout, and onclick actions. I'm having trouble with the syntax. The rollover works, but the rollout doesn't. I have the images loading statically outside of the...
I figured this out. It took awhile. Seems ColdFusion treats type="xml" as xml text not an xml object. I had to pass the xml as type="string" to be able to parse the xml.
I'm using cfinvoke to pass an xml structure to a cfc. This seems to work fine if I use cfdump to output the XML. But when I try to parse the XML, I get an error "An error occured while Parsing an XML document."
At the moment, I'm creating and parsing my own XML data. And the code I use to...
I'm wondering here about where you're communcating the value of sHeaderMessage. I see it being set initially and then possibly changed in two if statements, but I don't see it being output. Are you doing that in the included "/textbooks/header.cfm"? If so, that's your problem. It's already...
I'm having an issue looping through and accessing variable names dynamically in actionscript.
This code to call one directly works.
mcSquares.square1.onRollOver = function(): Void {
mcSquares.square1._visible = false;
};
When I put the code in the loop and try to make it work for...
I am a newbie to Ajax. I modified the script below to use 3 variables instead of 1. The first two I have managed to successfully append to the url of the page being called in the script. The third variable I need to pass from showParts() to stateChanged() but when I try to pass it it gives me a...
Vragabond,
Thanks this helped. The links are now where they should be. But the line-height does not work in FF either. In IE it works fine, but FF is showing the boxes as the height of the letters. I have the height specified too. So I'm not sure how I'm supposed to make this work in FF. I...
I've been working on this for hours. The layout is fine in IE but the navigation loads about 10px higher in Firefox. Any suggestions?
http://demo.netsense.net/broadreach/
Not exactly, but I always find it easier to work with an actual date. I'd suggest giving the user a list "Display the week of: whatever the first date of the week is". You could do this by starting with the first date and adding 7 going through a loop up to however far ahead you want to go.
I'm in way over my head. I code in coldfusion and have had a project dropped in my lap that requires me to send an xmlRequest in PHP and the example code I've been given is in ASP. This is the sample code, I've changed the url for privacy protection.
<%@ Language=vbScript%>
<%
Dim xmlRequest...
Yes, there are 2 swf files. And the status bar would continue to read "x items remaining" in IE regardless if you refreshed or not. I have managed to resolve the problem. I used javascript from http://blog.deconcept.com/swfobject/ to call the flash instead of using the code generated by...
This is the code created when I published the flash file. I tried changing it to "0014" to no avail. The only modification I've made is to move the flash file to a directory called "flash" and I changed the "value" and "src" in the code to add the directory.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.