575 Posted Topics

Member Avatar for hanifa

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 …

Member Avatar for MattEvans
0
107
Member Avatar for XtremeCamera

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(); …

Member Avatar for XtremeCamera
0
119
Member Avatar for fray

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')" …

Member Avatar for MattEvans
0
94
Member Avatar for Cudmore

[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. …

Member Avatar for jwenting
0
112
Member Avatar for MDGM

[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...

Member Avatar for MDGM
-1
382
Member Avatar for jpl80

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 …

Member Avatar for jpl80
0
124
Member Avatar for wurn

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 …

Member Avatar for wurn
0
93
Member Avatar for henry_s

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]

Member Avatar for MattEvans
0
67
Member Avatar for kained

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.

Member Avatar for MattEvans
0
145
Member Avatar for NubKnacker

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 …

Member Avatar for MattEvans
0
54
Member Avatar for danizzil14

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 …

Member Avatar for MattEvans
0
82
Member Avatar for tetete

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 …

Member Avatar for MattEvans
0
85
Member Avatar for pojke

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 …

Member Avatar for pojke
0
118
Member Avatar for linux

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, …

Member Avatar for asmqb
0
109
Member Avatar for irfan.motiwala
Re: Rss

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 …

Member Avatar for MattEvans
0
74
Member Avatar for khusani

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: …

Member Avatar for nemo5
0
173
Member Avatar for Jessehk

[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 …

Member Avatar for Maidomax
0
990
Member Avatar for MattEvans

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 …

Member Avatar for BillBrown
0
135
Member Avatar for Kurai Okami

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, …

Member Avatar for roryt
0
189
Member Avatar for Mushy-pea

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 …

Member Avatar for MattEvans
0
329
Member Avatar for mahe4us

[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 …

Member Avatar for roryt
0
137
Member Avatar for roryt

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: …

Member Avatar for roryt
0
96
Member Avatar for dss
Re: Cgi

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

Member Avatar for KevinADC
0
299
Member Avatar for vip3r

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 …

Member Avatar for MattEvans
0
193
Member Avatar for MattEvans

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 …

Member Avatar for MattEvans
0
195
Member Avatar for kaa_

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 …

Member Avatar for MattEvans
0
77
Member Avatar for berlin

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 …

Member Avatar for berlin
0
60
Member Avatar for newbie2c++

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: &nbsp; for a non …

Member Avatar for MattEvans
0
84
Member Avatar for spike29

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 …

Member Avatar for MattEvans
0
163
Member Avatar for Timra

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 …

Member Avatar for canadafred
0
83
Member Avatar for steven01

unless you provide at least a sniff more information, even some conjecture will be a waste of time.

Member Avatar for GreenDay2001
0
71
Member Avatar for danieltoril

[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 …

Member Avatar for AnonCSAddict
0
157
Member Avatar for Wreef

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), …

Member Avatar for blakisa
0
168
Member Avatar for Day Brown

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 …

Member Avatar for Day Brown
0
98
Member Avatar for DaMaster121

[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 …

Member Avatar for FC Jamison
0
101
Member Avatar for KennyZ

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 …

Member Avatar for FC Jamison
0
312
Member Avatar for HandSome

or PHP ^_- or SSI(ServerSideIncludes/SHTML). if it's just a static header, I'd probably use SSI

Member Avatar for FC Jamison
0
49
Member Avatar for MDGM

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 …

Member Avatar for MattEvans
0
117
Member Avatar for Dani

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 …

Member Avatar for MattEvans
0
131
Member Avatar for GreenDay2001

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, …

Member Avatar for lol_hacker101
0
302
Member Avatar for Maples

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 …

Member Avatar for GreenDay2001
0
139
Member Avatar for FSNHosting

have you checked the IE7 security settings? I'm assuming "SESSION" is represented by cookies... IE7 has some pretty funky cookie rules...

Member Avatar for digital-ether
0
78
Member Avatar for sr_burrus83

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 …

Member Avatar for MattEvans
0
90
Member Avatar for chunkmartinez

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 …

Member Avatar for GreenDay2001
0
91
Member Avatar for anandarose

[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 …

Member Avatar for anandarose
0
309
Member Avatar for lab3tech

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?

Member Avatar for MattEvans
0
123
Member Avatar for MattEvans

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 …

Member Avatar for jbennet
1
169
Member Avatar for ForestTech

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 …

Member Avatar for ForestTech
0
90
Member Avatar for nschessnerd

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, …

Member Avatar for nschessnerd
0
79
Member Avatar for poseoff

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.

Member Avatar for Dukane
0
147

The End.