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 gkittelson 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. victorsk

    Embedding files in XML

    Hi, Awesome! Thank you very much, my intuition was right. Thank you, Victor.
  2. victorsk

    Embedding files in XML

    Hi, Thank you for replying. I am completely clueless when it comes to XML - my use of it is very limited. Would you please clarify where I should put "file.svg" in this code? does it go in place of 'FOO' as <SVG>"file.svg"</SVG>??? Sorry, XML is completely new to me. Thank you, Victor.
  3. victorsk

    Embedding files in XML

    Hello, I am trying to figure out how to embed a file in XML document. I am actually working with SVG but it's XML-based and I am trying to embed SVG file in XML document. Could somebody please tell me how? Thank you, Victor.
  4. victorsk

    How to get a newline

    Hi Folks, I think the class I am looking for is CStdioFile. I'll give that one a try. Vic.
  5. victorsk

    How to get a newline

    Hello, I am working on a small procedure and it's giving me a headache. I have a file that consists exactly of the following info: Name1/ Name2/ Name3/ I am trying to read each name into a string and display it in a lisbox. Here is what I am doing: TRY { pFile = new...
  6. victorsk

    Interacting with Frames

    Sorry, one more thing, please ignore the way I am calling that function, my problem is inside the script with trying to create an svgobj object. Thank you, Victor.
  7. victorsk

    Interacting with Frames

    Hi, Well, no, that was just an example. Here is the actual code: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd"> <head xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <title>Northeast States - An SVG Example</title>...
  8. victorsk

    Interacting with Frames

    Hello, I was wondering how to make two frames interact with eachother. What I have is an SVG code in both files and I need to make one file trigger response in another. I know it has something to do with: var svgobj = parent.my_svg_frame.document.getElementByID(element); then use...
  9. victorsk

    Interacting with Frames

    Ooops, sorry folks this is a wrong forum section, I used the wrong bookmark
  10. victorsk

    Interacting with Frames

    Hello, I was wondering how to make two frames interact with eachother. What I have is an SVG code in both files and I need to make one file trigger response in another. I know it has something to do with: var svgobj = parent.my_svg_frame.document.getElementByID(element); then use...
  11. victorsk

    A very simple BHO

    Hello, I am trying to write a very simple BHO and this is my first time doing this. What I have so far is created an empty ATL DLL in VC++ 6. I now need to bind it to IE so that IE would be able to recognize my BHO. Does anybody have any advice? Thank you, Victor.
  12. victorsk

    How to make Plugins

    Hi Dan, Thanks for replying. Yes, I sort of got the impression after further research that this is the case. Thanks, Victor.
  13. victorsk

    How to make Plugins

    Hello, I am new to JavaScript and plugin-making process in general, I was wondering if somebody could tell me how to write a plugin something like Flash or SVGViewer. Thank you, Victor.
  14. victorsk

    Getting Browser's Dimensions

    Hello All, I figured out a way to make it work what had to by not using browser's dimension information. I guess this problem is rather SVG specific. Thank you, Victor.
  15. victorsk

    Getting Browser's Dimensions

    Hello, I am new to JavaScript and am working with SVG. I am trying to get the dimensions of a browser when it is minimized and maximized. What I have is: document.body.clientWidth document.body.clientHeight but I keep getting "document.body has no properties" error. What I have in terms...
  16. victorsk

    Very weird array problem

    Hi, Thank you very much for replying. Yes, you were right, I didn't have enough objects and that was the problem, my cursor size was 5 while I assigned values only to cursor[1] - It's been a looooong day :-) Thanks, Victor.
  17. victorsk

    Very weird array problem

    Hi, Thanks for replying. I am working with SVG and so I am trying to set the properties of an SVG image. I presume 'cursor' is a pointer to an SVG document image: In my Init(evt) { cursor[1] = svgDocument.getElementById("image_url0"); } So, here I am setting it to point(C++ term?) to an image...
  18. victorsk

    Very weird array problem

    Hello, I have a very strange problem. I've defined an global array 'cursor' like this: cursor = new Array(5); and then my function doSomething(evt, current) gets the value of 'current' and is supposed to access 'cursor[current].setAttribute()' BUT, for some reason, when I try to do that I...
  19. victorsk

    onmousedown and onmousemove

    Hi All, I found the solution. It is to use a global variable and assign a value to it when mouse is pressed and use that variable in the 'if' condition instead of 'evt.type'. I used a local variable for this purpose but it looks like only global works. Why? Beats me. Thanks, Victor.
  20. victorsk

    onmousedown and onmousemove

    Hi, Thanks for replying. Unfortunately this is a drag action so the image must be dragged when both mouse pressed and moved. Thanks, Victor.

Part and Inventory Search

Back
Top