Jump to content

Kosher Kid

  • Posts

  • Joined

  • Last visited

Everything posted by Kosher Kid

  1. perhaps i'm doing something wrong...i cut and pasted scott's code, created an html file and opened it in both firefox and ie. in both cases, i was able to right click and choose save image as.what's the dealio?
  2. what browser are you trying it in? i fixed all of the quotes and have opened it in both firefox and ie with no problem.however, no matter what i enter, whenever i click the submit button, i always get a message box that says "undefined".any idea as to what's up?
  3. nice catch...i kept looking right at it and couldn't see it...i assume you noticed that the same error was repeated 4 more times.now i have a question...in the first line that generated the error, the quotes were handled correctly: '="'however, in the other lines, they appearned not to be: "=\"".yet, when i fixed the + omission errors, the code ran fine.how come?
  4. You are correct. Semi-colons are required for multiple statements on one line but not much else.Personally, I find it makes the code more readable and since other things, like CSS files require them, I find it is just a good habit to be in.Ultimately I was just trying to give the original question from Hybrid a more complete answer than he was getting...now he probably overwhelmed!
  5. Sorry that i cannot answer your question regarding SOAP in action as I am still learning much about SOAP myself; however, it may be possible to include something in your response to the child query which would provide information as the to soure of the data. Probably worth investigating.
  6. quite right, but in my experience js files are primarily used to contain functions that can be used by multiple html files.
  7. I've been reading through this discussion and it seems to me that the web services suggestion completely solves your problem. If the child sites are getting their data through SOAP queries/responses, the data does not live on them; they only present it. It lives only on the parent, therefore, search engines would only see the data on the parent, or am I missing something?
  8. Actually, I don't think any of your answers have been complete enough.A javascript file consists of functions which are then called from an html file. It is a plain text file that is saved with a .js extension.It is correct that no <script></script> tags are needed but function declarations are:function DoSomething() { statement; statement;}function DoSomethingElse (parameter) { statementuse (parameter);}etc...Each function must have the opening and closing brackets and each line should end with a ;
  9. if you look at my original post on this topic, you'll see that that is the link i cited as the source for my attempt.of course, i tried executing the code as it was specified...it didn't work. i even tried some variations on it, such as not trying to pass the resize data as a variable but giving it explicitely; i also tried to avoid creating a window handle by simply stating self.resizeTo but nothing worked. i've been looking around on the web and at microsoft's msdn site and am beginning to suspect that once a window is specified as full screen, that's it...it cannot be resized by code. but i'm hoping you wise and experienced gurus may know something i don't.
  10. no...I am trying to get a window to display without a title bar. The trick I picked up from the website cited in my initial post said to create a window fullscreen and then resize it.I have no problem creating a full screen window with no title bar...the problem is, that once that window is created, I cannot get it to resize to the size I actually want.
  11. yes, this code does work but a title bar displays...the goal is to create a popup window without a title bar...see the first parts of this topic.
  12. tried it; didn't help. i'm working with ie 6.0 with sp1 installed if that provides any useful information.
  13. Like many others, I seek to open a window without a title bar. In this case, I want to use it as a popup topic that can display html content (specifically animations illustrating how to accomplish specific tasks).I came across an article on the web which claims this can be done:http://www.htmlgoodies.com/beyond/javascri...cle.php/3471181here is the code I'm using:function OpenPopup(htmlfile){//show an html file in a popup window window.open(htmlfile, "myWin", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,fullscreen=yes"); window.event.cancelBubble=true; window.event.returnValue=false;}then in the html file:<script type=text/javascript>self.resizeTo(424,553)</script>also, included in the body tag is: style="overflow:hidden"The OpenPopup code works in that it opens a fullscreen window with no title bar, scroll bars, etc. in windows explorer (nothing I've found will do this in firefox).The problem is that no matter what I try, I cannot get the window to resize.Any thoughts?
  14. After much teeth gnashing, chest pounding and head banging, I've come to the conclusion that what I was trying to do simply will not work within a .chm file. I fixed all of the parsing problems and everything else and it still did not do what I hoped.I know the code is good but it appears that within a compiled help file, certain things just cannot be done.My thanks to Chocolate570 and all others who offered suggestions.I've decided to drop back 15 yards and punt!
  15. I appreciate the suggestions but perhaps I am not being clear.This is not a web-related problem as the .chm file and the access application it supports will be installed on the user's local hard drive.I have no control over where these files will be installed. That's why I'm using JavaScript to determine their location.However, I am getting two problems...One is that I am getting different path results from the uncompiled html file versus the compiled chm file. I am using location.pathname to determine the path: The uncompiled htm file returns: /c:\clients\... The compiled chm file returns: @MSITStore:C:%5CClients%5C...The second is that the javascript return is showing spaces as %20 in the uncompiled htm file, and it is showing slashes as %5C and spaces as %20 in the compiled chm file.That would mean trying to parse for these characters and replacing them with the appropriate slash or space. But I am concerned whether these will really work since I am getting inconsistent results from location.pathname.Also, as best as I can tell from Microsoft, neither of these returns is what I should be seeing.I hope I've clarified my difficulty.
  16. I am trying to dynamically set the pointer to the css file based on where the help system is installed since that is something the user will control for this system. I've written the following code and it should work but doesn't. Also, I get different behaviors between the html file and the compiled chm help.The html file yields the result: <link rel="stylesheet" type="text/css" href="C:\Clients\Chicago%20Dryer\Chilinc\Help%20System\Html_MS\helpsys.css ">While the compiled chm file yields the result: <link rel="stylesheet" type="text/css" href="@helpsys.css "> if I parse and if I do not parse: <link rel="stylesheet" type="text/css" href="@MSITStore:C:%5CChiApp%5Chelpsys.chm::/Topic.htmhelpsys.css "> Here's the code--(note: to protect confidentiality, I've changed the specific names)<script type=text/javascript>var strStart, strWhere, strEnd, strAll, strSlash, intLast;//set first part of link elementstrStart='link rel="stylesheet" type="text/css" href="';//set last part of link elementstrEnd=' ">';//set slash stringstrSlash ="\\";//determine location of last backslashintLast=location.pathname.lastIndexOf (strSlash) +1;//parse pathname and append help filenamestrWhere= location.pathname.substring (1, intLast) + "helpsys.css";//build complete link elementstrAll=strStart + strWhere + strEnd;//write link elementdocument.write(strAll)</script>Help!!!!!!!!
  17. I have a different problem...I want to dynamically assign the link tag using a variable to specify the location of the style sheet. This is a reference to my post of 4-12.
  18. Thanks, that is exactly what I did but what I figured out last night is that the path is the problem. I have no guarantee that the help system will be installed where I specify.I know I can get the path within a javascrip using this:var where;where=location.pathname + "helpsys.css";What I am trying to figure out is how to dynamically write a link tag to the head section when the document loads without affecting the rest of the document.Any suggestions would be greatly appreciated.
  19. I am developing compiled html help and have specified list-style images for the ul tag.When I compile the file, they display fine on my system but when I transfer the file over to another system, the standard bullets display, but not always correctly.I am also trying to automatically specify the alpha style for the 2nd level ol tag with the same results.I have tried including the files (they are tiny gifs) in the hhp file but no help.Any thoughts?
  • Create New...