Jump to content

Skemcin

Members
  • Posts

    2,684
  • Joined

  • Last visited

Everything posted by Skemcin

  1. If you posted here, you might find this intersting:http://w3schools.invisionzone.com/index.php?showtopic=456
  2. Skemcin

    html 4

    First, I'd like to welcome you to the w3schools discussion board. Myself, the other moderators and members of the discussion board cannot officially speak on behalf of the w3schools.com owners. But what I can say in reply to your questions is that http://www.w3.org/ has the official word. As of right now, they are recommending HTML 4.0 and XHTML 1.0 - with XHTML 2.0 in the works.Since XHTML is going to replace HTML, I would recommend learning XHTML. For the most part, the difference is a matter of depricated tags and syntax. XHTML is much more strict. This link:http://w3schools.com/tagsis a good reference to understand what tags you should get used to and which could being to use less.All in all, HTML 4.0 is the official word followed with an asterix that says here come XHTML 1.0.Hope this helps.
  3. Welcome to the forums. Feel free to post your questions as I'm sure there will be someone to help out.
  4. add this top your CSS:p {margin:0px;padding0px;}You might want to play with margin and padding in your divs as well. When you have nested tags and you don't define margin and padding, things can get weird since the nested area is not 200px anymore. In this case, it seems that the <p> tag top margin is jacking it up.
  5. Skemcin

    CGI Help

    Image uploading is based on two things - the absolute path of it on the file on the server and its location within a website.To clarify what I mean you need to understand the a file on a web server is referenced by the server path:x:\inetpub\wwwroot\mysite\xxxxxx.xxxNow that, naturally, will be stored in a location that makes it accessible by a URL:http://www.mysite.com/xxxxxx.xxxOne more thing to understand is that when you upload a file, your application has to define where to put the file (ie. x:\inetpub\wwwroot\mysite\xxxxxx.xxx). A server will typically store that file in a temp directory until it has fully uploaded the file.So, to address your problem, you could be faced with one of the following situations.a.) the file is never uploadedb.) the file is uploaded to the temp folder but never moved to the live folderc.) your host could be set up to refuse this capability.To troubleshoot, FTP into your site (unless its local) and check to see if the file exists in the target location. If not, check to see if it made it into the temporary folder (which you may or may not have access to). Finally, check to make sure that your application has read, write, delete priviledges on the server - if not you won't be able to do anything.Hope this helps.
  6. Skemcin

    Need Help with XUL

    Yes I'm sure. Firefox is a Mozilla based browser which is why it worked fine. As I said, with the exception of Mozilla based browsers, you will need a plug-in for XUL to work.
  7. Skemcin

    Need Help with XUL

    Try these two:http://xulplanet.com/tutorials/xultu/http://xulplanet.com/tutorials/xulapp/But be forewarned that with the exception of Mozilla based browsers, a user will need to download a plugin to view the pages that its used on.
  8. Skemcin

    XML,XSL

    In XML, attributes are not really supposed to be used as data that is intended to be extracted - they really more like side notes. If you are intending to extract the information, especially multiple peices of it, then you should consider reformating the XML.Something like this would work: <parent_node><recipient> <number>1</number> <customer_number>12345<customer_number></recipient><recipient> <number>2</number> <customer_number>23456<customer_number></recipient><recipient> <number>3</number> <customer_number>34567<customer_number></recipient></parent_node> Two other suggestions:a.) use lower case all the time - since XML is case sensitive, take the headache out of one area to troubleshoot - I notice your opening <recipients> tag was proper case but your closing one was not.b.) use singular tense names - it is another way to reduce troubleshooting - plus you are really only speaking about ONE record at a time.Hope this helps.Oh, this won't be much help if you do not have control of the XML feed obviously.
  9. lol - well Kcarson, I wouldn't want to disappoint you . . . I've updated my sig.
  10. We have already put in a suggest to kaijim to ad an Admin/Moderator topic category. Once that happens, I think our presence will seem more seemless that it does now since it will give us an arena to have conversations amongst ourselves in the forum interface rather than through PM.
  11. I think we need to use the forum by participating in it and shy away from reposessing it from kaijim. I think there are a lot of conversations that are focusing "do this to the forum" or "we need this for the forum" when its still very new to the visitors who frequent w3schools.com.I'd suggest holding off on all the bells and whistles until we can prove that they are truly needed.
  12. Skemcin

    linking

    The best way to have a file open automatically when a page loads is to use the meta refresh tag: <meta http-equiv="refresh" content="2;url=xxxxxx.xxx"> This will ensure you that you won't have to worry about popup blockers and it won't waste a browser window since the adobe plug in should open a separete window since its not being linked to directly.
  13. irregardless of whether or not javascript can do this, it is pointless. Javascript is a client side scripting language. This means that everything that is programmed can be viewed on the client's PC.The only security a javascript password offers only goes as far as whether or not I click "View Source".But I could be missing something . . .
  14. Nope. Everyform is different. Every form posts to its target - so if I am pulling a page into my page then when it posts to the target it is posting outside of my page - thus removing all control I would have.What I am doing is using a server-side script that basically tells the server to get this page, and put it entire contents in a variable. I then simply dump the vairable onto my page. On the first draft, the links when to the site that was pulled in. This was possible because I defined a resolve attribute which read the file and changed all the links to victim page. The second/current version, I am replacing all "href=" calls with my url and then "?goto=" so that the links posts back to my site appended with the original URL from the victim site. Pretty clever if I don't say so myself. And that is why javascripts will break.But if I do that with a form "action" attribute, then the page will post back to my site where it is impossible to process the information like the target page intended. So, here is where I use the same set up descibed above, but instead of grabbing the victim page, I grab the action page it posts to while passing the form attributes it expects. When that information is sent back and dumped out - I will have essentially logged my server into your site versus your browsers into your site (which is the problem witht he firewall).Sorry its not as simple as it seems.
  15. It would take some work. For instance, I would need the page to which the form is being posted and the fields it is passing in. Now, we coudl start with a form (like I do now) that would ask for the target page and the username and password that would be submitted to it. That way I would be able to dynamically post to any page and pull back the results as I do now. The problem is that most forms just aren't built that simple any more. But, I can make something very simple where you would supply the target url, the two field names it requires and the values you want to pass. We'll see how that goes.I use Cold Fusion in all the work that I do. It is the easiest scripting language to learn as it is tag based - looks like HTML but every tag is prefixed with "cf". Here is a sample of some source code:<table><cfquery name="GetImages" datasource="#sitedsn#"> SELECT * FROM xxxxxx_images WHERE xxxxxxID = #GetCases.xxxxxxID#</cfquery><table width="100%"><tr><td class="rowlabel" align="center">IMAGES<br></td></tr><tr><td><cfif #GetImages.recordcount# EQ 0>No images are currently on record for this permit.<br><cfelse>There <cfif #GetImages.recordcount# EQ 1>is<cfelse>are</cfif> #GetImages.recordcount# image<cfif #GetImages.recordcount# NEQ 1>s</cfif> currently uploaded for this item. Click on each image to enlarge it.<br></cfif><br><br></td></tr><cfif #GetImages.recordcount# NEQ 0><tr><td> <table width="100%"> <tr><cfloop query="GetImages"><cfif #imagename# is not ""><td class="smallestfont" align="center"> <a href="java script: Info('#urlused#image-view.cfm?imagename=#imagename#');"><img src="#urlused#uploads/#imagename#" width="200" height="125" border="0" alt="#imagename#"></a><br> <cfif #session.access_permits# IS "modify"> <a href="java script: Info('#urlused#image-view.cfm?imagename=#imagename#');"><strong>VIEW</strong></a> | <a href="java script: Info('#urlused#site-admin/z-images-edit.cfm?addressID=#addressID#&zoningID=#url.zoningID#&imageID=#imageID####imageID#');"><strong>EDIT</strong></a><br> </cfif> <br> </td><cfif GetImages.currentrow mod 3 is 0></tr> <tr></cfif></cfif></cfloop></tr> </table> <table width="80%" align="center"> <tr><td class="smallfont" valign="top"> <em><strong>NOTE</strong>:</em><br> </td><td class="smallfont" valign="top"> <em>Imags may not appear in proportion to actual size - click the image to display the image at its actual size and in a seperate window.</em><br> </td></tr> </table><br><br></td></tr></cfif></table> What is great about Cold Fusion is that the scripting language is exclusive from the HTML - so it is always easy to see one from the other. Unlike asp and php where your HTML is blended in your scripts and even inside the code.
  16. I just have to reiterate my point - if I can see it I can capture it - plain and simple.Even if you found a way to lock down my PC, I could still send my monitor image to another device that can capture the image.Don't waste your time on this - if someone wants your logo they will get it.
  17. I'll need the URL to the form - PM it to me if you prefer it not be displayed in this open forum. I'm not usre how deep I can get you inside the CP - it will depend on a number of things - including how the CP is programmed and how their server is configured. But I'll take a stab.
  18. try that:http://www.iribbit.net/_files/chocolate570.cfmlimitations:a.) this cannot handle javascript links - I'm only parsing the href tagb.) this will not post forms either - but it can be done - much more code though
  19. Chocolate570, you'll have to elaborate on the functionality you are looking for. In one sentence you say which seems to contradict so the answer to this question would be no!:)The example I gave you should resolve and preserver the url for the site it captures. If you are trying a view sites that aren't post them here.However, if you want me to log you into a site and cloak it as it was being posted from a different server - then thats different story. I can easily do it, but there will be some limitations as to which site(s) it would be able to post to.
  20. Personally, its a lost cause. Give me any website and I can get an image off of it - I don't care what script you put on the page - if I can see it I can grab it. Enforcing your copyright is the only protection you have. :)But, if you insist:<script><!-- Beginfunction right(e) {var msg = "****** your message ******";if (navigator.appName == 'Netscape' && e.which == 3) {alert(msg);return false;}if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {alert(msg);return false;}else return true;}function trap() { if(document.images) { for(i=0;i<document.images.length;i++) { document.images[i].onmousedown = right; document.images[i].onmouseup = right; } } }// End --></script><body onload="trap()")> P.S. Not updated for firefox and can still be by-passed pretty easily (great for IE)
  21. Skemcin

    HTML forms?

    I would not advise using MS Access for any web based application. Don't get me wrong it will work, even for very small applications like this one seems to be. Access was simply not designed for web use. I'd suggest using MySQL or MS SQL reagardless of the platform.
  22. So your entire navigation resides in a single java script:http://briansplace.fcpages.com/navigation.jsinteresting . . .First, I'd take alook at your site in other browsers - the site doesn't seem to render properly in Firefox.Second, I have to ask what you overall intent is. By using the javascript in the context you have, you have made it so that you only need to change one file if the content of your navigation changes. There are other was to do this depending on your server environment. So, is your intent to have ONE file coded for your navigation that is then "included" on any page that you wish to call it on?Third, Don;t use tables unless you have to. You navigation can be generated without the use of tables since each item is simply on a new line. If you want the little bullet point but don't want the indenting that <ul> and <ol> have by default, then apply a "style" to then and adjust the margin, padding, and line-height as needed.Hope this helps.P.S. Welcome to the forums.
  23. as long as your design can accommodate the stretch, then traditionally, it was as simple as laying your site out in a <table wdith=100%">. All your <td> would then be defined as percentages - that is what the site you mentioned is doing.just understand that somewhere in their design they have a column that is specifically design to jus tbe a place holder - it is the one that absorbs all the empty space - typically a 1 pixel wide image that also doubles as teh bacgounrd image for that table cell.Here is a site that (once you view the source) you might make heads-n-tails of its rather simple (but crude) constuction:http://www.sdiweb.com/
  24. you don't mean something like this:http://www.iribbit.net/_files/chocolate570.cfmdo you?
  25. Skemcin

    Where are you?

    Horst is not in Germany. Its a very small town in the southern tip of the Netherlands. - in the middle of the part that sticks out into Belgium.
×
×
  • Create New...