Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About prichardson

  • Rank
  1. Hi,LATEST UPDATE:I've tried branch and a couple others that are on the same path and they work ok! It's just not working when i put the ID in. If the code is correct as it pulls in anything else and I've got your piece of code in that you suggested. What could it be?----------------------------------------------------------------------------------------------------------------------------------The number of beds - you can see it's the last item in the code snippet (might not be very clear, sorry). It lies in 1 additional layer to the id. i.e. ...The path for the id = aspasia_data/houses/proper
  2. Hi,I've got website that runs fine by displaying all the properties from a 3rd party xml data. I want to now just list the individual property that matches the property id. My problem is that when i try to get it to appear like this - i dont get any result. (funny enough if i changed it from property id to lets say number of beds - it works, so i'm a little bit confused.This first bit of code is a snippet of my classic asp cod e page that connects and sends over the url... <%strSearch = 3624Set xmldoc = Server.CreateObject("Msxml2.FreeThreadedDOMDocument.3.0")xmldoc.async = falsexmlDoc.set
  3. Is it possible to get this code to work. Trying to page. Here is a snippet of the code for the previous button. ' From the current record find the record with lower ID 'IF strFirst < strCurrent THEN do until rsNewsNav.Fields("NewsID") > strCurrent rsNewsNav.MovePrevious() loop strPrevious = rsNewsNav.Fields("NewsID")ELSE strPrevious = strFirstEND IF So when you click on the button it gets the next one by doing a loop.The error that is gives is:do until rsNewsNav.Fields("NewsID") > strCurrentI am not sure if we are able to use this " rsNewsNav.Fields("NewsID") " i
  4. Thanks for the code. I tried replacing that bit of code with what you gave. But still get the error in IE.I was wondering if it or something in this bit of code could be adjusted?Or maybe i am running out of ideas to why this wont work in IE? if(this.options.orientation!='horizontal') this.tab_overflow.setStyle('float','left'); this.bodies.each(function(el,i){ el.injectInside(this.tab_body_container); }.bind(this));
  5. Hi, Cheers for your quick response.Yeah i tried contacting the author. No response yet.I looked on their forum - http://forum.mootools.net/viewtopic.php?pid=37793 and tried looking at their known bugs. I also looked up it in google too and thats where i found that help.That person saying that IE you have to code the text for style float in a particular way. It says like a do-able thing - just i know idea how to try to use it in MooTools code.Do you think it is possible to do it in Mootools code? Or would it be best to move on and find another piece of code? Any ideas or suggest some code that
  6. Hello,I've had a go at using this ajax/javascript code: http://people.cs.uchicago.edu/~meweltman/sliding_tabs.html It works well in Firefox but not in IE.It gives this error: "Could not get the StyleFloat property".I have had a look into it and found this article good as i think it maybe the answer to the IE problem: http://radio.javaranch.com/gthought/2007/0...9239538983.html " element.style.styleFloat "However I am not sure how to implement it in the code. (The js code is in the "source-code" tab in "http://people.cs.uchicago.edu/~meweltman/sliding_tabs.html ")My understanding is that the I
  7. Hello,I have setup a property list which displays in lowest price to high price property as the default. I would like to change it, so the most expensive property is shown first.Here is the link to the website http://www.oliverfinn.com/pages/properties...F0207B0A16964DECan anyone please just mention the piece of code that I need to add or change to make the xslt /classic asp page display the most expensive property first.My guess is it might be in this bit of code? <xsl:when test="xyz/xyz/property/address/property_location"> <xsl:for-each select="xyz/xyz/property"> Thanks
  8. Thanks for your reply!I have tried removing the @sign with no luck.I tried removing all the parameters from the SP and passed just the @Blog_01ID which was successful. I tried it for all the parameters and finally only the E-mail function gives me this error. As I mentioned earlier, the @Blog_01ID is NOT an autonumber variable, the autonumber in the corresponding table i'm inserting is the Blog's COMMENTS table. The @Blog_01ID is just there to identify which blog the comment refers to.I will keep trying, thanks for your help, and if anyone else knows extensive info on this problem, or help me
  9. CommentID is the primary key/autonumberHOWEVER Blog_01ID is NOT an autonumber, it is a foreign key from another table, and an IntegerI'm still getting an error, cudnt' fix,Do you think it has something to do with the '@' sign in the E-mail and the '@' in the parameter name clashing or something :S i'm so confused ....Trying to prevent my site from SQL Injection ... so re-writing all the sql code with stored procedures.
  10. Hi! I wrote a simple stored procedure to add a few fields into a MsSQL table: INSERT INTO dbo.xyz769_Blog_01_Comments (Blog_01ID, Blog_01_Title, Username, Comment_Content, Email)VALUES (@Blog_01ID, @Blog_01_Title, @Username, @Comment_Content, @Email) But whenever i try to insert data thru an ASP page i get the following error: Microsoft OLE DB Provider for SQL Server error '80040e07'Error converting data type varchar to int./anti_sql/pages/blog_01/blog_item.asp, line 73 Line 73 on blog_item.asp is just my execution statement which is the following: rsEnterRecord_cmd.Execute I test
  11. Found the answer .... http://www.ecodebank.com/details/?catid=6&...=54&nid=493
  12. HelloI Have a recordset that gets the content from the database, but I only want to display a certain number of characters on the page.I can do this, but my problem is when it cuts a word in half!! Can I adapt this code to say if it is not a space then add (+1) the number until equals space? Or if anyone can offer a different line that would do the trick? strReviewContent = Left(strReviewContent,100) I tried using if statement with these functions but no luck!http://www.w3schools.com/vbscript/func_space.asphttp://www.w3schools.com/vbscript/func_len.aspMany Thanks
  13. Hi boen_robot Thanks - since getting the cdata off - and i released that i had to add a bit more onto the path to the tag for it to work - <xsl:value-of select="property_summary/custom_element/element[@description = 'Testimonial']"/>this works now for one of the properties. But for some reason one of the properties seems to not display on the page (the one which i showed the property in the last post. I just can't work out why that is not displaying now - even though it is in the xml sheet???cheers
  14. Here is a property ... - <property id="2805" prevref="" last_updated="09/11/2007 09:26"> <id>2805</id> <department>RL</department> <branch>HO</branch> - <address> <address1>12 Albany Road</address1> <town>Brentford</town> <county>Middlesex</county> <postcode>TW8 0NF</postcode> <property_location>Brentford</property_location> <display_address>Albany Road, TW8</display_address> </address>- <custom_element> <element description="Testimonial">
  • Create New...