575 Posted Topics
Re: XSLT processors generally use SAX and DOM as the core parser and RAM organisation method respectively. SAX is a very low-level XML-to-event-chain parser, and DOM is just a list of interconnected nodes. XSLT is a definition language that can sit on top of that, controlling the process of turning an … | |
Re: Make sure that you don't call functions to modify the DOM for elements that have not yet been finished. That is, minimize the use of inline calls to JavaScript functions that attempt to modify the document. You should put all calls to functions that use code like document.createElement(); or [object].appendChild(); … | |
Re: you can't nest elements inside other element's attributes. what you'll need to do is either store the data in a variable and then use shorthand variable syntax in the attribute, or use the <xsl:attribute> tag. Method #1 (by storing variables) [code] <xsl:variable name="winWidth"><xsl:value-of select='imagesize/@width'/></xsl:variable> <xsl:variable name="winHeight"><xsl:value-of select='imagesize/@height'/></xsl:variable> <a href="#" onmouseover="zoom('{$winWidth}','{$winHeight}','logo','in')" … | |
Re: [quote]My question, is there any way to protect my idea, like, to have it patented?[/quote] Yes and no. Firstly, it depends on your local jurisdiction; in America, patents can cover very general ideas, in the UK they can only cover certain things; with exceptions including computer software and mathematic methods. … | |
Re: [url]http://www.w3.org/TR/css3-hyperlinks/[/url] god only knows which browsers are using CSS3 yet; and even then, I wouldn't rely on it working until everyone's upgraded all of their browsers. I stick with IE6; and I have no plans to change that on dev workstations until it isn't the most common browser for users... | |
Re: I see the main bar on the left looking a bit strange using Opera 9 under Linux Mandrake. The picture attached shows how I see that region. I can't really help you with hacks, But I'd advise the use of tables for tabular parts of a layout =P. Is that … | |
Re: you can't do it automatically. (well, you can't do it automatically without instructing your server [or some javascript] how to do it automatically) if your pages are all static, and there is strictly one category for each page, then you'll have to make each page with a slightly different link … | |
Re: try: [code] HTTP/1.1 200 OK Server: XXXXX Accept-Ranges: bytes Content-length: 328 Connection: close Content-type: text/html; charset=UTF-8 [/code] | |
Re: floating is calculated top-down: [code] <b></b> <a style="float:left;"></a> (from left-right/top-down, b will always come first) [/code] [code] <a style="float:left;"></a> <b></b> (from left-right/top-down, a will always come first) [/code] if you want your navbar div to always be in the top left area, place its code before the main div code. | |
Re: the 'integrity' is only verified when trying to talk back to a webpage from js. there's no way to stop someone changing the implementation of a cached javascript file associated with your webpage, and you should plan and design with that in mind. you can prepend 'Cache-Control:NO-CACHE' to the HTTP … | |
Re: They'll both be equally easy and difficult to learn. As of PHP 4 (I haven't used 5 yet); you'll find JavaScript is a much better implemented and thus much more intuitive language. They both do different things though. For 'live' events on a page (things that change the HTML document … | |
Re: you can't create an Ajax application in PHP. You can have an Ajax application served through a PHP process, but Ajax is 'Asynchronous Javascript And X(h)tml'. Asking how you make one is like asking how you make an HTML page. Big question, and you only want one part of the … | |
Re: Where, or if you prefer when, is this code executed? To be precise, what event* do you use to execute the function? I ask that because, (I'll go out on a limb here) the code may be being executed [B]as[/B] the page loads, but (perhaps) the script can only function … | |
Re: hm... i haven't used IE7 very much, and I don't use it home or I'd check that out... but, try something even more simple: [code] <html> <body onload="alert('Javascript is functioning correctly');"> </body> </html> [/code] if that doesn't work, then JS may be disabled... there is an option to disable it, … | |
Re: you could also serve RSS to your users.. but serving RSS to humans is only really of benefit if your site publishes important information frequently, and if people are sufficiently interested in that information. you can use RSS sort of like textual radio: if my desktop RSS aggregator is listening … | |
Re: you shouldn't access the response text until it is 'there', what you should do is either wait for the request to reach the ready state 4 (best achieved by using an event listener), or set the request to syncronous, by setting the last argument in an 'open' method to false: … | |
Re: [B]XML/XSLT[/B] I guess XML isn't a language, and XSLT doesn't have to be, but this is certainly programmatic. It requires an input XML file and produces an HTML output file with the numbers one to ten separated by line breaks. The elements in the XML input file are irrelevant, as … | |
hey all, I've never been in this forum before; but then I've only just got into using my Linux PC. I'm using Mandrake with mostly KDE sessions, and I'm having a bit of trouble figuring out how to do something that seems simple... I have only got old(er) web browsers … | |
Re: are you 'skinning' your myspace profile or emulating myspace? if you're skinning your profile page, it'll take more time and effort than just making your own website, or using a profile site that's more customizable. myspace is horrible to customize. it's not easy to do for one, and more importantly, … | |
Re: You can run a small webserver like xampp; [url]http://www.apachefriends.org/en/xampp.html[/url]. It will support an ActivePerl integration in Windows, and their site says it works in Windows 98. You don't need to connect it to the Internet; just run the xampp_start program and then all pages in the xampp/htdocs directory will be … | |
Re: [quote]However div tags etc. with CSS were made especially for web page layouts[/quote] Apparently so... But they don't do some things that tables do... importantly they don't really have a logical relationship to their hierachal siblings, (and sometimes even their parents/children). Tables are better for certain [B]elements[/B] of layouts; and … | |
Re: you can do a search like this: [code] site:http://yourdomain.tld cabbage [/code] to search for all instances of 'cabbage' in your indexed pages... or leave off the search term to just find all of your indexed pages.. as for keywords, i find these two sites are good for 'honing' your keywords: … | |
Re: I just advised someone to try that out (XAMPP)... I've never had problems with it, but I never used it all that much... What are the specific problems with XAMPP? It's quite a 'light' distribution lets say, but it seems to do what it says it does... | |
Re: It's possible to put hooks into almost anything to do almost anything... But if your intended system is to be really customised, you may be better off buying or having something produced to meet your exact requirements. Integrating a payment system into a forum probably wouldn't be too challenging; vBulletin … | |
In certain cases, it's correct for my app to die if it encounters a potentially dangerous condition... I'm working on a more detailed error reporting system, and among the things I want to list are; the object class that threw the error, and the method that threw the error. At … | |
Re: O_o maybe javascript doesn't do what you think it does... or maybe that's too incomplete a code snippet to see what your trying to do. forms.question[1] doesn't look like a DOM object reference.. and it wont neccessarily relate to any input element(s) on your HTML page... what is the HTML … | |
Re: If you code with the intention of splitting functions accross servers, you won't find it as difficult to split a site... Spreading things out adds a security risk unless you're carefull, but somethings don't matter so much... Images on a separate server seems quite nice, maybe even cacheable pages on … | |
Re: you'll want to use a form, and some inputs: [url]http://www.w3.org/TR/html4/interact/forms.html[/url] [url]http://www.cs.tut.fi/~jkorpela/forms/cgic.html[/url] as for a space in text, i'm guessing you don't mean a line break because you're using them (<br/>)... If you put alot of spaces, HTML converts them into one space, so use an entity: for a non … | |
Re: SQL for a single vote! :| Use a single text file, or a text file for each color. You could do that in PHP, Perl, ASP, etc. But definately: no way without some script sitting on your server. Is this like, a school/college/university question? If so, they're certainly raising the … | |
Re: descriptive urls are beneficial for more than just SEO... it's quite common to use PHP or otherwise to serve up pages by an ID... personally, I don't like that. methinks a good folder hierachy is something to aim for... if each folder has a short, meaningful name, it means you … | |
Re: unless you provide at least a sniff more information, even some conjecture will be a waste of time. ![]() | |
Re: [B]1 hour! [/B]never in my admitadly short life have I encountered a website that spent an hour loading an object (dynamically created or otherwise)... are you sure that a request->1 hour wait->response system is the correct idea? if the PDF contains time-related data, perhaps it would be better to click … | |
Re: 100% height doesn't really mean anything in standards compatible mode... (XHTML Transitional is one of those modes).. It means 100% of the parent object height... So if the parent object ( a body element) has no height (the height of a body element is usually the height of its contents), … | |
Re: Hmm.. Conventionally, your document root folder (i.e. the folder that is addressed by the domain [url]http://www.dc-pc.org[/url]) is one level underneath the folder that you have ftp access to. Usually that folder is called something like "public_html" or "htdocs"... The folder above that gives you an extra space to store things … | |
Re: [quote]As far as the cookies go, that wouldn't work, because cookies are sent to the user from the server (with the understanding that the end user is not supposed to be able to modify the contents of them).[/quote] You can set cookies anytime using JavaScript. you can even set a … | |
Re: I don't like HTML as it stands because it's so... static. I never really got into HTML because of that aspect alone. I like things to be very flexible, and very abstract. I like to establish a set of rules, and have things obey those rules. I like website pages … | |
Re: or PHP ^_- or SSI(ServerSideIncludes/SHTML). if it's just a static header, I'd probably use SSI | |
Re: that code is actually not too bad, i had a quick look at it yesterday... it's more secure than just "put a javascript index infront of private files" it works because no outsider knows the filename of the private file: and the encrypted password is used in the name of … | |
Re: well... it depends on your mailbox format... on my server, an "inbox" is stored in a single file (every new message is appended to the end of that file). and each of my "official" inboxes has its own file... to make head and/or tail of that, i'd have to read … | |
![]() | Re: I study Computing with Games. At the moment my courses are: -Computer Programming -Multimedia Games Development -Networking, Security and Computer Systems -3D Animation So, for the most part, I study actively/practically. I use the Internet to research anything I don't know... And most of my courses are totally coursework based, … |
Re: you can't really "stop" people taking content that you put out on the web, at least not by software... even if you use javascript to protect your images, there's nothing to stop a theif disabling javascript, or connecting to your site using a filesystem client rather than a browser. disabling … ![]() | |
Re: have you checked the IE7 security settings? I'm assuming "SESSION" is represented by cookies... IE7 has some pretty funky cookie rules... | |
Re: are you using the server as a "real" server or as a localhost testing server? with a localhost server, just peek into your httpd.conf file, and set the "Listen" value to something else on 127.0.0.1... (and then restart apache) I was installing apache, and ended up with 3 instances of … | |
Re: it should only show up if you access an image file by a direct URL to the image itself: [inlinecode]http://yourdomain.tld/image.png[/inlinecode], you get a funny lil square with some arrows and a "thing" in the opposite corner aswell. that's MSIE's standard way of dealing with image-type responses. Would you rather it … ![]() | |
Re: [quote]but it is highly unlikely they can program computers.[/quote] I wouldn't be so sure! There's a device in development that can interface with a human brain (motor control area), and someone whos paralysed (or just interested in the idea) can move a mouse around and select things. With a bit … | |
Re: which event do you use to draw? and does your PictureBox use AutoRedraw or do you manually refresh it? and which version of VB are you using? | |
What kind of music do "geeks" listen to, while performing their geeky duties? As a half-geek, I prefer rolling trancey bass-like techno-esque outings by bands such as the Prodigy, and hella-hardcore pulse techno like Angerfist. However, I may be caught enjoying a bit of evokative ultra-cheese pop, by the likes … | |
Re: put the "image" in another table row, at the same cell (column) position of the navigation bar. set the vertical-align of that cell to "bottom" either by CSS or an inline style (i.e. "vertical-align:bottom;"). Adjust colspan and rowspan in other cells accordingly. Alternatevely; set the image style to "position:absolute;bottom:0px;", and … | |
Re: there are specific "hacks" and general hack methods, but needing to hack is often a sign of a deeper underlying issue. do you use a doctype? (some) problems with CSS can be solved by using an up-to-date document type specification... if something looks ok in Firefox, Opera and the like, … | |
Re: create a public/global variable called "stopped", set it to false when you start the loop. inside the loop put: [code] if(stopped){ break; } [/code] then when you press "cancel" set the stopped variable to true. ![]() |
The End.