Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ericaalicen

    go to bottom of page after script

    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...
  2. ericaalicen

    loop and set multiple layers

    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>
  3. ericaalicen

    loop and set multiple layers

    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++)...
  4. ericaalicen

    load images dynamically from xml in loop

    And here's the xml. Thank you for the helphttp://demo.netsense.net/flashLoop/company.xml
  5. ericaalicen

    load images dynamically from xml in loop

    Attaching the .fla http://demo.netsense.net/flashLoop/test_4.fla
  6. ericaalicen

    load images dynamically from xml in loop

    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...
  7. ericaalicen

    Using webservice to pass xml

    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.
  8. ericaalicen

    Using webservice to pass 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...
  9. ericaalicen

    variable not updating with new cfset

    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...
  10. ericaalicen

    actionscript dynamic variable name in loop

    For anyone interested, this the working code: var nSquares:Number = 6; for(var i:Number = 1; i <= nSquares; i++) { trace(mcSquares["square"+i]); mcSquares["square"+i].ID = i; mcSquares["square"+i].onRollOver = function(): Void { mcSquares["square"+this.ID]._visible = false; }; }...
  11. ericaalicen

    actionscript dynamic variable name in loop

    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...
  12. ericaalicen

    Error passing dynamically generated layer name to stateChanged()

    This is the error I'm getting when passing the third variable: xmlHttp.readystate is null or not an object
  13. ericaalicen

    Error passing dynamically generated layer name to stateChanged()

    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...
  14. ericaalicen

    firefox loading anchor links above the div it's inside

    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...
  15. ericaalicen

    firefox loading anchor links above the div it's inside

    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/
  16. ericaalicen

    CALENDAR WITH WEEKS SELECTION

    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.
  17. ericaalicen

    evaluate a date

    You want to set a variable to the date Now() + 60 and then use that variable in your LTE comparison.
  18. ericaalicen

    Convert ASP with XML example to PHP with XML

    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...
  19. ericaalicen

    2 items remaining

    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...
  20. ericaalicen

    2 items remaining

    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.

Part and Inventory Search

Back
Top