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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bananasbananas

  1. bananasbananas

    Using namespace in XPath query in ASP.net 2

    I'm trying to use the following query : //esd:ControlledList/esd:Item[@Id='1'] but it doesn't work. I'm a noob in XML so it might be my query is wrong. I've read I can use something like this: //[local-name()='ControlledList' and...
  2. bananasbananas

    XSL code not putting my nodes where i want

    hello, thankyou for your help, but I have sussed the code. <xsl:template match="esd:ItemsHierarchy"> <TREENODES> <xsl:apply-templates select="esd:Item"> <xsl:sort select="esd:Name"/> </xsl:apply-templates> </TREENODES> </xsl:template> <xsl:template...
  3. bananasbananas

    XSL code not putting my nodes where i want

    Fraid not, but maybe I didn't provide a good enough example of the XML i'm using. Here is the full file: http://www.esd.org.uk/standards/lgbcl/1.00/lgbclhierarchy.xml And this is how I implimented your code: <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0"...
  4. bananasbananas

    XSL code not putting my nodes where i want

    Thankyou that produces the following: TREENODES - Item -- NItem -- NItem -- NItem -- NItem -- NItem (it only shows data for 1 Item) Its close but I need to show data for all Items: TREENODES - Item -- NItem -- NItem -- NItem -- NItem - Item -- NItem -- NItem -- NItem - Item -- NItem -- NItem...
  5. bananasbananas

    XSL code not putting my nodes where i want

    how do i get the following structure for my Treeview: TREENODES - Item -- NItem -- NItem - Item -- NItem - Item -- NItem -- NItem etc sample of MY XML: <ItemsHierarchy> - <Item ConceptId="0"> -- <Name>Business</Name> -- <NarrowerItems> --- <Item ConceptId = "238"> --- <Name>Abattoir</Name>...
  6. bananasbananas

    How to load different images as i zoom in and pan.

    Currently, I have set up an XML file to pull seperate swf files (the postcode areas) into a main swf file (the entire map). I am tryign to intergrate zoom and pan functions along with a minimap- its a huge task , and i'm rubbish at actionscript ! I'm slowly getting there by altering someone...
  7. bananasbananas

    How to load different images as i zoom in and pan.

    I know how to use XML , would that be the way to go?
  8. bananasbananas

    How to load different images as i zoom in and pan.

    Helo, I'm creating a map in flash, with a jpg ordinance survey map as the background to show the roads etc. Can I split this huge image into smaller pieces and load them only when the user is viewing that area or near to it? And can i load different images as the user zooms in ? thanks.
  9. bananasbananas

    Modified Photogallery script with XML, buttons not functioning.

    Helloo, I'm having trouble with a photogallery script i've modified to display multiple SWF files together in one file. ------------------- myPhoto = new XML(); myPhoto.ignoreWhite = true; myPhoto.onLoad = function(success) { //portfolioTag = this.firstChild; numimages =...
  10. bananasbananas

    Passing a variable from Flash into an ASP.net MultiView, how?

    OK right so if I go ahead and write some ASP code that activates the view and then performs your javascript code, i assume this would work. "My code requires you to pass the variable for the number (I assume you are doing this)." Sorry I'm not sure I understand you, I am currently just using...
  11. bananasbananas

    Passing a variable from Flash into an ASP.net MultiView, how?

    Gotta mention the variations on the code I tried: My Multiview = Main_View My View I want to display result in = View3 Div in View3 = View3Div ----- your code: target = document.getElementById('view'+ i +'Div'); Variations I tried: target = document.getElementById('Main_View.View3.View3Div')...
  12. bananasbananas

    Passing a variable from Flash into an ASP.net MultiView, how?

    thanks for that , I have only just got back onto this project - i'm overloaded with work, I'd love to get that functioning so I can move on! I changed the flash code on the button, and I created a Div in View 3 and added the code to the beginning of the page. Now when the user clicks on the...
  13. bananasbananas

    Passing a variable from Flash into an ASP.net MultiView, how?

    I also tinkered with the Flash code and altered the "default.aspx" to "default.aspx?var1=" Since I don't know if your code tells it to do that anyway.
  14. bananasbananas

    Passing a variable from Flash into an ASP.net MultiView, how?

    K well this is my code so far: --------------- Sub Page_Load(ByVal Src As Object, ByVal Args As CommandEventArgs) Dim correctVar As String = Request("var1") If correctVar = "B2" Then Select Case (Args.CommandName) Case "View1"...
  15. bananasbananas

    Passing a variable from Flash into an ASP.net MultiView, how?

    Good stuff pixl8r that got the Flash code working. It looks for the page when i click the button, problem is, as you guessed, it isnt passing the variable to the asp:View object. I'm using VWD 2005 Express If you come up with any ideas don't hesitate to tell me! I'll try fidling with the code...

Part and Inventory Search

Back
Top